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
"use strict"; var ASSERT = require("./assert"); function arrayMove(src, srcIndex, dst, dstIndex, len) { for (var j = 0; j < len; ++j) { dst[j + dstIndex] = src[j + srcIndex]; src[j + srcIndex] = void 0; } } function Queue(capacity) { this._capacity = capacity; this._length = 0; this...
qwook/qwook.github.com
universe/bower_components/bluebird/src/queue.js
JavaScript
mit
2,587
describe("uiMask", function () { "use strict"; var formHtml = "<form name='test'><input name='input' ng-model='x' ui-mask='{{mask}}'></form>"; var inputHtml = "<input name='input' ng-model='x' ui-mask='{{mask}}'>"; var compileElement, scope, config; beforeEach(module("ui.mask")); beforeEach(function() { ...
lu4/ui-mask
test/maskSpec.js
JavaScript
mit
16,508
'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const tls = require('tls'); const stream = require('stream'); const delay = new stream.Duplex({ read: function read() { }, write: function write(data, enc, cb) { console.log('pending'); setImmedia...
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/test/parallel/test-tls-destroy-whilst-write.js
JavaScript
mit
491
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with th...
rch/flask-openshift
wsgi/container/pkgs/sencha/static/ext-4.2.2.1144/src/util/Point.js
JavaScript
mit
4,069
describe('abide:', function() { beforeEach(function() { this.addMatchers({ // Place abide-specific matchers here... }); var origFunc = $.fn.foundation; spyOn($.fn, 'foundation').andCallFake(function() { var result = origFunc.apply(this, arguments); jasmine.Clock.tick(1000); // Let t...
zurb/foundation-sites-6
spec/foundation/abide/abide.js
JavaScript
mit
6,262
/*global angular*/ "use strict"; var lookAroundApp = angular.module("lookAroundApp", [ "lookAroundApp.services", "lookAroundApp.controllers", "lookAroundApp.filters", "lookAroundApp.directives", "ui.bootstrap" ]); lookAroundApp.config(function ($routeProvider) { $routeProvider .when("...
atiol/LookAround
app/js/app.js
JavaScript
mit
628
import createCaseFirst from './_createCaseFirst'; /** * Converts the first character of `string` to upper case. * * @static * @memberOf _ * @since 4.0.0 * @category String * @param {string} [string=''] The string to convert. * @returns {string} Returns the converted string. * @example * * _.upperFirst('fred...
Jorginho211/TFG
web/node_modules/lodash-es/upperFirst.js
JavaScript
gpl-3.0
465
/** * @preserve A JavaScript implementation of the SHA family of hashes, as * defined in FIPS PUB 180-2 as well as the corresponding HMAC implementation * as defined in FIPS PUB 198a * * Copyright Brian Turek 2008-2015 * Distributed under the BSD License * See http://caligatio.github.com/jsSHA/ for more informat...
kellym/openpgpjs
src/crypto/hash/sha.js
JavaScript
lgpl-3.0
45,651
chorus.models.TaskReport = chorus.models.Base.extend({ urlTemplate: "task/{{id}}" });
jamesblunt/chorus
app/assets/javascripts/models/tasks/task_report.js
JavaScript
apache-2.0
91
/** * This Controller handles initialization requests for the Ext Direct API * shared by different examples; in itself it is an example of dynamic * API manipulation. * * The primary reason to have a global Controller handling Ext Direct * is to keep Direct configuration centralized for the application, * as wel...
department-of-veterans-affairs/ChartReview
web-app/js/ext-5.1.0/examples/kitchensink/app/controller/Direct.js
JavaScript
apache-2.0
4,430
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'stylescombo', 'mk', { label: 'Styles', panelTitle: 'Formatting Styles', // MISSING panelTitle1: 'Block Styles', // MISSING panelTitle2: 'Inline S...
ldilov/uidb
plugins/ckeditor/plugins/stylescombo/lang/mk.js
JavaScript
apache-2.0
387
ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"], function(require, exports, module) { "use strict"; exports.isDark = false; exports.cssClass = "ace-tm"; exports.cssText = ".ace-tm .ace_gutter {\ background: #f0f0f0;\ color: #333;\ }\ .ace-tm .ace_print-margin {\ width: 1px;\ bac...
XillioQA/xill-platform-3.4
xill-ide-core/src/main/resources/ace/ext-textarea.js
JavaScript
apache-2.0
16,788
Ext.define('KitchenSink.store.Browsers', { extend: 'Ext.data.Store', alias: 'store.browsers', fields: ['month', 'data1', 'data2', 'data3', 'data4', 'other'], data: [ { month: 'Jan', data1: 20, data2: 37, data3: 35, data4: 4, other: 4 }, { month: 'Feb', data1: 20, data2: 37, data3: 36, d...
department-of-veterans-affairs/ChartReview
web-app/js/ext-5.1.0/examples/kitchensink/app/store/Browsers.js
JavaScript
apache-2.0
1,140
//// [constantOverloadFunctionNoSubtypeError.ts] class Base { foo() { } } class Derived1 extends Base { bar() { } } class Derived2 extends Base { baz() { } } class Derived3 extends Base { biz() { } } function foo(tagName: 'canvas'): Derived3; function foo(tagName: 'div'): Derived2; function foo(tagName: 'span'): Der...
RReverser/TSX
tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js
JavaScript
apache-2.0
1,563
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { areIterablesEqual, isListLikeIterable } from '../facade/collection'; import { isPrimitive, looseIdentical } ...
psumkin/northshore
ui/node_modules/@angular/core/src/change_detection/change_detection_util.js
JavaScript
apache-2.0
2,617
define( ({ buttonOk: "OK", buttonCancel: "Abbrechen", buttonSave: "Speichern", itemClose: "Schließen" }) );
asudoh/delite
nls/de/common.js
JavaScript
bsd-3-clause
119
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // A worker that imports "empty.js" and also accepts a URL parameter like // "?import=script.js" and imports "script.js". const url = new URL(self.locati...
ric2b/Vivaldi-browser
chromium/chrome/test/data/service_worker/import_scripts_worker.js
JavaScript
bsd-3-clause
431
version https://git-lfs.github.com/spec/v1 oid sha256:8b9c0dee70ba4f792284eb0d9cf2f76ea7a528452581d0c4c5e321c401d4c6c3 size 22604
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.14.1/tree-selectable/tree-selectable-coverage.js
JavaScript
mit
130
var faker = require('faker'); var props = require('json-api-mock-server/lib/store/props'); var attr = props.attr; var many = props.many; var one = props.one; var between = require('json-api-mock-server/lib/utils/between'); module.exports = { name: attr('string', { defaultValue: function() { return faker.lorem.words(...
workmanw/data
server/models/complex.js
JavaScript
mit
577
/* Shorthand */ "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("./components/messages/messages"));
kojisaiki/primeng
exports/messages.js
JavaScript
mit
242
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var DeviceBrightnessHigh = React.createClass({ displayName: 'DeviceBrightnessHigh', mixins: [PureRenderMixin], render: function render() { return React.createElem...
sparkymat/youhaveto-react
node_modules/material-ui/lib/svg-icons/device/brightness-high.js
JavaScript
mit
680
import { Template } from "meteor/templating"; import { Reaction, i18next } from "/client/api"; import { Shops } from "/lib/collections"; Template.paymentSettings.helpers({ checked(enabled) { if (enabled === true) { return "checked"; } return ""; }, shown(enabled) { if (enabled !== true) { ...
3rrolw/Reaction-Theme
imports/plugins/core/payments/client/settings/settings.js
JavaScript
gpl-3.0
1,867
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * 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 require...
lannka/amphtml
build-system/babel-plugins/log-module-metadata.js
JavaScript
apache-2.0
2,224
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * 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 require...
prateekbh/amphtml
extensions/amp-subscriptions/0.1/test/test-dialog.js
JavaScript
apache-2.0
4,943
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
hippich/typescript
tests/Fidelity/test262/suite/ch08/8.12/8.12.1/8.12.1-1_43.js
JavaScript
apache-2.0
774
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.sv'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Lägg till kommentar"; Blockly.Msg.AUTH = "Var god godkänn denna app för att aktivera att ditt arbete sparas och för att låta den delas av dig."; Blockly.Msg...
zombiepaladin/smartfarm
vendor/assets/javascripts/blockly/msg/js/sv.js
JavaScript
apache-2.0
29,838
/*! * typeahead.js 0.11.1 * https://github.com/twitter/typeahead.js * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT */ (function(root, factory) { if (typeof define === "function" && define.amd) { define("bloodhound", [ "jquery" ], function(a0) { return root["Bloodho...
sekT0id/scripts-ns
vendor/bower-asset/typeahead.js/dist/bloodhound.js
JavaScript
bsd-3-clause
33,198
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _react = require('react'); exports['default'] = _react.PropTypes.oneOfType([ // [Number, Number] _react.PropTypes.arrayOf(_react.PropTypes.number), // {lat: Number, lng: Number} _react.PropTypes.shape({ lat: _react.PropTypes.number,...
TerranetMD/react-leaflet
lib/types/latlng.js
JavaScript
mit
516
'use strict'; angular.module('copayApp.controllers').controller('glideraController', function($scope, $timeout, $ionicModal, $log, storageService, glideraService, ongoingProcess, platformInfo, externalLinkService, popupService, lodash) { $scope.openExternalLink = function(url) { externalLinkService.open(u...
Kirvx/copay
src/js/controllers/glidera.js
JavaScript
mit
3,648
module.exports = { pkcs1: require('./pkcs1'), pkcs1_oaep: require('./oaep'), pss: require('./pss'), /** * Check if scheme has padding methods * @param scheme {string} * @returns {Boolean} */ isEncryption: function (scheme) { return module.exports[scheme] && module.export...
ratokeshi/endo-google-cloud-platform
node_modules/passport-octoblu/node_modules/node-rsa/src/schemes/schemes.js
JavaScript
mit
593
import { Injectable } from '@angular/core'; /** * Configuration service for the NgbCarousel component. * You can inject this service, typically in your root component, and customize the values of its properties in * order to provide default values for all the carousels used in the application. */ export var NgbCaro...
Dackng/eh-unmsm-client
node_modules/@ng-bootstrap/ng-bootstrap/carousel/carousel-config.js
JavaScript
mit
718
/* * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
Laragh/brackets-master
test/spec/ViewCommandHandlers-test.js
JavaScript
mit
6,910
/** * Default property values of interactive objects * Used by {@link PIXI.interaction.InteractionManager} to automatically give all DisplayObjects these properties * * @private * @name interactiveTarget * @memberof PIXI.interaction * @example * function MyObject() {} * * Object.assign( * ...
sfinktah/pixi.js
src/interaction/interactiveTarget.js
JavaScript
mit
3,320
/*! * jQuery Google Map * * @author Pragmatic Mates, http://pragmaticmates.com * @version 1.0 * @license GPL 2 * @link https://github.com/PragmaticMates/jquery-google-map */ (function ($) { var settings; var element; var map; var markers = new Array(); var markerCluster; var clustersOnMap = new Array(); ...
persfrancobe/AnnBienEtre
web/libraries/jquery-google-map/jquery-google-map.js
JavaScript
mit
9,971
var languageModule = { /** * @var array */ elementStack: [], /** * @var integer */ errorCount: 0, /** * @var object */ states: { notAvailable: 0, available: 1, failed: 2, ok: 3, invalid: 4, updated: 5 }, /** * @var object */ tableSetup: { iDisplayLength: 1000, bPaginate: fal...
federicobernardin/labs
typo3/sysext/lang/Resources/Public/JavaScript/LangModule.js
JavaScript
gpl-2.0
10,087
describe("Ext.data.reader.Json", function() { var reader, data1, data2, result1, result2, result3; beforeEach(function() { Ext.ClassManager.enableNamespaceParseCache = false; Ext.data.Model.schema.setNamespace('spec'); Ext.define('spec.JsonReader', { extend: 'Ext.data...
turtlerrrrr/myapp
web/src/main/webapp/WEB-INF/app/ext/packages/core/test/specs/data/reader/Json.js
JavaScript
gpl-2.0
60,662
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'nb', { acccessKey: 'Aksessknapp', advanced: 'Avansert', advisoryContentType: 'Type', advisoryTitle: 'Tittel', anchor: { toolbar: 'Sett ...
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/link/lang/nb.js
JavaScript
gpl-3.0
1,880
/*! * @depends ../core/AudioletNode.js */ /** * Exponential lag for smoothing signals. * * **Inputs** * * - Value * - Lag time * * **Outputs** * * - Lagged value * * **Parameters** * * - value The value to lag. Linked to input 0. * - lag The 60dB lag time. Linked to input 1. * * @constructor * @ex...
mcanthony/Audiolet
src/dsp/Lag.js
JavaScript
apache-2.0
1,435
/* * 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 may ...
jasonpet/openwhisk
tests/dat/actions/loggingTimeout.js
JavaScript
apache-2.0
1,845
/* * 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 ma...
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/features/i18n/data/DateTimeConstants__zh_SG.js
JavaScript
apache-2.0
3,067
/** @jsx React.DOM */ 'use strict'; var React = require('react'); var ReactCanvas = require('react-canvas'); var Group = ReactCanvas.Group; var Image = ReactCanvas.Image; var Text = ReactCanvas.Text; var FontFace = ReactCanvas.FontFace; var measureText = ReactCanvas.measureText; var CONTENT_INSET = 14; var TEXT_SCR...
AprilArcus/react-canvas
examples/timeline/components/Page.js
JavaScript
bsd-3-clause
3,838
function initAngular() { 'use strict'; angular.bootstrap(document, ["motech-dashboard"]); } function loadModule(url, angularModules) { 'use strict'; $('#module-content').load(url, function() { if (angularModules) { angular.bootstrap(document, angularModules); } else { ...
adamkalmus/motech
platform/server-bundle/src/main/resources/webapp/js/dashboard.js
JavaScript
bsd-3-clause
365
/** Used to match wrap detail comments. */ var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/; /** * Inserts wrapper `details` in a comment at the top of the `source` body. * * @private * @param {string} source The source to modify. * @returns {Array} details The details to insert. * @returns {strin...
Crisa221/Lista-Giocatori
node_modules/redux/node_modules/lodash-es/_insertWrapDetails.js
JavaScript
mit
707
Meteor.startup(function() { RocketChat.settings.addGroup('Livechat'); RocketChat.settings.add('Livechat_title' , 'Rocket.Chat', { type: 'string', group: 'Livechat', public: true }); RocketChat.settings.add('Livechat_title_color' , '#C1272D', { type: 'string', group: 'Livechat', public: true }); });
ImpressiveSetOfIntelligentStudents/chat
packages/rocketchat-livechat/config.js
JavaScript
mit
313
(function () { // Eagerly require cached-run-in-this-context to prevent a circular require // when using `NativeCompileCache` for the first time. require('cached-run-in-this-context') const electron = require('electron') const path = require('path') const Module = require('module') const getWindowLoadSet...
FIT-CSE2410-A-Bombs/atom
static/index.js
JavaScript
mit
5,735
/* * File: BarChart.js * */ $jit.ST.Plot.NodeTypes.implement({ 'barchart-stacked' : { 'render' : function(node, canvas) { var pos = node.pos.getc(true), width = node.getData('width'), height = node.getData('height'), algnPos = this.getAlignedPos(pos, width, height), ...
khaliiid/visualizer
src/components/jit/Source/Visualizations/BarChart.js
JavaScript
mit
26,898
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno')) : typeof define === 'function' && define.amd ? define(['exports', 'inferno'], factory) : (factory((global.Inferno = global.Inferno || {}, global.Inferno.TestUtils = {}),global.In...
wout/cdnjs
ajax/libs/inferno-test-utils/4.0.0-2/inferno-test-utils.js
JavaScript
mit
15,825
var _ = require('lodash'); var valueFactory = require('../factory/value.js'); var Base = require('./Base'); /** * Object expression token (e.g. `{ a: "foo"}`) * @class * @param {Object} node AST ObjectExpression token */ var ObjectExpression = module.exports = Base.extend({ constructor: function (node) { th...
ph3l1x/realestate
sites/all/themes/default/bootstrap/node_modules/ast-query/lib/nodes/ObjectExpression.js
JavaScript
gpl-2.0
1,687
(function (angular, $, _) { angular.module('crmCxn', CRM.angRequires('crmCxn')); angular.module('crmCxn').config([ '$routeProvider', function ($routeProvider) { $routeProvider.when('/cxn', { templateUrl: '~/crmCxn/ManageCtrl.html', controller: 'CrmCxnManageCtrl', resolve: { ...
kreynen/civicrm-starterkit-drops-7
profiles/civicrm_starterkit/modules/civicrm/ang/crmCxn.js
JavaScript
gpl-2.0
816
/* -*- 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/. */ var gTestfile = 'regress-474769.js...
ashwinrayaprolu1984/rhino
testsrc/tests/js1_8/regress/regress-474769.js
JavaScript
mpl-2.0
1,020
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * 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/. */ gTestfile = '11.2.2.js'; START("...
sam/htmlunit-rhino-fork
testsrc/tests/e4x/Expressions/11.2.2.js
JavaScript
mpl-2.0
1,679
document.on('click', 'div.date_picker', function(e, element) { var field = element.down('input') var label = element.down('span') var parentDiv = element.up('div') var date_picker = DatePicker.initialize(field, label, parentDiv); if (element.hasClassName("show_urgent")) { DatePicker.add_urgent_box(date_pi...
vveliev/teambox
app/javascripts/date_picker.js
JavaScript
agpl-3.0
3,127
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'fakeobjects', 'fa', { anchor: 'لنگر', flash: 'انیمشن فلش', hiddenfield: 'فیلد پنهان', iframe: 'IFrame', unknown: 'شیء ناشناخته' } );
nttuyen/task
task-management/src/main/resources/org/exoplatform/task/management/assets/ckeditorCustom/plugins/fakeobjects/lang/fa.js
JavaScript
lgpl-3.0
355
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * 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 require...
ADITION/amphtml
3p/iframe-messaging-client.js
JavaScript
apache-2.0
5,294
/** * Flot plugin for adding 'events' to the plot. * * Events are small icons drawn onto the graph that represent something happening at that time. * * This plugin adds the following options to flot: * * options = { * events: { * levels: int // number of hierarchy levels * data: [], ...
panqingcui/kairosdb-1
webroot/grafana/vendor/jquery/jquery.flot.events.js
JavaScript
apache-2.0
20,244
/* Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer.sandbox *...
xiaojunwu/crosswalk-test-suite
usecase/webapi-usecase-tests/tests/AppControlExtending/js/main.js
JavaScript
bsd-3-clause
9,452
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_zh-Hant",function(e){e.Intl.add("datatype-date-format","zh-Hant",{a:["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56...
wayne-lewis/baiducdnstatic
libs/yui/3.17.0/datatype-date-format/lang/datatype-date-format_zh-Hant.js
JavaScript
mit
939
(function (global, factory) { if (typeof define === "function" && define.amd) { define('element/locale/hy-AM', ['module', 'exports'], factory); } else if (typeof exports !== "undefined") { factory(module, exports); } else { var mod = { exports: {} }; factory(mod, mod.exports); global...
extend1994/cdnjs
ajax/libs/element-ui/2.8.2/locale/hy-AM.js
JavaScript
mit
4,049
import Vue from 'vue' import { UA } from 'core/util/env' import testObjectOption from '../../../helpers/test-object-option' describe('Options components', () => { testObjectOption('components') it('should accept plain object', () => { const vm = new Vue({ template: '<test></test>', components: { ...
new4/Vue4Fun
vue-2.5.16/test/unit/features/options/components.spec.js
JavaScript
mit
2,345
module.exports={A:{A:{"2":"I C G E A B SB"},B:{"2":"D g q K"},C:{"1":"0 1 2 F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W","16":"3 QB OB NB"},D:{"1":"0 1 2 6 9 y r W CB RB AB","16":"F H I C G E A B D g q","132":"K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k ...
keeyanajones/Samples
streamingProject/twitch/bots/NodeJsChatBot/node_modules/caniuse-lite/data/features/css-default-pseudo.js
JavaScript
mit
851
var utils = require("../lib/utils.js"); exports.server2_proxy_test = { setUp: function(done) { // setup here if necessary done(); }, proxy_options_test: function(test) { test.expect(10); var proxies = utils.proxies(); test.equal(proxies.length, 6, 'should return six valid proxies'); test...
matthieubulte/grunt-connect-proxy
test/server2_proxy_test.js
JavaScript
mit
1,104
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'language', 'pt-br', { button: 'Configure o Idioma', remove: 'Remover Idioma' } );
aodarc/flowers_room
styleguides/static/ckeditor/ckeditor/plugins/language/lang/pt-br.js
JavaScript
mit
272
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("../../tom-select.js")):"function"==typeof define&&define.amd?define(["../../tom-select"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).TomSelect)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"defaul...
cdnjs/cdnjs
ajax/libs/tom-select/2.0.0-rc.3/js/plugins/no_active_items.min.js
JavaScript
mit
478
/*global jQuery */ /*jshint browser:true */ /*! * FitVids 1.1 * * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfp...
binhdarkcu/Giggs
wp-content/themes/giggs/assets/js/jquery.fitvids.js
JavaScript
gpl-2.0
3,261
/* @private * This is an internal helper class for the calendar views and should not be overridden. * It is responsible for the base event rendering logic underlying all views based on a * box-oriented layout that supports day spanning (MonthView, MultiWeekView, DayHeaderView). */ Ext.define('Ext.calendar.util.Wee...
Warlock-developer/practicas
vendors/extjs/examples/calendar/src/util/WeekEventRenderer.js
JavaScript
gpl-3.0
8,182
/** * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ OCA = OCA || {}; (function() { /** * @classdesc a Port Detector. It executes the auto-detection of the port * by the ownCloud ...
bluelml/core
apps/user_ldap/js/wizard/wizardDetectorTestConfiguration.js
JavaScript
agpl-3.0
858
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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...
laki88/carbon-governance
components/governance/org.wso2.carbon.governance.lcm.ui/src/main/resources/web/lcm/js/ns-editor.js
JavaScript
apache-2.0
7,369
/*! * iButton jQuery Plug-in * * Copyright 2011 Giva, Inc. (http://www.givainc.com/labs/) * * 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/LICEN...
OutstandingJin/lab-manage
src/main/webapp/resources/js/plugins/forms/jquery.ibutton.js
JavaScript
apache-2.0
14,644
/* Copyright 2013 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /** * @fileoverview * The sandbox isn't allowed to make XHRs, so they have to be proxied to the * main process. The XMLHttpRequestProxy class is AP...
plxaye/chromium
src/remoting/webapp/xhr_proxy.js
JavaScript
apache-2.0
2,960
var ToDoDemo = window.ToDoDemo || {} ToDoDemo.Model = { getAll: function(fnSuccess, fnFail) { $.ajax({ url: ToDoDemo.serverRoot + "/items", type:'GET', success: function(oData, strStatus, jqXHR) { var oParsed = JSON.parse(oData); fnSuccess...
virgo47/javasimon
demoapp/src/main/webapp/static/js/model.js
JavaScript
bsd-3-clause
1,849
// # Bad request error // Custom error class with status code and type prefilled. function BadRequestError(message) { this.message = message; this.stack = new Error().stack; this.code = 400; this.type = this.name; } BadRequestError.prototype = Object.create(Error.prototype); BadRequestError.prototype....
choskim/ghost_exp
core/server/errors/badrequesterror.js
JavaScript
mit
381
var i18n = $.extend({}, i18n || {}, { datepicker: { dateformat: { "fulldayvalue": "yyyy-M-d", "separator": "-", "year_index": 0, "month_index": 1, "day_index": 2, "sun": "日", "mon": "一", "tue": "二", "...
ajency/minyawns
wp-content/themes/minyawns/src/plugins/datepicker_lang_HK.js
JavaScript
gpl-2.0
936
"use strict"; var user = require('../../user'), meta = require('../../meta'); var usersController = {}; usersController.search = function(req, res, next) { res.render('admin/manage/users', { search_display: '', loadmore_display: 'hide', users: [] }); }; usersController.sortByPosts = function(req, res, nex...
wingify/notcrud
src/controllers/admin/users.js
JavaScript
gpl-3.0
1,430
//// [collisionThisExpressionAndModuleInGlobal.ts] module _this { //Error class c { } } var f = () => this; //// [collisionThisExpressionAndModuleInGlobal.js] var _this_1 = this; var _this; (function (_this) { var c = /** @class */ (function () { function c() { } return c;...
minestarks/TypeScript
tests/baselines/reference/collisionThisExpressionAndModuleInGlobal.js
JavaScript
apache-2.0
403
//// [tests/cases/compiler/es6ImportEqualsDeclaration.ts] //// //// [server.ts] var a = 10; export = a; //// [client.ts] import a = require("server"); //// [server.js] var a = 10; //// [client.js]
weswigham/TypeScript
tests/baselines/reference/es6ImportEqualsDeclaration.js
JavaScript
apache-2.0
210
'use strict'; var $ = require('jquery'); var ko = require('knockout'); require('knockout.validation'); var $osf = require('./osfHelpers'); var citations = require('./citations'); var bootbox = require('bootbox'); var oop = require('js/oop'); var makeClient = require('js/clipboard'); var BASE_URL = '/static/vendor/bow...
Johnetordoff/osf.io
website/static/js/citationList.js
JavaScript
apache-2.0
5,016
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
cdot-brackets-extensions/nimble-htmlLint
src/utils/TokenUtils.js
JavaScript
mit
8,763
/*--- { "custom": true } ---*/ /*=== string [object String] object [object String] buffer [object Buffer] object [object Buffer] pointer [object Pointer] object [object Pointer] ===*/ function test() { var plain_str = 'foo'; // string is for comparison var obj_str = new String(plain_str); var plain_b...
kphillisjr/duktape
tests/ecmascript/test-bi-object-proto-tostring-custom.js
JavaScript
mit
764
(function (global, factory) { if (typeof define === "function" && define.amd) { define("my custom module name", ["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory(mod.exports); global.foo = global.foo || {...
tikotzky/babel
packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-namespace/expected.js
JavaScript
mit
507
describe("Ext.Widget", function() { var w; function makeWidget(cfg) { w = new Ext.Widget(cfg); return w; } afterEach(function() { w = Ext.destroy(w); }); describe("view controllers", function() { var Controller, spy beforeEach(function()...
sqlwang/my_wpblog
wp-content/themes/extjs/ext/modern/modern/test/specs/Widget.js
JavaScript
gpl-2.0
25,140
/* * jQuery UI Effects Fold 1.8.6 * * 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/Effects/Fold * * Depends: * jquery.effects.core.js */ (function(c){c.effects.fold=function(a){return...
adiel-mittmann/megamneme
web/jquery/development-bundle/ui/minified/jquery.effects.fold.min.js
JavaScript
gpl-3.0
1,128
//>>built define("dojox/lang/functional/numrec",["dijit","dojo","dojox","dojo/require!dojox/lang/functional/lambda,dojox/lang/functional/util"],function(_1,_2,_3){_2.provide("dojox.lang.functional.numrec");_2.require("dojox.lang.functional.lambda");_2.require("dojox.lang.functional.util");(function(){var df=_3.lang.fun...
zhiqinghuang/core
dotCMS/html/js/dojo/release/dojo/dojox/lang/functional/numrec.js
JavaScript
gpl-3.0
735
import { Meteor } from "meteor/meteor"; import { Roles } from "meteor/alanning:roles"; import { expect } from "meteor/practicalmeteor:chai"; import { sinon } from "meteor/practicalmeteor:sinon"; import { Discounts } from "/imports/plugins/core/discounts/lib/collections"; const code = { discount: 12, label: "Discou...
together-web-pj/together-web-pj
imports/plugins/included/discount-codes/server/methods/methods.app-test.js
JavaScript
gpl-3.0
1,543
//>>built define("dojox/widget/nls/FilePicker",{root:({name:"Name",path:"Path",size:"Size (in bytes)"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,...
wisdom-garden/dotcms
dotCMS/html/js/dojo/release/dojo/dojox/widget/nls/FilePicker.js
JavaScript
gpl-3.0
422
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ezsimple/java
springboot/GReact/node_modules/react-bootstrap/es/Pagination.js
JavaScript
apache-2.0
7,690
'use strict'; const Tokenizer = require('../tokenizer'); const OpenElementStack = require('./open-element-stack'); const FormattingElementList = require('./formatting-element-list'); const LocationInfoParserMixin = require('../extensions/location-info/parser-mixin'); const ErrorReportingParserMixin = require('../exten...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/parse5/lib/parser/index.js
JavaScript
apache-2.0
93,308
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The production x *= y is the same as the production x = x * y * * @path ch11/11.13/11.13.2/S11.13.2_A4.1_T1.3.js * @description Type(x) and Type(y) vary between primitive string...
hippich/typescript
tests/Fidelity/test262/suite/ch11/11.13/11.13.2/S11.13.2_A4.1_T1.3.js
JavaScript
apache-2.0
1,124
// for a legacy code and future fixes module.exports = function(){ return Function.call.apply(Array.prototype.reverse, arguments); };
migua1204/jikexueyuan
极客学院/nodeBaidu/node_modules/core-js/library/fn/array/reverse.js
JavaScript
apache-2.0
135
(function () { function createJsConsole(selector) { var self = this; //var consoleElement = document.querySelector(selector); var consoleElement = document.getElementById(selector) if (consoleElement.className) { consoleElement.className = consoleElement.className + " ...
kalinalazarova1/TelerikAcademy
Web/JavaScriptPartTwo/03.JavaScriptOOP/03.JavaScriptOOP/js-console.js
JavaScript
mit
1,797
version https://git-lfs.github.com/spec/v1 oid sha256:0530c3cb2bb70db32d47af467c6199b0bc58856d286bdbb6f18eb02b66aa0d25 size 3383
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.9.1/loader-rollup/loader-rollup-debug.js
JavaScript
mit
129
function integration(name, lifecycle) { module("Integration: " + name, { setup: function() { sinon.stub(Discourse.ScrollingDOMMethods, "bindOnScroll"); sinon.stub(Discourse.ScrollingDOMMethods, "unbindOnScroll"); Ember.run(Discourse, Discourse.advanceReadiness); if (lifecycle && lifecycle...
tadp/learnswift
test/javascripts/helpers/qunit_helpers.js
JavaScript
mit
1,272
"use strict" const ruleMessages = require("../../utils/ruleMessages") const validateOptions = require("../../utils/validateOptions") const whitespaceChecker = require("../../utils/whitespaceChecker") const functionCommaSpaceChecker = require("../functionCommaSpaceChecker") const ruleName = "function-comma-newline-aft...
grshane/monthofmud
web/themes/custom/mom/node_modules/stylelint/lib/rules/function-comma-newline-after/index.js
JavaScript
mit
1,210
//// [thisInLambda.ts] class Foo { x = "hello"; bar() { this.x; // 'this' is type 'Foo' var f = () => this.x; // 'this' should be type 'Foo' as well } } function myFn(a:any) { } class myCls { constructor () { myFn(() => { myFn(() => { var x = this; ...
domchen/typescript-plus
tests/baselines/reference/thisInLambda.js
JavaScript
apache-2.0
976
function WPATH(s) { var index = s.lastIndexOf("/"); var path = -1 === index ? "starrating/" + s : s.substring(0, index) + "/starrating/" + s.substring(index + 1); return path; } module.exports = [ { isApi: true, priority: 1000.0001, key: "TableViewRow", style: { color: "black", ...
brentonhouse/brentonhouse.alloy
test/apps/testing/ALOY-378/_generated/mobileweb/alloy/widgets/starrating/styles/star.js
JavaScript
apache-2.0
777
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '53d9063d-87ae-4ea8-be90-3686c3b8669f', name: 'Visual Studio Ultimate with MS...
MikhailTryakhov/azure-xplat-cli
test/recordings/arm-cli-datalake-store-tests/arm_Data_Lake_Store_Account_Firewall_Rules_create_command_should_work.nock.js
JavaScript
apache-2.0
3,667
/** * Copyright 2017 The AMP HTML Authors. All Rights Reserved. * * 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 require...
luciancrasovan/amphtml
extensions/amp-ad/0.1/test/test-concurrent-load.js
JavaScript
apache-2.0
4,403
define([ './AttributeCompression', './Cartesian2', './Cartesian3', './ComponentDatatype', './defaultValue', './defined', './Math', './Matrix4', './TerrainQuantization' ], function( AttributeCompression, Cartesian2, Carte...
hodbauer/cesium
Source/Core/TerrainEncoding.js
JavaScript
apache-2.0
13,700
/* Copyright (c) 2004-2011, 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.lang.aspect.memoizer"]){ dojo._hasResource["dojox.lang.aspect.memoizer"]=true; dojo.provide("d...
skobbler/AddressHunter
web-app/public/js/dojox/lang/aspect/memoizer.js
JavaScript
bsd-3-clause
1,187
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview Types for CrSettingsPrefsElement. */ if (CrSettingsPrefs === undefined) { var CrSettingsPrefs = {}; /** * The type of the e...
guorendong/iridium-browser-ubuntu
chrome/browser/resources/settings/prefs/prefs_types.js
JavaScript
bsd-3-clause
619
// Copyright 2011 Google 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 law or agreed to in ...
SouthStar/portia
slyd/vendor/mutation-summary.js
JavaScript
bsd-3-clause
56,811