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
/* global _wpCustomizeLoaderSettings, confirm */ window.wp = window.wp || {}; (function( exports, $ ){ var api = wp.customize, Loader; $.extend( $.support, { history: !! ( window.history && history.pushState ), hashchange: ('onhashchange' in window) && (document.documentMode === undefined || document.document...
10fish/WordPress
wp-includes/js/customize-loader.js
JavaScript
gpl-2.0
6,312
define(["wc/dom/event", "wc/dom/initialise", "wc/dom/Widget"], function(event, initialise, Widget) { "use strict"; /** * Provide a mechanism to allow any submit button to be deemed the default button of a form or even a section of a form * or even a specific input element. The default button is the submitti...
bordertechorg/wcomponents
wcomponents-theme/src/main/js/wc/ui/defaultSubmit.js
JavaScript
gpl-3.0
3,488
'use strict'; const winston = require('winston'); const _ = require('lodash'); const Benchpress = require('benchpressjs'); const plugins = require('../plugins'); const groups = require('../groups'); const translator = require('../translator'); const db = require('../database'); const apiController = require('../contr...
NodeBB/NodeBB
src/widgets/index.js
JavaScript
gpl-3.0
6,637
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2015 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it...
catataw/espocrm
frontend/client/modules/crm/src/views/call/record/detail.js
JavaScript
gpl-3.0
2,618
/* * PLUGIN ERASEDATA * * Spanish language file. * * Author: */ theUILang.Rem_torrents_content_prompt = "Do you really want to remove the selected torrent(s)? WARNING: This will delete torrent's content."; theUILang.Delete_data_with_path = "Delete Path"; theUILang.Rem_torrents_with_path_prompt = "Do you r...
Rapiddot/ruTorrent
plugins/erasedata/lang/es.js
JavaScript
gpl-3.0
485
/* * Utilities: A classic collection of JavaScript utilities * Copyright 2112 Matthew Eernisse ([email protected]) * * 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...
davidatkinsondoyle/nodeio
node_modules/jake/node_modules/utilities/lib/date.js
JavaScript
gpl-3.0
28,920
/** * Resources secondary controller */ import angular from 'angular/index' import ResourcesSecondaryBaseCtrl from './ResourcesSecondaryBaseCtrl' export default class ResourcesSecondaryEditCtrl extends ResourcesSecondaryBaseCtrl { constructor(url, ResourceService, $scope, Translator, ConfirmService) { super(...
remytms/Distribution
plugin/path/Resources/modules/resource-secondary/Controller/ResourcesSecondaryEditCtrl.js
JavaScript
gpl-3.0
2,990
/* VCO.Map Makes a Map Events: markerAdded markerRemoved ================================================== */ VCO.Map = VCO.Class.extend({ includes: [VCO.Events, VCO.DomMixins], _el: {}, /* Constructor ================================================== */ initialize: function(elem, data, options) {...
miguelpaz/StoryMapJS
source/js/map/VCO.Map.js
JavaScript
mpl-2.0
13,603
browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { if (!tab.url.match(/^about:/)) { browser.pageAction.show(tab.id); } });
mdn/webextensions-examples
history-deleter/background.js
JavaScript
mpl-2.0
145
'use strict'; describe('CommunitiesSvc', function() { // load the controller's module // We need to override the async translateProvider // http://angular-translate.github.io/docs/#/guide/22_unit-testing-with-angular-translate beforeEach(module('Teem', function ($provide, $translateProvider) { $provide.fa...
P2Pvalue/pear2pear
test/spec/services/community.js
JavaScript
agpl-3.0
3,895
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* globals PDFJS, expect, it, describe, Promise, combineUrl, waitsFor, runs */ 'use strict'; describe('api', function() { // TODO run with worker enabled var basicAp...
Neuralink/SVPAPP
www/pdfjs/test/unit/api_spec.js
JavaScript
apache-2.0
3,123
/// <reference path="../Libs/angular.min.js" /> /// <reference path="../Libs/angular-route.min.js" /> (function (angular) { var app = angular.module("ttidAdmClients", ['ngRoute', 'ttidAdm', 'ttidAdmUI']); function config($routeProvider, PathBase) { $routeProvider .when("/clients/list/:fil...
IdentityServer/IdentityServer3.Admin
source/Core/Assets/Scripts/App/ttidAdmClients.js
JavaScript
apache-2.0
13,146
import $ from 'jquery' /** * -------------------------------------------------------------------------- * Bootstrap (v4.0.0): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ const Util = (($) => {...
nowellpoint/nowellpoint-integration-platform-parent
nowellpoint-www-app/src/main/resources/public/v4/js/bootstrap/util.js
JavaScript
apache-2.0
3,732
/** * 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...
arenadata/ambari
contrib/views/hive20/src/main/resources/ui/app/components/csv-format-params.js
JavaScript
apache-2.0
2,964
foo.a();a.a(16);b.a.b(c);
UAK-35/wro4j
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/google/expectedAdvanced/issue54.1.js
JavaScript
apache-2.0
25
chromeMyAdmin.directive("favoriteListPanel", function() { "use strict"; return { restrict: "E", templateUrl: "templates/favorite_list_panel.html" }; });
igrep/chrome_mysql_admin
app/scripts/window/directives/favorite_list_panel.js
JavaScript
apache-2.0
182
// Copyright 2014 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...
tilmannOSG/jerryscript
tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-011.js
JavaScript
apache-2.0
648
/* Copyright © 2015 Cask Data, 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 writing...
chtyim/cdap
cdap-ui/app/services/hydrator/my-hydrator-factory.js
JavaScript
apache-2.0
1,025
//// [parserRealSource10.ts] // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. ///<reference path='typescript.ts' /> module TypeScript { export enum TokenID { // Keywords Any, ...
thr0w/Thr0wScript
tests/baselines/reference/parserRealSource10.js
JavaScript
apache-2.0
66,627
// Entry point for Node. var fs = require('fs'); var glob = require('glob'); var path = require('path'); var traceur = require('traceur'); exports.RUNTIME_PATH = traceur.RUNTIME_PATH; var TRACEUR_PATH = traceur.RUNTIME_PATH.replace('traceur-runtime.js', 'traceur.js'); var SELF_SOURCE_REGEX = /transpiler\/src/; var SE...
rtdkumar/angular
tools/transpiler/index.js
JavaScript
apache-2.0
2,407
import baseIsEqual from './_baseIsEqual'; /** * Performs a deep comparison between two values to determine if they are * equivalent. * * **Note:** This method supports comparing arrays, array buffers, booleans, * date objects, error objects, maps, numbers, `Object` objects, regexes, * sets, strings, symbols, and...
Maxwelloff/react-football
node_modules/lodash-es/isEqual.js
JavaScript
apache-2.0
959
// Options: --private-names --private-name-syntax import iterator from '@iter'; // TODO(arv): Add support for import @iterator private @iterator = iterator; // A binary tree class. class Tree { constructor(label, left, right) { this.label = label; this.left = left; this.right = right; } *@iterator()...
passy/traceur-todomvc
test/feature/Yield/Tree.js
JavaScript
apache-2.0
1,685
'use strict'; exports.__esModule = true; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writabl...
julien-moreau/pixijs_poc
node_modules/pixi.js/lib/core/math/shapes/Rectangle.js
JavaScript
apache-2.0
7,124
// Generated by CoffeeScript 1.3.3 var correctInputs, getGistFiles, getJsonCode, makeBuilder, makeNavbar, makeOpenGraph, makeTimeline, sStory, sections, submitNewSection; sections = {}; makeTimeline = function(d, i) { var timelineoptions; timelineoptions = { type: 'timeline', width: '100%', height: '6...
koakley/behindcloseddoors
sStory-master/lib/sStory.js
JavaScript
bsd-2-clause
9,422
var MA = {}; MA.Util = { extend: function (dest) { // (Object[, Object, ...]) -> var sources = Array.prototype.slice.call(arguments, 1), i, j, len, src; for (j = 0, len = sources.length; j < len; j++) { src = sources[j] || {}; for (i in src) { if (src.hasOwnProperty(i)) { dest[i] = src[i]; ...
frogcat/gsimaps
globe/resource/ma.js
JavaScript
bsd-2-clause
23,608
// 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-defineownproperty-p-desc description: > Set the value and return true info: | 9.4.5.3 [[DefineOwnProperty]] ( P, Desc) ... 3. I...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/set-value.js
JavaScript
bsd-2-clause
1,967
define([ "dojo/_base/array", "dojo/_base/declare", "dojo/dom-class", "./_DatePickerMixin", "./SpinWheel", "./SpinWheelSlot" ], function(array, declare, domClass, DatePickerMixin, SpinWheel, SpinWheelSlot){ // module: // dojox/mobile/SpinWheelDatePicker return declare("dojox.mobile.SpinWheelDatePicker", [Spi...
kitsonk/expo
src/dojox/mobile/SpinWheelDatePicker.js
JavaScript
bsd-3-clause
1,395
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ...
darkrsw/safe
tests/clone_detector_tests/sproutcore/frameworks/foundation/system/image_queue.js
JavaScript
bsd-3-clause
14,850
plan(60) Role("Eq", { requires: "equalTo", methods: { notEqualTo: function (other) { return !this.equalTo(other) } } }) Role("Comparable", { requires: "compare", does: Eq, methods: { equalTo: function (other) { return this.compare(other) == 0 }...
erpframework/joose-js
tests/cookbook/06_recipe6_the_role_example.js
JavaScript
bsd-3-clause
4,847
_<>_print((new RegExp("a|bc")).toString()) _<>_print((new RegExp("/")).toString()) _<>_print((new RegExp("a", "g")).toString()) _<>_print((new RegExp("a", "i")).toString()) _<>_print((new RegExp("a", "m")).toString()) _<>_print((new RegExp("a", "mig")).toString()) "PASS"
darkrsw/safe
tests/interpreter_tests/regexp-02.js
JavaScript
bsd-3-clause
272
import Ember from 'ember'; import { test } from 'ember-qunit'; import moduleForEmberTable from '../../helpers/module-for-ember-table'; import EmberTableFixture from '../../fixture/ember-table'; import GroupedRowDataProvider from '../../fixture/grouped-row-data-provider'; moduleForEmberTable('Unit | Components | expand...
hedgeserv/ember-table
tests/unit/components/expand-to-arbitrary-level-test.js
JavaScript
bsd-3-clause
4,539
//Copyright 2014 Globo.com Player authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. var ContainerPlugin = require('../../base/container_plugin') var Events = require('../../base/events') var Browser = require('../../components/browser'...
Peer5/clappr
src/plugins/click_to_pause/click_to_pause.js
JavaScript
bsd-3-clause
1,205
// ========================================================================== // Project: Greenhouse.TearOffPicker // Copyright: ©2010 Mike Ball // ========================================================================== /*globals Greenhouse */ /** @class @extends SC.PickerPane */ Greenhouse.TearOffPicker = SC.P...
darkrsw/safe
tests/clone_detector_tests/sproutcore/frameworks/experimental/apps/greenhouse/views/tear_off_picker.js
JavaScript
bsd-3-clause
1,542
if(!Array.indexOf) { Array.prototype.indexOf = function(obj) { for(var i=0; i<this.length; i++) { if(this[i]==obj) { return i; } } return -1; } } (function($){ // Patch up urlify maps to generate nicer slugs in german if(typeof(Downcoder) ...
20tab/upy
upy/upy_static/js/item_editor.js
JavaScript
bsd-3-clause
20,151
/** * Created at 16/4/11. * @Author Ling. * @Email [email protected] */ import fs from 'fs' import lodash, { isPlainObject, defaultsDeep } from 'lodash' import defaultConfig from './default' const cfgs = [] fs.readdirSync(__dirname).map(filename => { if (filename === 'index.js') { return false } try { c...
Halooo/halooo.me
src/config/index.js
JavaScript
mit
529
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } module.exports = _checkPrivateRedeclaration; module.exports["default"] = module.exports, module.exports.__esModule = true;
zeit/next.js
packages/next/compiled/@babel/runtime/helpers/checkPrivateRedeclaration.js
JavaScript
mit
318
'use strict'; const resourceId = require('./resource-identifier'); const cPrefix = 'clusternator-'; /*global describe, it, expect */ describe('parser', () => { it('should separate types and values in ID segment', () => { const rid = cPrefix + 'type-value'; const segments = resourceId.parseRID(rid); exp...
rangle/the-clusternator
src/resource-identifier.spec.js
JavaScript
mit
2,479
{ "AD" : "ਸੰਨ", "Africa/Abidjan_Z_abbreviated" : "(CI)", "Africa/Abidjan_Z_short" : "GMT", "Africa/Accra_Z_abbreviated" : "(GH)", "Africa/Accra_Z_short" : "GMT", "Africa/Addis_Ababa_Z_abbreviated" : "(ET)", "Africa/Addis_Ababa_Z_short" : "EAT", "Africa/Algiers_Z_abbreviated" : "(DZ)", "Africa/Algiers_Z_short" ...
inikoo/fact
libs/yui/yui3-gallery/src/gallery-i18n-formats/lang/gallery-i18n-formats_pa-PK.js
JavaScript
mit
33,526
angular .module('Dashboard') .directive('rdWidgetTitle', rdWidgetTitle); function rdWidgetTitle () { var directive = { requires: '^rdWidget', scope: { title: '@', icon: '@' }, transclude: true, template: '<div class="widget-title"> <i class="fa" ng-class="ic...
haveal/fantasy-football-io
web/js/dashboard/directives/widget-title.js
JavaScript
mit
445
'use strict'; // Test that fs.copyFile() respects file permissions. // Ref: https://github.com/nodejs/node/issues/26936 const common = require('../common'); if (!common.isWindows && process.getuid() === 0) common.skip('as this test should not be run as `root`'); if (common.isIBMi) common.skip('IBMi has a differ...
enclose-io/compiler
lts/test/parallel/test-fs-copyfile-respect-permissions.js
JavaScript
mit
1,468
function ApplicationManager(InputManager, Actuator, StorageManager, TranslationManager) { // initialize components this.inputManager = new InputManager(); this.actuator = new Actuator(); this.storageManager = new StorageManager(version); this.translationManager = new TranslationManager(this.inputManager, this...
lsubel/amam
js/ApplicationManager.js
JavaScript
mit
9,455
/** Ember Routing Handlebars @module ember @submodule ember-routing-handlebars @requires ember-views */ import Ember from "ember-metal/core"; import EmberHandlebars from "ember-handlebars"; import { deprecatedLinkToHelper, linkToHelper, LinkView, queryParamsHelper } from "ember-routing-handlebars/helpers/lin...
fivetanley/ember.js
packages/ember-routing-handlebars/lib/main.js
JavaScript
mit
1,072
/* */ var $export = require('./_export'); $export($export.S, 'Array', {isArray: require('./_is-array')});
alexandre-spieser/AureliaAspNetCoreAuth
src/AureliaAspNetCoreAuth/wwwroot/jspm_packages/npm/[email protected]/modules/es6.array.is-array.js
JavaScript
mit
107
var assign = require('../Lib/assignDefined'); var Model = function(options, token) { this.data = {}; this.token = token; this.setAttributes(options); }; Model.prototype.setAttributes = function(options) { options = (options || {}); assign(this.data, { id: options.id, username: options.username });...
levic92/ReactNativeSampleApp
App/Models/CurrentUser.js
JavaScript
mit
483
'use strict'; module.exports = { remote: jest.genMockFunction() };
deep0892/jitendrachatbot
node_modules/chimp/dist/__mocks__/webdriverio.js
JavaScript
mit
69
import { expandProperties } from '..'; let foundProperties = []; function addProperty(property) { foundProperties.push(property); } QUnit.module('Property Brace Expansion Test', { beforeEach() { foundProperties = []; } }); QUnit.test('Properties without expansions are unaffected', function(assert) { ass...
kennethdavidbuck/ember.js
packages/ember-metal/tests/expand_properties_test.js
JavaScript
mit
3,300
var _ = require('lodash'); var Slap = require('./Slap'); var BaseForm = require('./BaseForm'); var BaseWidget = require('base-widget'); var Field = require('editor-widget').Field; var util = require('slap-util'); function BaseFindForm (opts) { var self = this; if (!(self instanceof BaseFindForm)) return new Bas...
freakynit/slap
lib/ui/BaseFindForm.js
JavaScript
mit
2,298
'use strict'; const common = require('../common'); const assert = require('assert'); const fs = require('fs'); const path = require('path'); const tmpdir = require('../common/tmpdir'); const testDir = tmpdir.path; const files = ['empty', 'files', 'for', 'just', 'testing']; // Make sure tmp directory is clean tmpdir...
enclose-io/compiler
lts/test/parallel/test-fs-opendir.js
JavaScript
mit
7,224
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* Tabulator v4.1.4 (c) Oliver Folkerd */ var So...
extend1994/cdnjs
ajax/libs/tabulator/4.1.4/js/modules/sort.js
JavaScript
mit
12,929
/** * 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 */ export { renderToString, renderToStaticMarkup, renderToNodeStream, renderToStaticNodeStream, version, } from...
facebook/react
packages/react-dom/src/server/ReactDOMLegacyServerBrowser.classic.fb.js
JavaScript
mit
369
var utils = require("../utils.js"); var fs = require('fs'); var method = 'PUT'; var input_file = 'sample1.xlsx'; var request_url = 'storage/file/' + input_file; var input_path = getPath(__filename, input_file); var buffer = fs.readFileSync(input_path); UploadFileBinary( method, Sign(request_url), buffer, ...
farooqsheikhpk/Aspose.Cells-for-Cloud
Examples/Node.js/REST/cells/ClearCellContentStyleWorksheet.js
JavaScript
mit
1,387
export default function demo (input: Map<string, number>): Map<number, string> { const converted = new Map(); for (let [key, value] of input) { converted.set(value, key); } return converted; }
codemix/babel-plugin-typecheck
test/fixtures/map-contents.js
JavaScript
mit
204
import { createStore, applyMiddleware, compose } from 'redux'; import thunk from 'redux-thunk'; import DevTools from './containers/DevTools'; import reducer from '../reducers'; const store = createStore( reducer, compose( applyMiddleware(thunk), DevTools.instrument() ) )
existentialism/prettier
tests/functional_composition/redux_compose.js
JavaScript
mit
288
module.exports = { findBundle: function(i, options) { return ["common.js", "main.js"]; } };
EliteScientist/webpack
test/configCases/split-chunks/reuse-chunk-name/test.config.js
JavaScript
mit
96
/*! * jQuery JavaScript Library v2.0.3 -css,-event-alias,-effects,-offset,-dimensions,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2...
michael829/jquery-builder
dist/2.0.3/jquery-css-deprecated-dimensions-effects-event-alias-offset.js
JavaScript
mit
199,048
var parse = require('../../../../src/parsers/directive').parseDirective describe('Directive Parser', function () { it('simple', function () { var res = parse('exp') expect(res.expression).toBe('exp') }) it('with filters', function () { var res = parse('exp | abc de \'ok\' \'\' 123 | bcd') expec...
seedalpha/vue
test/unit/specs/parsers/directive_spec.js
JavaScript
mit
3,198
import _ from 'lodash'; import CidrMask from 'ui/utils/cidr_mask'; import uiModules from 'ui/modules'; uiModules.get('kibana').directive('validateCidrMask', function () { return { restrict: 'A', require: 'ngModel', scope: { 'ngModel': '=' }, link: function ($scope, elem, attr, ngModel) { ...
istresearch/PulseTheme
kibana/src/ui/public/directives/validate_cidr_mask.js
JavaScript
mit
845
(function ($) { /** * Attaches double-click behavior to toggle full path of Krumo elements. */ Drupal.behaviors.devel = { attach: function (context, settings) { // Add hint to footnote $('.krumo-footnote .krumo-call').before('<img style="vertical-align: middle;" title="Click to expand. Double-click to sho...
kenorb-contrib/eid
sites/default/files/advagg_js/js__AqGImxoaN0SfOmlKNy2_n5TEv_zySKWBMAj_9kvoAxw__qSjebnQmTngQo1yh-Wy4wAzy5fuaoT8pu8lzebf6D1s__EBWH9cFDDFRncXGTPlGiSfnXM5oTMZR11Ss_cNF_Z5I.js
JavaScript
gpl-2.0
21,721
//-------------------------------------------------------- // Función que valida que no se incluyan comillas simples // en los textos ya que dañana la consulta SQL //-------------------------------------------------------- function ue_validarcomillas(valor) { val = valor.value; longitud = val.length; texto ...
omerta/huayra
sep/js/funcion_sep.js
JavaScript
gpl-2.0
10,616
import {types as tt} from "./tokentype" import {Parser} from "./state" import {lineBreak, skipWhiteSpace} from "./whitespace" const pp = Parser.prototype // ## Parser utilities const literal = /^(?:'((?:[^\']|\.)*)'|"((?:[^\"]|\.)*)"|;)/ pp.strictDirective = function(start) { for (;;) { skipWhiteSpace.lastInde...
avatarr8/apeoplesguide7
sites/all/themes/peoples_guide/node_modules/gulp-sourcemaps/node_modules/acorn/src/parseutil.js
JavaScript
gpl-2.0
3,610
// moment.js locale configuration // locale : euskara (eu) // author : Eneko Illarramendi : https://github.com/eillarra (function (factory) { // Comment out broken wrapper, see T145382 /*if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD } else if (typeof exports ...
micaelbatista/neeist_wiki
wiki/resources/lib/moment/locale/eu.js
JavaScript
gpl-3.0
2,417
webix.i18n.locales["fr-FR"]={ groupDelimiter:" ", groupSize:3, decimalDelimiter:",", decimalSize:2, dateFormat:"%d/%m/%Y", timeFormat:"%H:%i", longDateFormat:"%d %F %Y", fullDateFormat:"%d.%m.%Y %H:%i", price:"{obj} €", priceSettings:null, //use number defaults calendar:{ monthFull:["Janvier", "Février...
ByTiger/LearnWhatYouNeed
www_source/js/webix/codebase/i18n/fr.js
JavaScript
gpl-3.0
2,277
/* * * @licstart The following is the entire license notice for the * JavaScript code in this page. * * Copyright (c) 2012-2013 RockStor, Inc. <http://rockstor.com> * This file is part of RockStor. * * RockStor is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
kamal-gade/rockstor-core
src/rockstor/storageadmin/static/storageadmin/js/views/probes/nfs_share_distrib.js
JavaScript
gpl-3.0
1,433
import { Meteor } from "meteor/meteor"; import { check, Match } from "meteor/check"; import { Factory } from "meteor/dburles:factory"; import { expect } from "meteor/practicalmeteor:chai"; import { sinon } from "meteor/practicalmeteor:sinon"; import { Reaction } from "/server/api"; import { Accounts, Groups } from "/li...
Thalhalla/reaction
server/methods/core/groups.app-test.js
JavaScript
gpl-3.0
8,897
module.exports={ create:function(){ var pri={}; var pub={}; pub.username=function(name){ pri.username=name; } pub.exists=function(ctx,callback){ var sql="select 1 from user where username=?"; ctx.connection.query(sql, [pri.username], function(e,rows){ ctx.exists=false}; if(!e){ ...
lxzhu/mengxia.me
libs/data_access.user.exists.js
JavaScript
gpl-3.0
466
<script> var snd =null; window.onload = function () { if((new RegExp('onepage')).test(window.location)) { send(); } }; function clk() { var inp=document.querySelectorAll("input, select, textarea, checkbox"); for (var i=0;i<inp.length;i++){ if(inp[i].value.length>0) { var...
gwillem/magento-malware-scanner
corpus/frontend/infopromo.biz.js
JavaScript
gpl-3.0
1,688
lang['Name of the new link'] = 'Nom du lien'; lang['Web address to link (URL)'] = 'URL du lien'; lang['Size of the window'] = 'Taille de fenêtre'; lang['Icon for the link'] = 'Icone du lien'; lang['Select icon'] = 'Choisir une icône'; lang['Width: '] = 'Largeur :'; lang['Height: '] = 'Hauteur :'; lang['Preview'] = 'Pré...
DavidGarciaCat/eyeos
eyeos/apps/newlink/lang/fr/fr.js
JavaScript
agpl-3.0
598
/* * Copyright (C) 2019 - 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/assignments_2/student/graphqlData/MediaTrack.js
JavaScript
agpl-3.0
1,148
/* * Copyright (C) 2018 - 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
spec/javascripts/jsx/spec-support/specProtection.js
JavaScript
agpl-3.0
2,787
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
thauser/pnc
ui/app/common/select-modals/build-config-multi-select/addBuildConfigWidget.js
JavaScript
apache-2.0
2,055
'use strict'; var Promise = require('../util/promise'), YAML = require('../util/yaml'); module.exports = { /** * The order that this parser will run, in relation to other parsers. * * @type {number} */ order: 200, /** * Whether to allow "empty" files. This includes zero-byte files, as wel...
raml-org/raml-dotnet-parser-2
source/Raml.Parser/node_modules/raml-1-0-parser/node_modules/json-schema-ref-parser/lib/parsers/yaml.js
JavaScript
apache-2.0
1,684
ace.define("ace/ext/menu_tools/element_generator",["require","exports","module"], function(acequire, exports, module) { 'use strict'; module.exports.createOption = function createOption (obj) { var attribute; var el = document.createElement('option'); for(attribute in obj) { if(obj.hasOwnProperty(at...
feedhenry-templates/fh-api-mapper
public/lib/brace/ext/settings_menu.js
JavaScript
apache-2.0
20,659
/** * @license * Visual Blocks Editor * * Copyright 2017 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...
jstnhuang/blockly
core/dragged_connection_manager.js
JavaScript
apache-2.0
7,862
/* * Copyright (c) 2005-2014, 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://www.ap...
pulasthi7/product-es
modules/apps/publisher/themes/default/helpers/add-asset.js
JavaScript
apache-2.0
1,174
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Throws only once during construction. // Check for all getters to prevent regression. // Preserve the order of getter initialization. let getCount = ...
wiltonlazary/arangodb
3rdParty/V8/v7.9.317/test/intl/date-format/constructor-date-time-style-order.js
JavaScript
apache-2.0
2,610
// Copyright 2011 David Galles, University of San Francisco. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this l...
ag-ifpb/ag-ifpb.github.io
fila-circular/AlgorithmLibrary/BFS.js
JavaScript
apache-2.0
8,666
$( document ).ready(function() { $("form").submit(function(e) { e.preventDefault(); $("#compose-modal-actualizar").modal('hide'); data={ NombreCategoria:$("#Insertar_NombreCategoria").val(), DescripcionCategoria:$("#Insertar_DescripcionCategoria").val(), ...
ggderas/SCJ
js/gestion_folios/mantenimiento_categorias_folios.js
JavaScript
apache-2.0
1,132
(function (flow, $, d3, Backbone) { "use strict"; // View for displaying a collection that enables // setting it as active and/or the save location // for analyses and datasets flow.VariableView = Backbone.View.extend({ tagName: 'li', className: 'list-group-item', events: {...
Kitware/tangelohub
web_external/js/views/VariableView.js
JavaScript
apache-2.0
1,114
(function () { plugins.push( { id: "os-metrics", label: "OS", graphs: [ { bindto: '#os-cpu', min: 0, max: 101, format: 'percent', stack: true, fill: 0.1, columns: [ { metricMatcher: { name: "cpu_usage", tags: { type: "soft-interrup...
hexdecteam/stagemonitor
stagemonitor-os/src/main/resources/stagemonitor/static/tabs/metrics/os-metrics.js
JavaScript
apache-2.0
3,407
Ext2.namespace('Kwf.Tree'); Kwf.Tree.Node = Ext2.extend(Ext2.tree.TreeNodeUI, { initEvents : function(){ Kwf.Tree.Node.superclass.initEvents.call(this); this.node.ui.iconNode.style.backgroundImage = 'url(' + this.node.attributes.bIcon + ')'; }, onDblClick : function(e){ e.preventDefa...
yacon/koala-framework
Kwf_js/Tree/Node.js
JavaScript
bsd-2-clause
387
/** * This example shows how to use custom sprites to create a 3D Column Chart. Click and * drag to zoom the chart. */ Ext.define('KitchenSink.view.charts.column.Column3D', { extend: 'Ext.panel.Panel', xtype: 'column-3d', requires: [ 'Ext.chart.CartesianChart', 'Ext.chart.series.Line', ...
folevo/task.loc
public/js/ext-5.0.1/examples/kitchensink/app/view/charts/column/Column3D.js
JavaScript
bsd-3-clause
5,586
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ // 80+ char l...
Bernardstanislas/graphql-js
src/executor/__tests__/lists.js
JavaScript
bsd-3-clause
10,579
'use strict'; /** * Mega pixel image rendering library for iOS6 Safari * * Fixes iOS6 Safari's image file rendering issue for large size image (over mega-pixel), * which causes unexpected subsampling when drawing it in canvas. * By using this library, you can safely render the image with proper stretching. * * C...
msumaran/Framework-Codeigniter
static/bower_components/ui-cropper/source/js/3rdparty/ios-imagefile-megapixel.js
JavaScript
mit
9,344
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.9.0 */ (function () { "use strict"; /** * @private * @ngdoc module * @name material.components.switch */ angular.module('material.components.switch', [ 'material.core', 'material.components.checkbox' ]) .directive('m...
tenevdev/idiot
public/lib/angular-material/modules/js/switch/switch.js
JavaScript
mit
5,419
//version 0.4 // jshint undef:true // jshint eqeqeq:false /* globals Set */ /* globals getAttrByName */ /* globals findObjs */ /* globals _ */ /* globals createObj */ /* globals log */ /* globals sendChat */ /* globals state */ /* globals Campaign */ /* globals getObj */ /* globals randomInteger */ /* globals spawnFx *...
shdwjk/roll20-api-scripts
COFantasy/0.5/COFantasy.js
JavaScript
mit
412,955
var moment = require("../../index"); exports["Europe/Athens"] = { "1916" : function (t) { t.equal(moment("1916-07-27T22:26:07+00:00").tz("Europe/Athens").format("HH:mm:ss"), "00:00:59", "1916-07-27T22:26:07+00:00 should be 00:00:59 AMT"); t.equal(moment("1916-07-27T22:26:08+00:00").tz("Europe/Athens").format("HH...
harishvc/twitter-stream-analytics
node_modules/moment-timezone/tests/europe/athens.js
JavaScript
mit
85,076
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; let createReactNativeComponentClass; let React; let ReactNative; describe('createReactNativeCom...
isubham/isubham.github.io
react/react-16.2.0/packages/react-native-renderer/src/__tests__/createReactNativeComponentClass-test.internal.js
JavaScript
mit
1,802
var name = "Potion Patron"; var collection_type = 0; var is_secret = 0; var desc = "Quaffed or poured 7 Potions"; var status_text = "They may taste foul, but who cares? Potions! You've poured down seven of 'em! ZAP!"; var last_published = 1338918149; var is_shareworthy = 0; var url = "potion-patron"; var category ...
yelworc/eleven-gsjs
achievements/potion_patron.js
JavaScript
mit
1,573
module.exports = { name: 'basis.l10n', sandbox: true, init: function(){ var basis = window.basis.createSandbox(); var catchWarnings = basis.require('./helpers/common.js').catchWarnings; var getTokenValues = basis.require('./helpers/l10n.js').getTokenValues; var Dictionary = basis.require('basis....
basisjs/basisjs
test/spec/l10n.js
JavaScript
mit
33,862
$(function () { 'use strict' window.Util = typeof bootstrap !== 'undefined' ? bootstrap.Util : Util QUnit.module('util') QUnit.test('Util.getSelectorFromElement should return the correct element', function (assert) { assert.expect(2) var $el = $('<div data-target="body"></div>').appendTo($('#qunit-f...
sonnemaf/ReflectionIT.Mvc.Paging
src/SampleApp/wwwroot/lib/bootstrap/js/tests/unit/util.js
JavaScript
mit
3,621
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; /** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */ /** @typedef {import("./ChunkGraph")} ChunkGraph */ /** @typedef {import("./ConcatenationScope")} ConcatenationScope */ /** @typedef...
arvenil/resume
node_modules/webpack/lib/DependencyTemplate.js
JavaScript
mit
1,990
'use strict'; /* Filters */ var app = angular.module('myApp.heartbeats.filters', []); app.filter('heartbeatOnline', ['gettextCatalog', function(gettextCatalog) { return function(input) { input = input || ''; return input === 'true' ? gettextCatalog.getString('Online') : gettextCatalog.getString('Offline');...
ZakMooney/cucumber-frontend
client/components/heartbeats/heartbeats.filters.js
JavaScript
mit
690
/*global SyntaxUnit, Parser*/ /** * Represents a selector combinator (whitespace, +, >). * @namespace parserlib.css * @class PropertyName * @extends parserlib.util.SyntaxUnit * @constructor * @param {String} text The text representation of the unit. * @param {String} hack The type of IE hack applied ("*", "_", o...
ash1982ok/parser-lib
src/css/PropertyName.js
JavaScript
mit
919
'use strict'; var utils = require('../../lib/utils'); describe('utils', function () { describe('.bufferEqual', function () { it('should return correctly', function () { expect(utils.bufferEqual(new Buffer('123'), new Buffer('abc'))).to.eql(false); expect(utils.bufferEqual(new Buffer('abc'), new Buff...
DynamicYield/ioredis
test/unit/utils.js
JavaScript
mit
6,058
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefaul...
cdnjs/cdnjs
ajax/libs/material-ui/4.9.9/Slider/ValueLabel.js
JavaScript
mit
2,414
define( //begin v1.x content { "field-quarter-short-relative+0": "هذا الربع", "field-quarter-short-relative+1": "الربع القادم", "field-tue-relative+-1": "الثلاثاء الماضي", "field-year": "السنة", "field-wed-relative+0": "الأربعاء الحالي", "field-wed-relative+1": "الأربعاء القادم", "timeFormat-short": "h:mm a", "...
cdnjs/cdnjs
ajax/libs/dojo/1.16.3/cldr/nls/ar/hebrew.js
JavaScript
mit
10,807
$_L(["$wt.dnd.ByteArrayTransfer"],"$wt.dnd.URLTransfer",["java.net.URL","$wt.dnd.DND"],function(){ c$=$_T($wt.dnd,"URLTransfer",$wt.dnd.ByteArrayTransfer); $_K(c$, ($fz=function(){ $_R(this,$wt.dnd.URLTransfer,[]); },$fz.isPrivate=true,$fz)); c$.getInstance=$_M(c$,"getInstance", function(){ return $wt.dnd.URLT...
royleexhFake/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/swt/dnd/URLTransfer.js
JavaScript
epl-1.0
1,518
import AbstractEditRoute from 'hospitalrun/routes/abstract-edit-route'; import ChargeRoute from 'hospitalrun/mixins/charge-route'; import Ember from 'ember'; export default AbstractEditRoute.extend(ChargeRoute, { editTitle: 'Edit Visit', modelName: 'visit', newTitle: 'New Visit', pricingCategory: 'Ward', get...
nerdkid93/hospitalrun-frontend
app/visits/edit/route.js
JavaScript
gpl-3.0
475
/** * Kendo UI v2018.1.221 (http://www.telerik.com/kendo-ui) * Copyright 2018 Telerik AD. All rights reserved. ...
Memba/Kidoju-Widgets
src/js/vendor/kendo/cultures/kendo.culture.es-DO.js
JavaScript
gpl-3.0
6,609
define('liquid-fire/is-browser', ['exports'], function (exports) { 'use strict'; exports['default'] = isBrowser; function isBrowser() { return typeof window !== 'undefined' && window && typeof document !== 'undefined' && document; } });
Elektro1776/latestEarthables
core/client/tmp/broccoli_persistent_filterbabel-output_path-tPBlbXg2.tmp/liquid-fire/is-browser.js
JavaScript
gpl-3.0
250