code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/** * Created by jszhou on 2017/3/27. */ /** * 格式化日期为YYYY-MM-DD * @param {Date} dateObject * @return {string} */ function getFormatDate(dateObject) { let year = dateObject.getFullYear(); let month = dateObject.getMonth() + 1 < 10 ? ('0' + (dateObject.getMonth() + 1)) : (dateObject.getMonth() + 1); let date ...
jserz/feget
modules/Common/utils/getFormatDate.js
JavaScript
mit
490
import { connect } from 'react-redux'; import selectChapters from '../../store/selectors/chaptersSelector'; import selectActiveChapter from '../../store/selectors/activeChapterSelector'; import Chapters from './Chapters'; function mapStatetoProps(state) { return { chapters: selectChapters(state), darkmode: s...
patrickfatrick/wonderland
src/components/Chapters/ChaptersContainer.js
JavaScript
mit
561
'use strict'; $(document).ready(function() { Handlebars.registerHelper("debug", function(optionalValue) { console.log("Current Context"); console.log("===================="); console.log(this); if (optionalValue) { console.log("Value"); console.log("===================="); console.log(optionalVal...
dapangchi/stampcircles
texigniter/views/app.js
JavaScript
mit
1,232
var template = require('lodash.template'); var reEscape = require('lodash._reescape'); var reEvaluate = require('lodash._reevaluate'); var reInterpolate = require('lodash._reinterpolate'); var forcedSettings = { escape: reEscape, evaluate: reEvaluate, interpolate: reInterpolate }; module.exports = functio...
startinggravity/lean-drupal
node_modules/gulp/node_modules/gulp-util/lib/template.js
JavaScript
mit
646
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var DeviceSignalCellularConnectedNoInternet2Bar = React.createClass({ displayName: 'DeviceSignalCellularConnectedNoInternet2Bar', render: function render() { return React.createElement( SvgIcon, ...
jinzhubaofu/melon-material-icons
icons/device/signal-cellular-connected-no-internet-2-bar.js
JavaScript
mit
594
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-...
Kagami/material-ui
packages/material-ui-icons/src/Brightness5Sharp.js
JavaScript
mit
393
let ExampleModule = require('../src/JavaScriptSkeleton.js'); describe("JavaScriptSkeleton", function () { it("can greet the world", function () { let em = new ExampleModule(); expect(em.hello()).toEqual("Hello friend."); }); });
FunTimeCoding/java-script-skeleton
spec/JavaScriptSkeletonSpec.js
JavaScript
mit
254
'use strict'; /* eslint-disable no-empty-function, no-unused-vars */ /** * Every received message will be sent to all clients that are connected to the instance. * Client A, B and C are connected to a WebSocket server instance with this plugin. * When A sends a message then it will be sent to B and C, but not back...
cschuller/yak-js
server/plugins/broadcast.plugin.js
JavaScript
mit
2,079
export default Example; function Example(headers, data) { this.headers = headers; this.data = data; // this.test = { // passed: true, // status: 'passed', // assertions: [], // log: [], // error: null // }; }
jakedetels/easy-bdd
lib/browser/models/Example.js
JavaScript
mit
241
/** * Imports */ import {component, element} from 'vdux' import Grid from 'components/Grid' import {Block} from 'vdux-ui' /** * <Edit Grid/> */ export default component({ render ({props, actions, children}) { const { clickHandler, color = 'black', size = '500px', hideAnimal, my = '...
danleavitt0/artbot
lib/components/EditLevel/EditLevel.js
JavaScript
mit
1,049
define([ 'jquery', '../utils', '../keys' ], function ($, Utils, KEYS) { function BaseSelection ($element, options) { this.$element = $element; this.options = options; BaseSelection.__super__.constructor.call(this); } Utils.Extend(BaseSelection, Utils.Observable); BaseSelection.prototype.ren...
cnascimento/AdminLTE
bower_components/select2/src/js/select2/selection/base.js
JavaScript
mit
4,248
/* global define */ define(['jquery', 'orotranslation/js/translator', 'orolocale/js/locale-settings', 'jquery-ui-timepicker'], function($, __, localeSettings) { 'use strict'; var locale = localeSettings.locale; $.timepicker.regional[locale] = { // Default regional settings currentText: __('Now'), ...
mszajner/platform
src/Oro/Bundle/UIBundle/Resources/public/js/jquery-ui-timepicker-l10n.js
JavaScript
mit
1,270
function panel(){ ctx.fillStyle = 'rgb(0,0,0)'; ctx.font = "10px serif"; ctx.fillText("y-Velocity: " + charictar.vY, scrWidth - 100, 10); ctx.fillText("y position: " + charictar.y, scrWidth - 100, 20); ctx.fillText("scrHeight: " + scrHeight/2, scrWidth - 100, 30); ctx.fillText("up key: " + keyPress[3...
AdamFraserGitHub/adamfrasergithub.github.io
Platformer/BlockTest/JS/debugPanel.js
JavaScript
mit
514
// Hungarian jQuery.extend(jQuery.fn.pickadate.defaults, { monthsFull: [ 'január', 'február', 'március', 'aprilis', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december' ], monthsShort: [ 'jan', 'febr', 'márc', 'apr', 'máj', 'jún', 'júl', 'aug', 'szept', 'okt', 'nov', 'dec' ...
cloggy45/Memomail
www/Remind-Me/app/View/Themed/Cakestrap/webroot/js/libs/lib/translations/hu_HU.js
JavaScript
mit
616
/* * Copyright 2013 Palantir Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
MichaelBowenSc/about-me
node_modules/tsconfig-lint/node_modules/tslint/build/rules/noUnreachableRule.js
JavaScript
mit
3,608
import Ember from 'ember'; import PropertyUpdater from '../../mixins/d3-property-updater'; const { on, observer } = Ember; export default Ember.Object.extend(PropertyUpdater, { init() { this.set('layout', d3.layout.pie()); }, valueChanged: on('init', observer('value', function() { this.updateProperty('...
BryanHunt/ember-d3-components
addon/utils/layouts/d3-pie-layout.js
JavaScript
mit
820
var env = require('minimist')(process.argv.slice(2)), gulp = require('gulp'), plumber = require('gulp-plumber'), browserSync = require('browser-sync'), stylus = require('gulp-stylus'), uglify = require('gulp-uglify'), concat = require('gulp-concat'), jeet = require('jeet'...
cookingteach/cookingteach.github.io
gulpfile.js
JavaScript
mit
2,534
import React from 'react' import Icon from 'react-icon-base' const MdLoyalty = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.8 25.5c0.7-0.8 1.2-1.8 1.2-3 0-2.3-1.9-4.1-4.1-4.1-1.2 0-2.2 0.4-3 1.1l-1.3 1.3-1.1-1.3c-0.8-0.8-1.8-1.1-3-1.1-2.3 0-4.1 1.8-4.1 4.1 0 1.2 0.4 2.2 1.1 3l7.1 7.1z ...
bengimbel/Solstice-React-Contacts-Project
node_modules/react-icons/md/loyalty.js
JavaScript
mit
643
import fs from "node:fs"; import readline from "node:readline"; import chalk from "chalk"; import { execa } from "execa"; import stringWidth from "string-width"; import fetch from "node-fetch"; import outdent from "outdent"; import getFormattedDate from "./get-formatted-date.js"; readline.emitKeypressEvents(process.st...
rattrayalex/prettier
scripts/release/utils.js
JavaScript
mit
2,995
hljs.registerLanguage("actionscript",(()=>{"use strict";return e=>({ name:"ActionScript",aliases:["as"],keywords:{ keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace nativ...
cdnjs/cdnjs
ajax/libs/highlight.js/10.4.1/languages/actionscript.min.js
JavaScript
mit
1,331
// Copyright IBM Corp. 2013,2016. All Rights Reserved. // Node module: loopback-datasource-juggler // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT "use strict"; var g = require("strong-globalize")(); var util = require("util"); var extend = util._extend...
UnisonoInc/loopback-connector-dynamodb
lib/dao/validations.js
JavaScript
mit
27,097
'use strict'; let path = require('path'); let assert = require('yeoman-assert'); let helpers = require('yeoman-test'); describe('react-webpack:component', () => { const generatorComponent = path.join(__dirname, '../../../generators/component'); describe('when using version 3 of the generator', () => { // L...
react-webpack-generators/generator-react-webpack
test/generators/component/indexTest.js
JavaScript
mit
18,033
(function() { 'use strict'; describe('user.client.service.user.js', function () { var $rootScope, User; beforeEach(module('users')); beforeEach(inject(function(_$rootScope_, _User_) { $rootScope = _$rootScope_; User = new _User_(); })); describe('UserAdmin resource', funct...
modern-mean/modern-mean-core
modules/users/tests/client/services/users.client.service.user.spec.js
JavaScript
mit
576
/*! * Jade - utils * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Convert interpolation in the given string to JavaScript. * * @param {String} str * @return {String} * @api private */ var interpolate = exports.interpolate = function(str){ return str.replace(/(\\)?([#!]){(...
surefire/surefirething.co.uk
node_modules/jade/lib/utils.js
JavaScript
mit
1,135
'use strict'; var _ = require('lodash'); var del = require('del'); var gulp = require('gulp'); var argv = require('minimist')(process.argv.slice(2)); var webpack = require('webpack'); var browserSync = require('browser-sync'); var htmlcompress = require('gulp-minify-html'); var gutil = require('gulp-util'); var gif = ...
Glimpse/Glimpse.Client.Prototype
_temp/hud/gulpfile.js
JavaScript
mit
3,461
WithDiscovery = function WithDiscovery(newDiscovery, fn) { var oldDiscovery = Cluster.discovery; Cluster.discovery = newDiscovery; fn(); Cluster.discovery = oldDiscovery; }; WithCluster = function WithCluster(newFields, fn) { var original = _.clone(Cluster); Cluster = _.extend(Cluster, newFields); fn(); ...
andrelohmann/cluster
tests/server/utils.js
JavaScript
mit
661
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.17/esri/copyright.txt for details. //>>built define("esri/dijit/metadata/types/gemini/base/DataDocumentType","dojo/_base/declare dojo/_base/lang dojo/has ./GeminiDocumentType ./DataRoot dojo/i18n!../../../nls/...
darklilium/Factigis_2
arcgis_js_api/library/3.17/3.17compact/esri/dijit/metadata/types/gemini/base/DataDocumentType.js
JavaScript
mit
721
/* * Gritter for jQuery * http://www.boedesign.com/ * * Copyright (c) 2009 Jordan Boesch * Dual licensed under the MIT and GPL licenses. * * Date: June 26, 2009 * Version: 1.0 */ jQuery(document).ready(function($){ /******************************************** * First, we'll define our ob...
niklas/Tirade
public/javascripts/jquery.gritter.js
JavaScript
mit
7,393
var fs = require("fs"); // Asynchronous read fs.readFile('data/input.txt', function (err, data) { if (err) { return console.error(err); } console.log("Asynchronous read1: " + data.toString()); }); // Synchronous read var data = fs.readFileSync('data/input.txt'); console.log("Synchronous read: " + data.toString()...
SrimalPriyanga/NodeJS-DemoApp
app/file_system.js
JavaScript
mit
2,241
angular.module('app.admin.add-version-asset-modal', []) .controller('AddVersionAssetModalController', ['$scope', 'DataService', '$uibModalInstance', 'versionName', function($scope, DataService, $uibModalInstance, versionName) { $scope.DataService = DataService; $scope.versionName = versionName; ...
toantk911/nec-release-server
assets/js/admin/add-version-asset-modal/add-version-asset-modal-controller.js
JavaScript
mit
772
var five = require("../lib/johnny-five.js"); var board = new five.Board(); board.on("ready", function() { var range = [0, 170]; var slider = new five.Sensor("A0"); var tilt = new five.Servo({ pin: 10, range: range }); slider.scale(range).on("slide", function() { // The slider's value will be s...
manorius/printing_with_node
node_modules/johnny-five/eg/slider-pan.js
JavaScript
mit
391
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import * as ReactDOM from 'react-dom'; import clsx from 'clsx'; import { elementTypeAcceptin...
cdnjs/cdnjs
ajax/libs/material-ui/4.12.3/es/ButtonBase/ButtonBase.js
JavaScript
mit
13,280
/******************************************************************************* * Copyright (c) 2016 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.ui/resources/WEB-CONTENT/js/widgets/ToolDetails.js
JavaScript
epl-1.0
4,865
Package.describe({ name: 'steedos:records-qhd', version: '0.0.10', summary: 'Steedos libraries', git: '' }); Package.onUse(function (api) { api.versionsFrom('1.0'); api.use('reactive-var'); api.use('reactive-dict'); api.use('coffeescript'); api.use('ecmascript'); api.use('random'); api.use('ddp'); api.use...
steedos/apps
packages/records-qhd/package.js
JavaScript
gpl-2.0
2,500
/** * Class name: custom-fields-meta.js * Author: David Rugendyke - david@ironcode.com.au * Platform: Mootools - no conflict mode just incase * A special date picker for custom fields with a number of custom fixes/additions */ var kontrol_custom_fields_meta_date; window.addEvent('domready', function() { // Only st...
subhadip-sahoo/wp-proejctAAC
wp-content/plugins/kontrol-developer-kit/app/modules/app/custom_fields/js/custom-fields-meta-date.js
JavaScript
gpl-2.0
996
/* Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ dojo._xdResourceLoaded(function(dojo, dijit, dojox){ return { defineResource: function(dojo, dijit, dojox){/*===== // dijit...
fedora-infra/packagedb
pkgdb/static/js/dijit/resources/_modules.xd.js
JavaScript
gpl-2.0
594
var group__sim__hal__kl43z4 = [ [ "FSL_SIM_SCGC_BIT", "group__sim__hal__kl43z4.html#ga0864794938afcfb3be1404fc0c46659b", null ], [ "clock_cop_src_kl43z4_t", "group__sim__hal__kl43z4.html#gaa67c8421716895366bc29ce54ba10c4f", [ [ "kClockCopSrcLpoClk", "group__sim__hal__kl43z4.html#ggaa67c8421716895366bc29ce...
wrh2/sputnik
Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__sim__hal__kl43z4.js
JavaScript
gpl-2.0
10,429
var listTotal; var currentTotal = 0; var searchResult = false; var isCache = false; var isroot=((repos.indexOf('github.com')==-1 && repos.indexOf('github.io')==-1)?false:true); function doSearch(q){ if(q){ window.history.pushState(null, '', (isroot?'':('/'+repos))+'/#!/search/'+q); search(q); } } function searc...
zynickLL/zynickll.github.io
javascripts/search.js
JavaScript
gpl-2.0
4,215
/* contains edit.js, layout-grid.js, processors.js */ function new_conditional_group(obj){ var id = obj.trigger.data('id'), lineid = 'cl' + Math.round(Math.random() * 18746582734), rowid = 'rw' + Math.round(Math.random() * 98347598345), group = [ { id : rowid, type : obj.trigger.data('type'), ...
brianjking/Caldera-Forms
assets/js/edit.js
JavaScript
gpl-2.0
69,773
var searchData= [ ['parallel_2ef90',['parallel.f90',['../db/d8f/parallel_8f90.html',1,'']]], ['param_5freader_2ec',['param_reader.c',['../d6/d68/param__reader_8c.html',1,'']]], ['parse_5fkernel_5fnames_2ef90',['parse_kernel_names.f90',['../d1/d74/parse__kernel__names_8f90.html',1,'']]], ['postprocess_5fpar_2ef9...
komatits/specfem3d_globe
doc/call_trees_of_the_source_code/html/search/files_c.js
JavaScript
gpl-2.0
1,896
(function ($) { /** * Only show links to report comments after the comment has been moused over. */ Drupal.behaviors.mollomReportComment = { showReportLink: function(e) { $(this).find('.mollom-flag').show(); }, hideReportLink: function(e) { if ($(this).find('.mollom-flag-reasons').length ==...
gchaix/ywp
sites/all/modules/mollom/mollom.flag.js
JavaScript
gpl-2.0
3,759
/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/NodeList-fx",["./query","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_1,_2,_...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojo/NodeList-fx.js
JavaScript
gpl-2.0
1,196
/// crmUi: Sundry UI helpers (function (angular, $, _) { var uidCount = 0; angular.module('crmUi', []) // example <div crm-ui-accordion crm-title="ts('My Title')" crm-collapsed="true">...content...</div> // WISHLIST: crmCollapsed should support two-way/continous binding .directive('crmUiAccordion', f...
AlannaBurke/animalrescue
sites/all/modules/contrib/civicrm/ang/crmUi.js
JavaScript
gpl-2.0
36,983
var group__lpuart__driver = [ [ "lpuart_dma_state_t", "group__lpuart__driver.html#structlpuart__dma__state__t", [ [ "isTxBusy", "group__lpuart__driver.html#a3a689e6b54fb17b7c5823cecb08b9a0e", null ], [ "isRxBusy", "group__lpuart__driver.html#a4239b25df7820ad2fbd40c017d151b90", null ], [ "isTxBlock...
wrh2/sputnik
Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__lpuart__driver.js
JavaScript
gpl-2.0
9,070
module.exports = function(grunt) { grunt.initConfig({ hub: { all: { src: ['../*/Gruntfile.js'], tasks: ['jshint'], }, }, jshint: { files: ['Gruntfile.js', 'tasks/**/*js'], options: { jshintrc: '.jshintrc' }, }, }); grunt.loadNpmTasks('grunt-contrib-jshint');...
jrodd32/mwux16
node_modules/grunt-hub/Gruntfile.js
JavaScript
gpl-2.0
397
/** * Register the Hogan compiler with MediaWiki. */ mw.mantle.template.registerCompiler( 'hogan', { /** * Registers a partial internally in the compiler. * Not used in Hogan compiler * * @method * @param {String} name Name of the template * @param {HandleBars.Template} partial */ registerPartial: fun...
dannypage/datum-club
extensions/Mantle/javascripts/common/templates/hogan.js
JavaScript
gpl-2.0
588
'use strict'; exports.__esModule = true; exports.default = tokenize; var _tokenizer = require('./tokenizer'); var _tokenizer2 = _interopRequireDefault(_tokenizer); var _entityParser = require('./entity-parser'); var _entityParser2 = _interopRequireDefault(_entityParser); var _html5NamedCharRefs = require('./html5...
TechEducationPlusPlus/infocourse
news/node_modules/linkifyjs/lib/simple-html-tokenizer/tokenize.js
JavaScript
gpl-2.0
694
$(window).load(function(){FusionCharts.ready(function () { var cpuGauge = new FusionCharts({ type: 'hlineargauge', renderAt: 'chart-container', id: 'cpu-linear-gauge', width: '400', height: '170', dataFormat: 'json', dataSource: { "chart": { ...
sguha-work/fiddletest
fiddles/Gauge/Trend-Point/Adding-trend-points-in-linear-gauge_206/demo.js
JavaScript
gpl-2.0
2,342
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ROLE/widget-store
src/main/drupal/sites/all/libraries/shindig2.5beta/features/src/test/javascript/features/embeddedexperiences/embedded_experiences_container_test.js
JavaScript
gpl-2.0
9,160
/* Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.secure.DOM"]){ //_hasResource checks added by build. Do not use _hasResource directly in your ...
fedora-infra/packagedb
pkgdb/static/js/dojox/secure/DOM.js
JavaScript
gpl-2.0
8,118
// +------------------------------------------------------------------+ // | ____ _ _ __ __ _ __ | // | / ___| |__ ___ ___| | __ | \/ | |/ / | // | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / | // | | |___| | | | __...
tomas-edwardsson/check_mk
web/htdocs/js/search.js
JavaScript
gpl-2.0
14,440
/** * External dependencies */ import { kebabCase } from 'lodash'; /** * Internal dependencies */ import { download } from './file'; /** * Export a reusable block as a JSON file. * * @param {number} id */ async function exportReusableBlock( id ) { const postType = await wp.apiFetch( { path: '/wp/v2/types/wp_...
rtCamp/rtbiz
vendor/redux/redux-templates/src/plugins/export/reusable.js
JavaScript
gpl-2.0
744
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL3$ ** Commercial License Usage ** Licensees holding valid commercia...
lucaspcamargo/qt3d
examples/qt3d/planets-qml/planets.js
JavaScript
gpl-2.0
6,590
var RegExps = { /* RegExp from https://gist.github.com/dperini/729294 * Modified to: * 1. Allow scheme-less URLs (e.g. kg.gg) - which will be handled * as http:// URLs by default. * 2. Support some other popular schemes (tftp, mailto, ws, data.). * 3. Accept URLs pointing to localhost and 1...
kgeorgiou/kurl
utils/RegExps.js
JavaScript
gpl-2.0
1,665
/** * Practice Session Service * @ngInject */ angular.module('flocs.practice') .factory('practiceService', function ($state, $timeout, $q, practiceDao, taskEnvironme...
effa/flocs
frontend/src/app/practice/practice.srv.js
JavaScript
gpl-2.0
6,879
var DbConfigPage = new Ext.Panel({ id : 'DbConfig_Page', layout : 'anchor', autoScroll : true, items : [ { ref: 'DbConfigForm_ID', xtype : 'DbConfigForm' } ], listeners : { 'show' : function() { this.DbConfigForm_ID.loadDataModel(); } } });
ezScrum/ezScrum
WebContent/javascript/ezScrumPage/DbConfigPage.js
JavaScript
gpl-2.0
262
/* ------------------------------------------------------------------------ prettyCheckboxes Developped By: Stephane Caron (http://www.no-margin-for-errors.com) Version: 1.1 ------------------------------------------------------------------------- */ jQuery.fn.prettyCheckboxes = function(settings) { settings ...
cheems77/nb
wp-content/plugins/simple-forum/resources/jscript/checkboxes/prettyCheckboxes-src.js
JavaScript
gpl-2.0
2,503
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any la...
immartian/musicoin
js/src/ui/GasPriceSelector/CustomTooltip/index.js
JavaScript
gpl-3.0
751
import Reflux from 'reflux'; import ApiRoutes from 'routing/ApiRoutes'; import fetch from 'logic/rest/FetchProvider'; import URLUtils from 'util/URLUtils'; import UserNotification from 'util/UserNotification'; import ActionsProvider from 'injection/ActionsProvider'; const AlertsActions = ActionsProvider.getActions('...
pdepaepe/graylog2-server
graylog2-web-interface/src/stores/alerts/AlertsStore.js
JavaScript
gpl-3.0
1,872
Guides.Behaviors.scrollToAnchors = function ( container ) { $('a[href^="#"]', container).on('click', function ( event ) { event.preventDefault(); var that = this; var href = that.getAttribute('href'); var target = $(href); // Set active Guides.Functions.scrollToTarget(target); Guides.Func...
jedahan/barnes-collection-www
src/components-barnes-toolkit/toolkit-theme/js/src/behaviors/scroll.to.anchors.js
JavaScript
gpl-3.0
848
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var Q = require('q'); /* jshint ignore:line */ var _ = require('lodash'); /* jshint ignore:line */ var Page = require('../../../../base/...
together-web-pj/together-web-pj
node_modules/twilio/lib/rest/preview/sync/service/syncList.js
JavaScript
gpl-3.0
20,103
Ext.define('Bloodbank.view.querybuildernewmodel.floatingentity.EntitySprite',{ extend: 'Ext.draw.Sprite',//Ext.draw.sprite.Rect xtype:'entitysprite', alias: ['widget.entitysprite'], bConnections: false, type: 'rect', draggable: true, height : 190, width : 210, currPosition:[10,10], ...
applifireAlgo/appDemoApps201115
bloodbank/src/main/webapp/app/view/querybuildernewmodel/floatingentity/EntitySprite.js
JavaScript
gpl-3.0
412
var searchData= [ ['kd_5ftree',['KD_Tree',['../class_k_d___tree.html',1,'']]], ['kdnode',['kdNode',['../structkd_node.html',1,'']]] ];
vahisht/simple_academic_renderer
doc/html/search/classes_4.js
JavaScript
gpl-3.0
139
/*! * jQuery UI 1.8.7 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI */ (function( $, undefined ) { // prevent duplicate loading // this is only a problem because we proxy...
SeqWare/seqware
seqware-distribution/docs/vm_landing/index_files/jquery_006.js
JavaScript
gpl-3.0
8,422
/* Partout [Everywhere] - Policy-Based Configuration Management for the Data-Driven-Infrastructure. Copyright (C) 2016 Graham Lee Bevan <graham.bevan@ntlworld.com> This file is part of Partout. Partout is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
partoutx/partout
agent/lib/modules/role/index.js
JavaScript
gpl-3.0
7,645
/* Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.layout.ContentPane"]){ dojo._hasResource["dojox.layout.ContentPane"]=true; dojo.provide("dojox...
sguazt/dcsj-sharegrid-portal
web/resources/scripts/dojo/dojox/layout/ContentPane.js
JavaScript
gpl-3.0
2,967
import _ from "lodash"; import { Meteor } from "meteor/meteor"; import { Session } from "meteor/session"; import { Template } from "meteor/templating"; import { Tracker } from "meteor/tracker"; import { $ } from "meteor/jquery"; import { Reaction } from "/client/api"; import Logger from "/client/modules/logger"; import...
bradleywiebe2/sleepy-tundra
imports/plugins/included/ui-search/client/templates/productSearch/productItem.js
JavaScript
gpl-3.0
4,309
angular .module( 'containElement', [] ) .factory( 'containElement', [ function () { return function (searchEl, targetEl) { var found = false; // Set special attribute to identify element while browsing up the // dom tree. searchEl.setAttribute('SBBSEARCH', true); ...
zhougonglai/sbb
src/common/services/containElement/containElement.js
JavaScript
gpl-3.0
830
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('shim-plugin', function (Y, NAME) { /** * Provides shimming support for Node via a Plugin. * This fixes SELECT bleedthrough for IE6 & Mac scr...
murilotimo/moodle
lib/yuilib/3.17.2/shim-plugin/shim-plugin.js
JavaScript
gpl-3.0
2,944
/* disable setting the content width / height */ function resizeWidth() { } function resizeHeight() { } /* analytics */ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;...
lejon/joinery
src/main/resources/templates/assets/customizations.js
JavaScript
gpl-3.0
498
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2006-2011 1&1 Internet AG, Germany, http://www.1and1.org License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/...
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/framework/source/class/qx/log/appender/NodeConsole.js
JavaScript
gpl-3.0
2,969
// Copyright 2015-2020, University of Colorado Boulder /** * Class that defines a separation of the DNA strand. This is used when forcing the DNA strand to separate in certain * positions, which happens, for instance, when RNA polymerase is attached and transcribing the DNA. * * @author John Blanco * @author Aadi...
phetsims/gene-expression-basics
js/common/model/DnaSeparation.js
JavaScript
gpl-3.0
1,408
// this function checks id date is like DD/MM/YYYY function CheckDate(field) { var d = field.value; if (d!=="") { var amin = 1900; var amax = 2100; var date = d.split("/"); var ok=1; var msg; if ( (date.length < 2) && (ok==1) ) { msg = MSG_SEPARATOR.format(field.name); ...
joubu/Koha
koha-tmpl/intranet-tmpl/prog/js/members.js
JavaScript
gpl-3.0
12,303
;(function(environment){ 'use strict'; environment['Round10'] = { size :{x:8, y:13}, special:['', 'gift', 'fixed'], range:['', 'Yellow', 'Lime', 'gift', 'fixed', 'DarkViolet', 'SteelBlue', 'white', 'Crimson'], map :[0,1,1,1,2,2,2,0,0,0,1,3,3,3,2,0,0,0,2,3,3,1,0,0,0,0,0,4,0,4,0,0,0,...
lipki/HexBubble
prototype/maps/round10.js
JavaScript
gpl-3.0
481
import React, { View, ActivityIndicatorIOS, StyleSheet, TouchableOpacity, Text, Component, Dimensions } from 'react-native'; var Overlay = require('react-native-overlay'); var BlurView = require('react-native-blur').BlurView; var Icon = require('react-native-vector-icons/FontAwesome'); clas...
Proyoyo/LynxReact---RN-0.20
app/components/toast.ios.js
JavaScript
gpl-3.0
2,074
function SeqCal() { Plugin.apply(this, arguments); Canvas.apply(this, Array.prototype.slice.call(arguments, 1)); var layout = new Layout(this.width, this.height); layout.padding = 10; this.addView(); var inpSize = 4; this.draw = function(param) { inpSize = arguments.length > 0 && "inpSize" in param ? Number(...
titosust/Calendar.Event.11
js/plugins/SeqCal.js
JavaScript
gpl-3.0
2,237
var g_iterpw=null,jj="",allowmultifactortrust=!0,hidemultifactordisable=!1; function lplogincheck2(a,c,b,d){console_log("server.js : lplogincheck fromwebsite="+a+" sessionid="+c);if(!skiplogin()){can_chrome_do_math()||openURL(getchromeurl("mathfail.html"));yubikey_cleardata();googleauth_cleardata();outofband_cleardata(...
manninglucas/browser-laptop
app/extensions/lastpass/server.js
JavaScript
mpl-2.0
111,030
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 'use strict'; // Fennec support tracked in bug #809412 module.metadata = { 'engines': { 'Firefox': '*' } }...
vladikoff/fxa-mochitest
tests/mochitest/jetpack-package/addon-sdk/source/test/test-window-utils-private-browsing.js
JavaScript
mpl-2.0
7,793
import { inject as service } from '@ember/service'; import { get } from '@ember/object'; import lint from 'consul-ui/utils/editor/lint'; const MODES = [ { name: 'JSON', mime: 'application/json', mode: 'javascript', ext: ['json', 'map'], alias: ['json5'], }, { name: 'HCL', mime: 'text/x...
youhong316/consul
ui-v2/app/initializers/ivy-codemirror.js
JavaScript
mpl-2.0
1,334
/* * Copyright (C) 2013 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
djbender/canvas-lms
app/jsx/bundles/file_preview.js
JavaScript
agpl-3.0
1,244
/* * Copyright (C) 2017 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
venturehive/canvas-lms
app/jsx/blueprint_courses/router.js
JavaScript
agpl-3.0
1,572
function loginViaEmail() { navigator.id.get(function(assertion) { if (assertion) { $('input[name=assertion]').val(assertion); $('#browser_id_form').submit(); } else { window.location = "#{failure_path}" } }); } $(function() { $('#browser_id_form button').click(function() { login...
ekkans/adoptajerry
app/assets/javascripts/services/persona.js
JavaScript
agpl-3.0
360
import * as ng_from_import from 'angular'; var ng_from_global = angular; export var ng = (ng_from_import && ng_from_import.module) ? ng_from_import : ng_from_global; //# sourceMappingURL=angular.js.map
laclasse-com/service-portail
public/app/node_modules/@uirouter/angularjs/lib-esm/angular.js
JavaScript
agpl-3.0
201
WHOLE_UNIT = new Big(0.00000001); function WalletSendAssetsController($modal, $scope, $http, $q, walletTransactionService, Account) { $scope.walletAssets = $scope.$parent.$parent; var transactionGenerationController = $scope.$parent; // Enable the transaction for offline wallets $scope.walletAssets.offlineSupp...
habibmasuro/omniwallet
www/js/WalletSendAssetsController.js
JavaScript
agpl-3.0
7,613
/** * byrd/shredder */ 'use strict'; var crypto = require('crypto'); var aes = require('aes-js'); var path = require('path'); Shredder.MIN_CHUNKS = 10; Shredder.MAX_CHUNK_SIZE = 32 * 1000; function Shredder(filename) { this._filename = filename; this._chunks = []; } Shredder.prototype.shred = function(buffer...
gordonwritescode/byrd
lib/shredder.js
JavaScript
agpl-3.0
2,231
/** * Adapted from https://github.com/camptocamp/agridea_geoacorda/blob/master/jsapi/src/searchcontrol.js */ goog.provide('app.MapSearchController'); goog.provide('app.mapSearchDirective'); goog.require('app'); goog.require('app.constants'); /** @suppress {extraRequire} */ goog.require('ngeo.searchDirective'); goog....
Courgetteandratatouille/v6_ui
c2corg_ui/static/js/map/search.js
JavaScript
agpl-3.0
5,705
/* */ var getTag = require('./_getTag'), isArguments = require('./isArguments'), isArray = require('./isArray'), isArrayLike = require('./isArrayLike'), isBuffer = require('./isBuffer'), isFunction = require('./isFunction'), isObjectLike = require('./isObjectLike'), isString = require('./is...
mscottnelson/grapph
public/jspm_packages/npm/lodash@4.13.1/isEmpty.js
JavaScript
agpl-3.0
1,146
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
djbender/canvas-lms
app/jsx/conditional_release_stats/cyoe-api.js
JavaScript
agpl-3.0
1,309
/** * This file is part of Shoop. * * Copyright (c) 2012-2015, Shoop Ltd. All rights reserved. * * This source code is licensed under the AGPLv3 license found in the * LICENSE file in the root directory of this source tree. */ /* eslint-disable no-bitwise */ const folderActions = require("../actions/folderAction...
jorge-marques/shoop
shoop/admin/modules/media/static_src/media/browser/menus/folderContextMenu.js
JavaScript
agpl-3.0
983
import PropTypes from 'prop-types' import React from 'react' import classnames from 'classnames' const Input = ({ uid, type, label, placeholder, onChange, required, show, classes }) => ( <div className='mb2 form-group' style={{ display: !show ? 'none' : 'block' }}> <label className='caps bold mb1 inline-bl...
nossas/bonde-client
packages/bonde-admin/src/components/form-util/input.js
JavaScript
agpl-3.0
1,201
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Observable_1 = require("../../Observable"); var mapTo_1 = require("../../operator/mapTo"); Observable_1.Observable.prototype.mapTo = mapTo_1.mapTo;
n0rad/housecream
public/vendor/npm/rxjs/src/add/operator/mapTo.js
JavaScript
agpl-3.0
229
import React from 'react'; import { Router, Route, IndexRoute } from 'react-router'; import Framework from './components/Framework.react'; import MainMenu from './components/MainMenu'; import Preferences from './components/Preferences'; import Player from './components/Player'; import TorrentDashboard from './comp...
jaruba/PowderPlayer
src/routes.js
JavaScript
lgpl-2.1
646
Clazz.declarePackage ("JM"); Clazz.load (["JM.Group"], "JM.Monomer", ["java.lang.Float", "JU.Measure", "$.P3", "$.Quat", "J.c.STR", "JM.ProteinStructure", "$.Resolver", "JU.Escape", "$.Logger", "JV.JC"], function () { c$ = Clazz.decorateAsClass (function () { this.bioPolymer = null; this.offsets = null; this.monomerInd...
benjaminabel/jsmol-dist
dist/j2s/JM/Monomer.js
JavaScript
lgpl-2.1
12,752
/* =================================================== * bootstrap-transition.js v2.0.1 * http://twitter.github.com/bootstrap/javascript.html#transitions * =================================================== * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
yorikvanhavre/freecad-new-home
wiki/skins/freecad/js/site.js
JavaScript
lgpl-2.1
61,735
"use strict"; var Activity = require("./activity"); var util = require("util"); var _ = require("lodash"); var is = require("../common/is"); var Block = require("./block"); var WithBody = require("./withBody"); var errors = require("../common/errors"); function ForEach() { WithBody.call(this); this.items = n...
unbornchikken/workflow-4-node
lib/es5/activities/forEach.js
JavaScript
lgpl-3.0
4,904
describe('DIRECTIVE: GumgaSearch',function(){ var scope; var isolatedScope; var template; beforeEach(module('gumga.directives.search.search')); beforeEach(inject(function($rootScope,$compile){ scope = $rootScope.$new(); scope.doSearch = function(field,param){ /* g(field,par...
guiseek/components
src/directives/Search/Search/SearchSpec.js
JavaScript
lgpl-3.0
2,923
export default function ( collection, res, next, options = {} ) { return collection .forge() .fetch( options.fetch ) .then( data => { res.json( data.toJSON() ); } ) .catch( next ); }
webcoding/soapee-api
src/utils/collectionJsonResponder.js
JavaScript
unlicense
238
'use strict'; /* * Creating Angular Module Definition for the Application * All required dependencies like routers, Controllers, * Directives, Services etc are Injected in here. * Module looks up the index files and downloads the required dependencies */ define('app', [ 'angular', 'jQuery', 'ui_boot...
vinod-mp/VRMTest
websrc/app/app.js
JavaScript
unlicense
688
(function() { 'use strict'; function config($stateProvider) { $stateProvider .state('articles', { url: '/articles', templateUrl: 'articles/templates/index.html', controller:'ArticlesController', controllerAs: 'articles', resolve:{ ...
whisher/rock-paper-scissors-multiplayer
public/modules/articles/routes/index.js
JavaScript
apache-2.0
1,535
/** * @author Trilogis Srl * @author Gustavo German Soria * * Database Module */ /** * PostgreSQL client for node.js module import. * @type {exports} */ var pg = require('pg'); /** * Username for the database connection * @type {string} */ var username = "<username>"; /** * Password for the database conn...
Gagaus/wwwOSM
backend/www-osm/db/db_sample.js
JavaScript
apache-2.0
2,428