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
var ControlMultipleBaseItemView = require( 'elementor-views/controls/base-multiple' ), ControlOrderItemView; ControlOrderItemView = ControlMultipleBaseItemView.extend( { ui: function() { var ui = ControlMultipleBaseItemView.prototype.ui.apply( this, arguments ); ui.reverseOrderLabel = '.elementor-control-order-...
cobicarmel/elementor
assets/dev/js/editor/views/controls/order.js
JavaScript
gpl-3.0
782
import React, { Component } from "react"; import PropTypes from "prop-types"; import { Components } from "@reactioncommerce/reaction-components"; import { formatPriceString } from "/client/api"; class ProductGridItems extends Component { static propTypes = { additionalMedia: PropTypes.func, canEdit: PropType...
levu48/reaction
imports/plugins/included/product-variant/components/productGridItems.js
JavaScript
gpl-3.0
4,573
/*! * wm-html-include.js v0.1.3 * Includes (injects) HTML pages * * Copyright (c) 2015 http://wamer.net * Released under the MIT license * * Latest Update: 2015-04-21 */ (function (window, undefined) { var _version_ = '0.1.3', _log_internal = [], _entry_point_ = function () { function noop () {...
xplorld/TrafficSimulator
wm-html-include/wm-html-include.js
JavaScript
gpl-3.0
12,513
'use strict'; var db = require('../../database'); module.exports = { name: 'Update registration type', timestamp: Date.UTC(2019, 5, 4), method: function (callback) { const meta = require('../../meta'); const registrationType = meta.config.registrationType || 'normal'; if (registrationType === 'admin-approval...
yariplus/NodeBB
src/upgrades/1.12.3/update_registration_type.js
JavaScript
gpl-3.0
543
/** * @typedef {import('../types.js').MdastListContent} MdastListContent */ /** * @param {Array.<MdastListContent>} children * @returns {boolean} */ export function listItemsSpread(children) { let index = -1 if (children.length > 1) { while (++index < children.length) { if (children[index].spread) ...
Xmetalfanx/linuxscripts
node_modules/hast-util-to-mdast/lib/util/list-items-spread.js
JavaScript
gpl-3.0
378
$(function() { $('input#email').focus(); $('.select2').select2(); $('.date').mask('99/99/9999'); $('#cpf').mask('999.999.999-99'); $('#telefone').mask('(99) 9999-9999'); $('#criar_pessoa').parsley().subscribe('parsley:form:validated', function (formInstance) { if (formInstance.isValid()) { ...
jovanepires/sige
public/js/participante/criar.js
JavaScript
gpl-3.0
396
erpnext.setup_auto_gst_taxation = (doctype) => { frappe.ui.form.on(doctype, { company_address: function(frm) { frm.trigger('get_tax_template'); }, shipping_address: function(frm) { frm.trigger('get_tax_template'); }, tax_category: function(frm) { frm.trigger('get_tax_template'); }, get_tax_templ...
neilLasrado/erpnext
erpnext/regional/india/taxes.js
JavaScript
gpl-3.0
1,146
var trusted = [ '52.16.188.185', '54.94.239.50', '54.174.74.156', '54.172.25.93', '54.174.75.126', '54.173.232.137', '52.7.205.180', '52.7.218.44', '52.7.205.152', '52.7.224.174', '92.51.165.126', '84.117.82.122', '73.40.58.88', '178.19.221.38', '185.37.145.18', '172.31.39.87', '86.120.171.69', '86.12...
cubedro/eth-netstats
lib/utils/config.js
JavaScript
gpl-3.0
469
/** * Rule the words! KKuTu Online * Copyright (C) 2017 JJoriping(op@jjo.kr) * * This program 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 ...
ingari/KKuTu
Server/lib/Web/lib/kkutu/head.js
JavaScript
gpl-3.0
1,955
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
cgs1999/jain-sip.javascript
src/main/javascript/jain-sip/gov/nist/sip/header/Authorization.js
JavaScript
gpl-3.0
1,806
import getObjectPool from 'consul-ui/utils/get-object-pool'; import { module, skip } from 'qunit'; import test from 'ember-sinon-qunit/test-support/test'; module('Unit | Utility | get object pool', function() { skip('Decide what to do if you add 2 objects with the same id'); test('acquire adds objects', function(a...
scalp42/consul
ui-v2/tests/unit/utils/get-object-pool-test.js
JavaScript
mpl-2.0
3,271
/* * 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/. * * Copyright (c) 2015 Digi International Inc., All Rights Reserved. */ 'use strict'; describe('Directive: gau...
brucetsao/XBeeZigBeeCloudKit
src/app/widgets/gaugeWidget/gaugeWidget.spec.js
JavaScript
mpl-2.0
3,284
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ //--------------------------------...
cledoux/cmps530
js/src/tests/ecma_3/Date/15.9.5.5-02.js
JavaScript
mpl-2.0
1,460
"use strict"; var NativeDragItemTypes = require("../constants/NativeDragItemTypes"); function isNativeDraggedItemType(itemType) { switch (itemType) { case NativeDragItemTypes.FILE: case NativeDragItemTypes.URL: return true; default: return false; } } module.exports = isNativeDraggedItemTy...
asm-products/notello
node_modules/react-dnd/dist-modules/utils/isNativeDraggedItemType.js
JavaScript
agpl-3.0
323
import { readOnly } from '@ember/object/computed'; import EmberObject, { computed } from '@ember/object'; import Ember from 'ember'; import ol from 'openlayers'; import geographicDistance from '../utils/geo-distance'; import getNextSmallerIndex from '../utils/next-smaller-index'; import computedPoint from '../computed...
Turbo87/skylines
ember/app/utils/fix.js
JavaScript
agpl-3.0
2,636
odoo.define('point_of_sale.ClassRegistry', function (require) { 'use strict'; /** * **Usage:** * ``` * const Registry = new ClassRegistry(); * * class A {} * Registry.add(A); * * const AExt1 = A => class extends A {} * Registry.extend(A, AExt1) * * const B...
ddico/odoo
addons/point_of_sale/static/src/js/ClassRegistry.js
JavaScript
agpl-3.0
9,998
/*# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Addons modules by CLEARCORP S.A. # Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>). # # This program is free software: you can redistribu...
sysadminmatmoz/odoo-clearcorp
pos_remove_line_confirm/static/src/js/remove_line_confirm.js
JavaScript
agpl-3.0
5,871
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import InnerHeader from 'flavours/glitch/features/account/components/header'; import ActionBar from 'flavours/glitch/features/account/components/action_bar'; import ImmutablePureComponent from 'rea...
Kirishima21/mastodon
app/javascript/flavours/glitch/features/account_timeline/components/header.js
JavaScript
agpl-3.0
4,187
import Ember from 'ember'; export default Ember.Component.extend({ classNames: ['panel-footer', 'field-group__toolbar'], classNameBindings: ['collapsed:hidden'] });
idali0226/user-management-keycloak
user-management-ui/app/components/field-group/toolbar.js
JavaScript
agpl-3.0
174
define(function (require) { 'use strict'; var p5 = require('core'); var frames = []; /** * Save the current canvas as an image. In Safari, will open the * image in the window and the user must provide their own * filename on save-as. Other browsers will either save the * file immediately, or ...
jshaw/p5.js
src/output/image.js
JavaScript
lgpl-2.1
4,395
exports.host = 'localhost'; // RethinkDB host exports.port = 28015; // RethinkDB driver port exports.authKey = ''; // Authentification key (leave an empty string if you did not set one) exports.db = 'pascani'; // Database name
jachinte/pascani
web/dashboard/rethinkdb.config.js
JavaScript
lgpl-3.0
243
$(function() { $("#txt_button").click(function() { $(this).attr('disabled',true); var data = $("#data").val(); if (!data) return; var url = 'api/create/txt?title=' + $("#title").val(); if (data.split(/\n/).length == 1) { var reg = /(https?|ftp):\/\/[^\/?:]+(:[0-9]{1,5})?(\/?|(\/[^\/]+)...
sunhai1988/nutz-book-project
src/main/webapp/s/assets/js/index.js
JavaScript
apache-2.0
4,018
function Point() { this.x = 3; } var x = new Point(); // error at "new"
popravich/typescript
tests/baselines/reference/implicitAnyNewExprLackConstructorSignature.js
JavaScript
apache-2.0
80
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-523 description: > ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is no...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperty/15.2.3.6-4-523.js
JavaScript
apache-2.0
956
/** * Allows for tracking changes to a file input object (<input type="file" ...>) * By adding the attribute file-input-handler and setting it to a function, its possible * to record the name of the file that has been selected */ (function () { 'use strict'; var pluginName = 'vdb-bench.widgets'; var pl...
Teiid-Designer/vdb-bench
vdb-bench-assembly/plugins/vdb-bench-widgets/fileInputHandler.js
JavaScript
apache-2.0
796
/** * Upload5 0.1.0 * (c) 2011 BitCandies * http://github.com/bitcandies/upload5 * * Upload5 is a flexible HTML5/JavaScript library that handles multiple file uploads. * * Upload5 is freely distributable under the MIT license, * see LICENSE. * * http://www.bitcandies.com/ */ var bitcandies = bitcandies || {}; bitcand...
treason258/TreLibrary
WifiTransfer/app/src/main/assets/wifi/scripts/bitcandies.upload5.js
JavaScript
apache-2.0
5,678
import Ember from 'ember'; import describePromise from 'klondike/util/describe-promise'; function promiseAlias(name) { return function () { var promise = this.get('_promise'); return promise[name].apply(promise, arguments); }; } export default Ember.Object.extend({ users: null, fixedKeyBinding: 'a...
Stift/Klondike
app/session.js
JavaScript
apache-2.0
4,079
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.4.4.22-8-b-iii-1-4 description: > Array.prototype.reduceRight - element to be retrieved is own data property that overrides an inherited data property on an Arr...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-iii-1-4.js
JavaScript
apache-2.0
649
/** * @license * Visual Blocks Editor * * Copyright 2016 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
jano42/blockly
core/block_drag_surface.js
JavaScript
apache-2.0
7,431
const TimelineVShader =`#version 300 es #define CANVAS_BORDER 1.0 #define SAMPLE_HEIGHT 16.0 #define SAMPLE_BORDER 1.0 #define SAMPLE_Y_SPACING (SAMPLE_HEIGHT + SAMPLE_BORDER * 2.0) #define SAMPLE_Y_OFFSET (CANVAS_BORDER + 1.0) struct Viewport { float width; float height; }; struct TimeRange { float usSt...
Celtoys/Remotery
vis/Code/Shaders.js
JavaScript
apache-2.0
8,829
'use strict'; let angular = require('angular'); module.exports = angular.module('spinnaker.core.pipeline.stage.script.executionDetails.controller', [ require('angular-ui-router'), require('../../../../delivery/details/executionDetailsSection.service.js'), require('../../../../delivery/details/executionDetailsSe...
zanthrash/deck-1
app/scripts/modules/core/pipeline/config/stages/script/scriptExecutionDetails.controller.js
JavaScript
apache-2.0
775
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.12.3-6-b-3 description: > JSON.stringify treats numeric space arguments less than 1 (-5) the same as empty string space argument. ---*/ var obj = {a1: {b1: [...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/JSON/stringify/15.12.3-6-b-3.js
JavaScript
apache-2.0
485
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-28.js
JavaScript
apache-2.0
2,129
// Copyright 2017 The Kubernetes Authors. // // 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 law or a...
zreigz/dashboard
src/test/frontend_old/common/errorhandling/errorhandling_test.js
JavaScript
apache-2.0
2,088
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'templates', 'ro', { button: 'Template-uri (şabloane)', emptyListMsg: '(Niciun template (şablon) definit)', insertOption: 'Înlocuieşte cuprinsul ...
EZWebvietnam/vieclam24h
plugin/ckeditor/plugins/templates/lang/ro.js
JavaScript
apache-2.0
554
import STORE from 'store'; import Worker from 'utils/webworker.js'; export default class TeleopWebSocketEndpoint { constructor(serverAddr) { this.serverAddr = serverAddr; this.websocket = null; this.worker = new Worker(); } initialize() { try { this.websocket = new WebSocket(this.serverAdd...
xiaoxq/apollo
modules/dreamview/frontend/src/store/websocket/websocket_teleop.js
JavaScript
apache-2.0
1,511
/* Copyright 2015 Samsung Electronics Co., Ltd. * * 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 la...
Vincent2015/iotjs
test/run_pass/test_gpio.js
JavaScript
apache-2.0
1,921
/** * $Id$ * * @author Moxiecode - based on work by Andrew Tetlaw * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. */ function preinit() { // Initialize tinyMCE.setWindowArg('mce_windowresize', false); } function init() { tinyMCEPopup.resizeToInnerSize(); SXE.init...
brandt/GridSphere
webapps/gridsphere/javascript/tiny_mce/plugins/xhtmlxtras/jscripts/ins.js
JavaScript
apache-2.0
1,478
// -*- coding: utf-8 -*- // Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com> // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // ...
estools/escope
test/es6-new-target.js
JavaScript
bsd-2-clause
2,308
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-integer-indexed-exotic-objects-hasproperty-p description: Return false if P's value is < 0 info: | 9.4.5.2 [[HasProperty]](P) ... 3. If Type(P) is String, then...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArrayConstructors/internals/HasProperty/BigInt/key-is-lower-than-zero.js
JavaScript
bsd-2-clause
932
'use strict'; /* * relax complexity and max-statements eslint rules in order to preserve the imported * core eslint `prefer-arrow-callback` rule code so that future updates to that code * can be more easily applied here. */ /* eslint "complexity": [ "error", 18 ], "max-statements": [ "error", 15 ] */ /** * @file...
ChromeDevTools/devtools-frontend
node_modules/eslint-plugin-mocha/lib/rules/prefer-arrow-callback.js
JavaScript
bsd-3-clause
14,044
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const chalk = require("chalk"); const cli_utils_1 = require("@ionic/cli-utils"); const namespace_1 = require("@ionic/cli-utils/lib/namespace"); class IonicNamespace extends namespace_1.Namespace { construc...
vivadaniele/spid-ionic-sdk
node_modules/ionic/dist/commands/index.js
JavaScript
bsd-3-clause
8,758
function (doc) { if (doc.doc_type === 'Application' && doc.copy_of === null) { var lang, key; for (lang in doc.translations) { for (key in doc.translations[lang]) { emit([lang, key, doc.translations[lang][key]], null); } } } }
dimagi/commcare-hq
corehq/couchapps/app_translations_by_popularity/views/view/map.js
JavaScript
bsd-3-clause
299
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), browserify: { control: { src: ['src/L.Realtime.js'], dest: 'dist/leaflet-realtime.js', options: { transform: [ [ 'browserify-shim', { 'leaflet': 'global:L' } ...
kyroskoh/leaflet-realtime
Gruntfile.js
JavaScript
isc
811
/** * @license * Copyright (c) 2016 The {life-parser} Project Authors. All rights reserved. * This code may only be used under the MIT style license found at http://100dayproject.github.io/LICENSE.txt * The complete set of authors may be found at http://100dayproject.github.io/AUTHORS.txt * The complete set of con...
Vietworm/Crab.JS
public/plugins/ckeditor/plugins/crab_media/plugin.js
JavaScript
mit
971
define([ 'pex/geom/hem/HEMesh', 'pex/geom/hem/HEVertex', 'pex/geom/hem/HEEdge', 'pex/geom/hem/HEFace', 'pex/geom/Vec3' ], function(HEMesh, HEVertex, HEEdge, HEFace, Vec3) { function Extrude() { } HEMesh.prototype.extrude = function(height, direction) { height = height || 0.1; var numFaces ...
UIKit0/pex
src/pex/geom/hem/HEExtrude.js
JavaScript
mit
1,889
/* * A range */ module.exports = function(obj) { if(obj.type !== 'RANGE') { throw "This is not a range!"; } var parser = require('./expression.js'); return 'range(' + parser(obj.from) + ', ' + parser(obj.to) + ')'; };
0x0all/Blueberry
src/parsers/range.js
JavaScript
mit
246
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('user', 'Unit | Serializer | user', { // Specify the other units that are required for this test. needs: ['serializer:user'] }); // Replace this with your real tests. test('it serializes records', function(assert) { let record = this.subject(); ...
nem035/ember-custom-api-example
tests/unit/serializers/user-test.js
JavaScript
mit
402
"use strict"; /* globals describe it */ require("should"); const path = require("path"); const fs = require("fs"); const webpack = require("../"); describe("Examples", () => { const examples = fs.readdirSync(path.join(__dirname, "..", "examples")).map((name) => path.join(__dirname, "..", "examples", name)).filter(...
g0ddish/webpack
test/Examples.test.js
JavaScript
mit
1,550
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ // flowlint ambiguous-object-type:error 'use strict'; function createPrintRequireModuleDependency(...
cpojer/relay
packages/relay-compiler/codegen/createPrintRequireModuleDependency.js
JavaScript
mit
486
describe('[Regression](GH-3724)', () => { it('Should correctly type text in an editable iframe', () => runTests('testcafe-fixtures/index.js')); });
DevExpress/testcafe
test/functional/fixtures/regression/gh-3724/test.js
JavaScript
mit
152
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function getFailedSnapshotTests(testResults) { const failedTestPaths = []; if (testResults.numFailedTests === 0 || !testResults.testResults) { return failedTestPaths; } testResults.testResults.forEach(testResult => { if (t...
galenscook/algorithms
javascript/node_modules/jest-util/build/get_failed_snapshot_tests.js
JavaScript
mit
512
module.exports = React.createClass({ displayName: "actual", render: function render() { return null; } });
tav/mu-babel
test/fixtures/transformation/react/display-name-export-default/expected.js
JavaScript
mit
118
'use strict'; // Configuring the Articles module angular.module('jobs').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', 'Jobs', 'jobs', 'dropdown', '/jobs(/create)?'); Menus.addSubMenuItem('topbar', 'jobs', 'List Jobs', 'jobs'); Menus.addSubMenuItem('topbar', 'jobs', 'New...
bpj101/JobsDirectoryApp
public/modules/jobs/config/jobs.client.config.js
JavaScript
mit
349
import Events from "v2/Utils/Events" import { configure, addParameters } from "@storybook/react" import { createMediaStyle } from "v2/Utils/Responsive" const req = require.context("../", true, /\.story\.tsx$/) function loadStories() { req.keys().forEach(filename => { return req(filename) }) } // Add RRM styl...
erikdstock/force
.storybook/config.js
JavaScript
mit
777
/** @module ember-data */ import Ember from 'ember'; import Adapter from "ember-data/adapter"; import { AdapterError, InvalidError, TimeoutError, AbortError } from 'ember-data/-private/adapters/errors'; import EmptyObject from "ember-data/-private/system/empty-object"; import BuildURLMixin from "ember-data/-...
eriktrom/data
addon/adapters/rest.js
JavaScript
mit
29,699
function SomeComponent (props) { // Create styles as if you're calling css and the class will be applied to the component return (<div css={` color: blue; font-size: 17 px; &:hover { color: green; } & .some-class { font-size: 20px; } `}> This will be blue until hovered. ...
existentialism/prettier
tests/template_literals/css-prop.js
JavaScript
mit
537
/* Tabulator v4.2.4 (c) Oliver Folkerd */ var Page = function Page(table) { this.table = table; //hold Tabulator object this.mode = "local"; this.progressiveLoad = false; this.size = 0; this.page = 1; this.count = 5; this.max = 1; this.displayIndex = 0; //index in display pipeline this.pageSizes = []; ...
cdnjs/cdnjs
ajax/libs/tabulator/4.2.4/js/modules/page.js
JavaScript
mit
15,999
YUI.add('node-event-delegate', function (Y, NAME) { /** * Functionality to make the node a delegated event container * @module node * @submodule node-event-delegate */ /** * <p>Sets up a delegation listener for an event occurring inside the Node. * The delegated event will be verified against a supplied selecto...
marclundgren/marclundgren.github.io
node-checkpoints/build/node-event-delegate/node-event-delegate.js
JavaScript
mit
2,450
'use strict'; var docsURL = 'http://bitcore.io/'; module.exports = [{ name: 'InvalidB58Char', message: 'Invalid Base58 character: {0} in {1}' }, { name: 'InvalidB58Checksum', message: 'Invalid Base58 checksum for {0}' }, { name: 'InvalidNetwork', message: 'Invalid version for network: got {0}' }, { name...
eXcomm/bitcore
lib/errors/spec.js
JavaScript
mit
5,201
'use strict'; var SERVER_ROOT = 'http://localhost:3000'; servicesModule .factory('Events', function($http){ // helper function to extract data from response var getData = function(res) { return res.data; }; // ---- Export functions ---- var addOne = function(friendId, eventObj){ return $http.post(...
gloriama/client-recon
clientRefactor/www/js/Services/events.js
JavaScript
mit
1,965
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'save', 'no', { toolbar: 'Lagre' });
proxygear/exo_cms
vendor/assets/javascripts/ckeditor/plugins/save/lang/no.js
JavaScript
mit
217
var hasMap = typeof Map === 'function' && Map.prototype; var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; var mapForE...
february29/Learning
web/vue/AccountBook-Express/node_modules/object-inspect/index.js
JavaScript
mit
7,440
(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; /** *... *@author dongketao */ //class PathFinding.core.DiagonalMovement var DiagonalMovement=(function(){ function DiagonalMovement(){} __class(DiagonalMovement,'Pat...
wangyongtan/H5
2018/LayaBoxProjectWeb/4.PB/libs/laya.pathfinding.js
JavaScript
mit
50,360
/** @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
fieldenms/tg
platform-web-ui/src/main/resources/polymer/@polymer/neon-animation/neon-shared-element-animation-behavior.js
JavaScript
mit
1,990
'use strict'; var path = require('path'); var gulp = require('gulp'); var shell = require('gulp-shell'); var clean = require('gulp-clean'); var config = require('../../../config'); // 启动browser sync gulp.task('browser-sync', function() { setTimeout(function() { shell.task('browser-sync start --config bui...
lyhiving/fis3-vue
build/gulp/tasks/dev.js
JavaScript
mit
2,110
'use strict'; module.exports.hash = function hash(plainPassword) { const bcrypt = require('bcryptjs'), bcryptGenSalt = Promise.promisify(bcrypt.genSalt), bcryptHash = Promise.promisify(bcrypt.hash); return bcryptGenSalt().then(function (salt) { return bcryptHash(plainPassword, salt); ...
chadwallacehart/cwh.com-ghost
versions/1.21.5/core/server/lib/security/password.js
JavaScript
mit
566
/*global define*/ define([ '../Core/defined', '../Core/defineProperties', '../Core/destroyObject', './ShaderProgram', './ShaderSource' ], function( defined, defineProperties, destroyObject, ShaderProgram, ShaderSource) { "use strict...
NedimUka/postnormalatlas
vendor/cesium/Source/Renderer/ShaderCache.js
JavaScript
mit
6,545
angular.module('ai.common.directives.dropdown', []) .directive('aiDropdown', function() { return { restrict: 'EA', require: 'ngModel', scope: { ngModel: '=', list: '=' }, link: function(scope, elem, attrs, ngModel) ...
jforaker/jakt-lunch-frontend
src/common/directives/dropdown/dropdown.js
JavaScript
mit
1,086
/** * (c) 2010-2018 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from './Globals.js'; import './Utilities.js'; var doc = H.doc, extend = H.extend, format = H.format, isNumber = H.isNumber, merge = H.merge, pick = H.pick, splat = H.splat, syncTimeout...
extend1994/cdnjs
ajax/libs/highcharts/7.0.0/es-modules/parts/Tooltip.js
JavaScript
mit
39,652
/*! * # Semantic UI 2.6.3 - Calendar * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof s...
extend1994/cdnjs
ajax/libs/fomantic-ui/2.6.3/components/calendar.js
JavaScript
mit
54,169
Tinytest.add('EasySearch - Unit - Core - ReactiveEngine', function (test) { var CustomReactiveEngine = TestHelpers.createReactiveEngine({ getSearchCursor: function (s, o) { test.equal(s, { name: 'testCursor' }); test.equal(o.foo, 'bar'); return new EasySearch.Cursor(new Mongo.Cursor(), ...
matteodem/meteor-easy-search
packages/easysearch_core/tests/unit/core/reactive-engine-tests.js
JavaScript
mit
1,125
import conf from '../../conf/index' describe('close', () => { it('should close the current window', async function () { /** * safari doenst support `newWindow` */ if (this.client.desiredCapabilities.browserName === 'safari') { return } // get current t...
testingbot/webdriverjs
test/spec/desktop/close.js
JavaScript
mit
858
/** * @license * v1.2.10-4 * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2019 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https://github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issues */ (function (global, factory) { typeof exports === 'object' && typeof mo...
joeyparrish/cdnjs
ajax/libs/pnp-sp-taxonomy/1.2.10-4/sp-taxonomy.es5.umd.js
JavaScript
mit
40,800
(function (factory) { typeof define === 'function' && define.amd ? define(factory) : factory(); }(function () { 'use strict'; function iterator(input) { let index = 0, col = 1, line = 1; return { curr(n = 0) { return input[index + n]; }, end() { return input.length <= in...
cdnjs/cdnjs
ajax/libs/css-doodle/0.5.1/css-doodle.js
JavaScript
mit
50,825
const fs = require('fs-plus'); const path = require('path'); const season = require('season'); const temp = require('temp').track(); const runAtom = require('./helpers/start-atom'); describe('Smoke Test', () => { // Fails on win32 if (process.platform !== 'darwin') { return; } const atomHome = temp.mkdirS...
PKRoma/atom
spec/integration/smoke-spec.js
JavaScript
mit
1,775
/** * @name Elastic * @descripton Elastic is jQuery plugin that grow and shrink your textareas automatically * @version 1.6.11 * @requires jQuery 1.2.6+ * * @author Jan Jarfalk * @author-email jan.jarfalk@unwrongest.com * @author-website http://www.unwrongest.com * * @licenc...
gtessier/MOOSE
wp-content/themes/simple/framework/admin/assets/js/jquery.elastic.min.js
JavaScript
gpl-2.0
2,121
jQuery(document).ready(function($) { var t_test = $('input:radio[name=socialize_twitterWidget]:checked').val(); $(".socialize-twitter-select").hide(); $("#socialize-twitter-"+t_test).show(); var f_test = $('input:radio[name=socialize_fbWidget]:checked').val(); $(".socialize-facebook-select").hide(); $("#sociali...
detroitwebdevelopers/passinc
wp-content/plugins/socialize/admin/js/socialize-admin-form.js
JavaScript
gpl-2.0
1,236
/* Product Name: dhtmlxSuite Version: 4.1.2 Edition: Standard License: content of this file is covered by GPL. Usage outside GPL terms is prohibited. To obtain Commercial or Enterprise license contact sales@dhtmlx.com Copyright UAB Dinamenta http://www.dhtmlx.com */ function dhtmlXForm(parentObj, data, skin) { ...
o-unity/lanio
old/dhtmlx/sources/dhtmlxForm/codebase/dhtmlxform.js
JavaScript
gpl-2.0
105,684
/* 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.storage.AirFileStorageProvider"]){ dojo._hasResource["dojox.storage.AirFileStorageProvider"]=t...
sguazt/dcsj-sharegrid-portal
web/resources/scripts/dojo/dojox/storage/AirFileStorageProvider.js
JavaScript
gpl-3.0
4,744
// ## Globals var argv = require('minimist')(process.argv.slice(2)); var autoprefixer = require('gulp-autoprefixer'); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var flatten = require('gulp-flatten'); var...
nooct/agtpn
web/app/themes/agatepen1.0.0/gulpfile.js
JavaScript
gpl-3.0
9,267
var common = require("./search-bar-common"); var color = require("color"); var utils = require("utils/utils"); var style = require("ui/styling/style"); var types; function ensureTypes() { if (!types) { types = require("utils/types"); } } var SEARCHTEXT = "searchText"; var QUERY = "query"; var EMPTY = ""...
bhattis/native-script-demo
node_modules/tns-core-modules/ui/search-bar/search-bar.android.js
JavaScript
gpl-3.0
9,186
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this sof...
globant/juka
front_end/src/libs/external/cocos2d/platform/CCConfig.js
JavaScript
gpl-3.0
12,155
(function(a){a.effects.transfer=function(b){return this.queue(function(){var f=a(this),h=a(b.options.to),e=h.offset(),g={top:e.top,left:e.left,height:h.innerHeight(),width:h.innerWidth()},d=f.offset(),c=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:d.top,lef...
jvega-crafter/studio-ui
static-assets/jquery/jquery-ui/ui/effects.transfer-min.js
JavaScript
gpl-3.0
535
OC.L10N.register( "encryption", { "Missing recovery key password" : "遺失還原金鑰密碼", "Please repeat the recovery key password" : "請您再輸入新的還原金鑰密碼一次", "Repeated recovery key password does not match the provided recovery key password" : "輸入的還原金鑰密碼與設定的並不相符", "Recovery key successfully enabled" : "還原金鑰已成功開...
bluelml/core
apps/encryption/l10n/zh_TW.js
JavaScript
agpl-3.0
7,146
/********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the t...
ktmhr/SugarCE6.4.3---JapanieseFullPackWorking
modules/Campaigns/wizard.js
JavaScript
agpl-3.0
5,958
/* * More info at: http://phpjs.org * * This is version: 3.25 * php.js is copyright 2011 Kevin van Zonneveld. * * Portions copyright Brett Zamir (http://brett-zamir.me), Kevin van Zonneveld * (http://kevin.vanzonneveld.net), Onno Marsman, Theriault, Michael White * (http://getsprink.com), Waldo Malqui Silva, Pa...
salesagility/SuiteCRM
include/javascript/phpjs/htmlentities.js
JavaScript
agpl-3.0
8,487
define([ 'underscore', 'edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers', 'common/js/spec_helpers/template_helpers', 'common/js/spec_helpers/view_helpers', 'js/models/course', 'js/models/group_configuration', 'js/models/group', 'js/collections/group_configuration', 'js/collections/group', 'js/views/group_...
pepeportela/edx-platform
cms/static/js/spec/views/group_configuration_spec.js
JavaScript
agpl-3.0
42,992
define([ "./numbering-system", "../common/create-error/unsupported-feature" ], function( numberNumberingSystem, createErrorUnsupportedFeature ) { /** * nuMap( cldr ) * * @cldr [Cldr instance]. * * Return digits map if numbering system is different than `latn`. */ return function( cldr ) { var aux, nu = numb...
has191210/bdademo
src/main/resources/public/bower_components/globalize/src/number/numbering-system-digits-map.js
JavaScript
unlicense
589
import $ from "jquery"; import * as color_class from "./color_class"; import {$t} from "./i18n"; import * as message_view_header from "./message_view_header"; import * as stream_settings_ui from "./stream_settings_ui"; function update_table_stream_color(table, stream_name, color) { // This is ugly, but temporary,...
rht/zulip
static/js/stream_color.js
JavaScript
apache-2.0
4,350
define( ({ _themeLabel: "Tema de Demonstração", _layout_default: "Layout Padrão", _layout_right: "Layout Direita" }) );
Jiriteach/ArcGIS.WebAppBuilder.Widgets
themes/DemoTheme/nls/pt-pt/strings.js
JavaScript
apache-2.0
142
var querystring = require('querystring'), follow = require('follow'), http = require('http'), https = require('https'), url = require('url'), urlParse = url.parse, urlFormat = url.format; var STATUS_MSGS = { 400: '400: Bad Request', 401: '401: Unauthorized', 402: '402: Payment Requ...
iilab/ltfhc-next
packages/kanso-app-settings/node_modules/couchr/couchr-node.js
JavaScript
apache-2.0
7,732
function PopWinObject() { //var i = document.createElement("<iframe IsPopWin=1 name=PopWinIframe scrolling=no style='position:absolute;top:200;border:2 outset'></iframe>"); var i=document.createElement("div"); document.body.insertBefore(i); i.outerHTML = "<iframe IsPopWin=1 id=PopWinIframe width=1 height=1 frame...
guohan/hadoop
tdh_hive_jsp_ker/WebContent/js/popwin.js
JavaScript
apache-2.0
3,449
/* 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...
apache/allura
scripts/migrations/030-email-address-_id-to-email--cleanup.js
JavaScript
apache-2.0
1,197
/* * Copyright 2012-2015 MarkLogic Corporation * * 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 law...
marklogic/marklogic-samplestack
appserver/node-express/lib/routing/question.js
JavaScript
apache-2.0
8,245
({ insertImageTitle: "Insereix imatge", url: "Imatge", browse: "Navega...", text: "Descripció", set: "Insereix", invalidMessage: "Tipus de fitxer d\'imatge no vàlid", prePopuTextUrl: "Especifiqueu un URL d\'imatge", prePopuTextBrowse: " o navegueu fins un fitxer local." })
sulistionoadi/belajar-springmvc-dojo
training-web/src/main/webapp/js/dojotoolkit/dojox/editor/plugins/nls/ca/LocalImage.js
JavaScript
apache-2.0
285
/* * Copyright 2013 Amadeus s.a.s. * 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 law or agreed to i...
simonarbuckle/ariatemplates
test/aria/templates/autorefresh/AutorefreshTestCase2.js
JavaScript
apache-2.0
3,322
import { get, set, observer, computed } from '@ember/object'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; import layout from './template'; export default Component.extend({ intl: service(), layout, // Inputs instance: null, errors: nul...
westlywright/ui
app/components/container/form-command/component.js
JavaScript
apache-2.0
2,479
var searchData= [ ['has_5fcustom_5fcertificate',['has_custom_certificate',['../structtelebot__webhook__info.html#aa826fadf8fb74137e9ab6d61f3e54153',1,'telebot_webhook_info']]], ['height',['height',['../structtelebot__sticker.html#ac09ff20853c0a90dfcbf397441dd7c65',1,'telebot_sticker::height()'],['../structtelebot__...
ozbek/telebot
docs/search/variables_7.js
JavaScript
apache-2.0
598
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides default renderer for control sap.ui.commons.ColorPicker sap.ui.define(['jquery.sap.global'], function(jQuery)...
mindmill/open-cmis-explorer
resources/sap/ui/commons/ColorPickerRenderer-dbg.js
JavaScript
bsd-2-clause
1,145