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
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt frappe.utils.full_name = function(fn, ln) { return fn + (ln ? ' ' : '') + (ln ? ln : '') } function fmt_money(v, format){ // deprecated! // for backward compatibility return format_currency(v, format); } // to ...
ESS-LLP/frappe
frappe/public/js/legacy/datatype.js
JavaScript
mit
2,361
angular.module('airlineServices', ['ngResource']) .factory('Airport', function ($resource) { return $resource('/airports/:airportCode'); }) .factory('Flights', function ($resource) { return $resource('/flights'); }) .factory('Reservations', function ($resource) { return $resource('/reservations'); });
MatteoNY/demoGIT
public/js/services.js
JavaScript
mit
317
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.2 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extend...
extend1994/cdnjs
ajax/libs/ag-grid/19.1.2/lib/filter/dateFilter.js
JavaScript
mit
14,922
const args = ["run build"]; const opts = { stdio: "inherit", cwd: "client", shell: true }; require("child_process").spawn("npm", args, opts);
gowrimanoharir/NYTimes-Search-React
scripts/build.js
JavaScript
mit
142
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
Microsoft/ChakraCore
test/DebuggerCommon/blockScopeFunctionDeclarationSlotArrayTest.js
JavaScript
mit
727
import React from 'react' import { useIdk } from '../context' const Page = () => { const idk = useIdk() console.log(idk) return ( <> <p>Value: {idk}</p> </> ) } export default Page
flybayer/next.js
test/integration/ssr-ctx/pages/index.js
JavaScript
mit
207
module.exports={A:{A:{"2":"H D G E A B fB"},B:{"2":"1 C p J L N I"},C:{"2":"1 3 dB FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t u v bB VB","129":"0 2 5 6 7 8 9 w x y z BB CB DB"},D:{"1":"0 2 5 6 7 8 9 y z BB CB DB GB PB KB IB gB LB MB NB","2":"1 3 F K H D G E A B C p J L ...
jerrysam/jeromeminney-staging
node_modules/caniuse-lite/data/features/auxclick.js
JavaScript
mit
862
import React from 'react'; import ReactDOM from 'react-dom'; import Columns from '../columns'; import Lists from '../stores/Lists'; import CreateForm from '../components/CreateForm'; import EditForm from '../components/EditForm'; import EditFormHeader from '../components/EditFormHeader'; import FlashMessages from '../c...
efernandesng/keystone
admin/client/views/item.js
JavaScript
mit
3,792
import mapWebGLBlendModesToPixi from './utils/mapWebGLBlendModesToPixi'; const BLEND = 0; const DEPTH_TEST = 1; const FRONT_FACE = 2; const CULL_FACE = 3; const BLEND_FUNC = 4; /** * A WebGL state machines * * @memberof PIXI * @class */ export default class WebGLState { /** * @param {WebGLRenderingConte...
curtiszimmerman/pixi.js
src/core/renderers/webgl/WebGLState.js
JavaScript
mit
5,931
YUI.add('aui-ace-autocomplete-plugin', function (A, NAME) { var Plugin = A.Plugin; /** * Binds an AutoCompleteList instance to a Node instance. * * @module aui-ace-editor * @submodule aui-ace-autocomplete-plugin * * @class A.Plugin.AceAutoCompleteList * @extends A.AceEditor.AutoCompleteList */ function ACLis...
marclundgren/marclundgren.github.io
node-checkpoints/build/aui-ace-autocomplete-plugin/aui-ace-autocomplete-plugin.js
JavaScript
mit
818
/**! * * Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file. */ 'use strict'; var assert = require('chai').assert; var landingparty = require('../../../lib/landingparty'); var pluck = require('lodash.pluck'); describe('Client', function() { describe('Services', function() { describe('Mashups', fun...
Josh-Dykstra/spark-js-sdk
test/integration/spec/services/mashups/get.js
JavaScript
mit
3,260
/*! UIkit 3.2.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) : typeof define === 'function' && define.amd ? define('uikitfilter', ['uikit-util'],...
sufuf3/cdnjs
ajax/libs/uikit/3.2.0/js/components/filter.js
JavaScript
mit
12,431
require('../../../modules/es.array.map'); module.exports = require('../../../internals/entry-virtual')('Array').map;
AntonyThorpe/knockout-apollo
tests/node_modules/core-js/es/array/virtual/map.js
JavaScript
mit
118
/*! * jQuery JavaScript Library v2.0.3 -sizzle,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects * 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: 20...
eric-seekas/jquery-builder
dist/2.0.3/jquery-ajax-effects-sizzle.js
JavaScript
mit
141,070
/*! * ZUI: 1.2升级到1.3兼容插件 - v1.9.1 - 2019-05-10 * http://zui.sexy * GitHub: https://github.com/easysoft/zui.git * Copyright (c) 2019 cnezsoft.com; Licensed MIT */ /* ======================================================================== * ZUI: zui.migrate.1.2.js * This file inclues some helper methods to help...
joeyparrish/cdnjs
ajax/libs/zui/1.9.1/lib/migrate1.2/zui.migrate1.2.js
JavaScript
mit
1,521
module.exports = function (fu, assert) { return { property: function () { var a = { a: 1 } var p = fu.property('a') assert.isFunction(p) assert.equal(p(a), 1) }, pluck: function () { var a = [{ name: 'Dog', age: 2 }, { name: 'Cat', age: 4 }] var pluck = fu.map(fu.prope...
melbourne2991/joffreyjs
node_modules/grunt-fixmyjs/node_modules/fixmyjs/node_modules/fu/test/property-test.js
JavaScript
mit
713
import { getName, getSrc, isValid } from './utils'; export class Icon { constructor() { this.isVisible = false; this.lazy = false; } componentWillLoad() { this.waitUntilVisible(this.el, '50px', () => { this.isVisible = true; this.loadIcon(); ...
extend1994/cdnjs
ajax/libs/ionicons/4.5.0-0/collection/icon/icon.js
JavaScript
mit
6,118
/* * @version : 1.5.0 - A Bridge.NET implementation of Newtonsoft.Json * @author : Object.NET, Inc. http://www.bridge.net/ * @copyright : Copyright (c) 2008-2018, Object.NET, Inc. (http://www.object.net/). All rights reserved. * @license : See license.txt and https://github.com/bridgedotnet/Bridge.NET/blob/m...
extend1994/cdnjs
ajax/libs/Bridge.NET/16.7.1/newtonsoft.json.js
JavaScript
mit
70,430
/** * @fileoverview Internal rule to prevent missing or invalid meta property in core rules. * @author Vitor Balocco */ "use strict"; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ /** * ...
DavidAnson/eslint
tools/internal-rules/no-invalid-meta.js
JavaScript
mit
4,387
var searchData= [ ['multiply',['multiply',['../classcom_1_1thalmic_1_1myo_1_1_quaternion.html#a235bcc2ae797a156969ce56d29bc5394',1,'com.thalmic.myo.Quaternion.multiply()'],['../classcom_1_1thalmic_1_1myo_1_1_vector3.html#aa080de1887854ac414deeac1027c896b',1,'com.thalmic.myo.Vector3.multiply()']]] ];
basrin/MinerSafetySystem
myo-android-sdk-0.6.0 2/docs/search/functions_5.js
JavaScript
mit
303
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: GetValue(V) mast fail es5id: 8.7.2_A1_T2 description: Checking if execution of "1=1" fails negative: ReferenceError ---*/ 1=1;
PiotrDabkowski/Js2Py
tests/test_cases/language/types/reference/S8.7.2_A1_T2.js
JavaScript
mit
273
(function($) { "use strict"; // Options for Message //---------------------------------------------- var options = { 'btn-loading': '<i class="fa fa-spinner fa-pulse"></i>', 'btn-success': '<i class="fa fa-check"></i>', 'btn-error': '<i class="fa fa-remove"></i>', 'msg-success': 'All Good! Redirec...
aleksvidak/clojure-beer
resources/public/js/login.js
JavaScript
epl-1.0
4,117
/** * External dependencies */ import tzdetect from 'jstimezonedetect'; /** * Detect and return the current timezone of the browser * * @return {String} timezone */ export function timezone() { var detected = tzdetect.jstz.determine(); return detected ? detected.name() : null; }
Kimsangcheon/wp-calypso
client/lib/mixins/i18n/timezone.js
JavaScript
gpl-2.0
289
jQuery( function( $ ) { $('body').on( 'keyup', '.wcpbc_sale_price[type=text]', function(){ var sale_price_field = $(this); var regular_price_field = $('#' + sale_price_field.attr('id').replace('_sale','_regular') ) ; var sale_price = parseFloat( accounting.unformat( sale_price_field.val(), woocommer...
jonasbelcina/jaipurgems
wp-content/plugins/woocommerce-product-price-based-on-countries/assets/js/wcpbc-admin.js
JavaScript
gpl-2.0
2,574
'use strict'; /** * @file calendar.js * @author dxh */ require('../coord/calendar/Calendar'); require('../coord/calendar/CalendarModel'); require('./calendar/CalendarView');
mo-norant/FinHeartBel
website/node_modules/echarts/lib/component/calendar.js
JavaScript
gpl-3.0
194
/*global FormData*/ "use strict"; var $ = require('jquery'), _ = require('lodash'), Bacon = require('baconjs'), BU = require('treemap/lib/baconUtils.js'), R = require('ramda'), statusView = require('importer/lib/status.js'); var dom = { container: '#importer', tablesContainer: '#import-tab...
jwalgran/otm-core
opentreemap/importer/js/src/lib/importsList.js
JavaScript
gpl-3.0
5,138
import AppointmentStatuses from 'hospitalrun/mixins/appointment-statuses'; import { moduleFor, test } from 'ember-qunit'; import Ember from 'ember'; moduleFor('mixin:appointment-statuses', 'Unit | Mixin | appointment-statuses'); test('appointmentStatusList', function(assert) { let appointmentStatuses = Ember.Object...
tsaron/dariya
tests/unit/mixins/appointment-statuses-test.js
JavaScript
gpl-3.0
1,441
/** * Cesium - https://github.com/CesiumGS/cesium * * Copyright 2011-2020 Cesium Contributors * * 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...
ArduPilot/MissionPlanner
ExtLibs/wasm/wwwroot/Cesium/Workers/EllipsoidTangentPlane-db8f747d.js
JavaScript
gpl-3.0
21,478
import _ from 'lodash'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { fetchIndexerSchema, selectIndexerSchema } from 'Store/Actions/settingsActions'; import AddIndexerModalContent from './AddIndexe...
Radarr/Radarr
frontend/src/Settings/Indexers/Indexers/AddIndexerModalContentConnector.js
JavaScript
gpl-3.0
1,776
var __mask_oldValue = ""; var __mask_mask = ""; function _maskFocus( _field, _mask ){ oldValue = _field.value; __mask_mask = _mask; _maskCheck(_field); } function _maskCheck( field ){ var fieldValue = field.value; if ( fieldValue.length > __mask_mask.length ){ fieldValue = fieldValue.substring(0,__mask_ma...
OpenBD/openbd-core
webapp/bluedragon/scripts/mask.js
JavaScript
gpl-3.0
1,753
/* 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) 2014 Mozilla Corporation Contributors: Jeff Bryner jbryner@mozilla.com Anthony Verez averez@mozilla.com */ ...
eXcomm/MozDef
meteor/app/client/alertsummary.js
JavaScript
mpl-2.0
24,424
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); exports.mount = mount; exports.withOptions = withOptions; function _interopRequireDefau...
ed1d1a8d/macweb
node_modules/react-mounter/dist/index.js
JavaScript
agpl-3.0
1,161
import React from 'react'; import { Zerotorescue } from 'CONTRIBUTORS'; import DiscordLogo from 'interface/images/Discord-Logo+Wordmark-White.svg'; import RegularArticle from 'interface/news/RegularArticle'; import DiscordBotGif from './discord-bot.gif'; export default ( <RegularArticle title="The WoWAnalyzer ...
fyruna/WoWAnalyzer
src/articles/2017-10-21-DiscordBot/index.js
JavaScript
agpl-3.0
1,960
function irrelevant() { return "irrelevant"; }
qt-labs/qbs
tests/auto/blackbox/testdata/import-change-tracking/irrelevant.js
JavaScript
lgpl-2.1
47
/** A control designed to display data stored in a mojodb database as a list of rows. A DbList uses an <a href="#enyo.VirtualList">enyo.VirtualList</a> to manage list rendering. */ enyo.kind({ name: "enyo.DbList", kind: enyo.VirtualList, published: { pageSize: 20, desc: false }, events: { /** Fires when a ...
enyojs/enyo-1.0
framework/source/palm/list/DbList.js
JavaScript
apache-2.0
4,159
// // When you open windows outside of tab groups, they are appear on top of either // the current window or the current tab group. These examples show you different ways // to open windows outside of tab groups. // function win_standalone(_args) { var isMobileWeb = Ti.Platform.osname === 'mobileweb', isTiz...
ashcoding/KitchenSink
Resources/ui/common/baseui/window_standalone.js
JavaScript
apache-2.0
11,289
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
hsanjuan/one
src/sunstone/public/app/tabs/users-tab/panels/groups.js
JavaScript
apache-2.0
2,587
(function(context){ })(window)
postmanlabs/postman-chrome-interceptor
extension/index.js
JavaScript
apache-2.0
32
/** * @file Defines simple walkers for analysis * @author sewon326.kim@samsung.com */ const walk = require('acorn/dist/walk'); /** * Returns a walker that does nothing for each node. * Use as a base walker when you need to walk on only some types of nodes. * @return {Object} */ function makeNoopWalker() { ...
webida/yatern
lib/util/myWalker.js
JavaScript
apache-2.0
9,114
var assert = require('assert'), error = require('../../../lib/error/index'), math = require('../../../index'); describe('filter', function() { it('should filter an array with a filter function', function() { function isPositive (x) { return x > 0; } assert.deepEqual(math.filter([6, -2, -1,...
DenisGorbachev/mathjs
test/function/utils/filter.test.js
JavaScript
apache-2.0
1,961
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global'], function(jQuery) { "use strict"; /** * Provide methods for sap.ui.core.routing.Views in sync...
SuicidePreventionSquad/SeniorProject
resources/sap/ui/core/routing/sync/Views-dbg.js
JavaScript
apache-2.0
1,068
/** * Copyright 2015 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...
jasti/amphtml
extensions/amp-analytics/0.1/transport.js
JavaScript
apache-2.0
4,308
var _ = require("lodash"); var Q = require("q"); var path = require("path"); var nunjucks = require("nunjucks"); var escapeStringRegexp = require("escape-string-regexp"); var git = require("./utils/git"); var fs = require("./utils/fs"); var batch = require("./utils/batch"); var pkg = require("../package.json"); // T...
vehar/gitbook
lib/template.js
JavaScript
apache-2.0
11,197
//------------- timeline.js -------------// $(document).ready(function() { }); //sparkline in sidebar area var positive = [1,5,3,7,8,6,10]; var negative = [10,6,8,7,3,5,1] var negative1 = [7,6,8,7,6,5,4] $('#stat1').sparkline(positive,{ height:15, spotRadius: 0, barColor: '#9FC569', type: 'bar' }...
sammosampson/MessageRouteInspector
public/js/pages/timeline.js
JavaScript
bsd-3-clause
1,931
/** * @module montage/core/converter/currency-converter * @requires montage/core/core * @requires montage/core/converter/converter * @requires montage/core/converter/number-converter */ var Montage = require("../core").Montage; var Converter = require("./converter"); var numericValueToString = require("./number-co...
staltz/popcorn
node_modules/montage/core/converter/currency-converter.js
JavaScript
bsd-3-clause
1,794
/******************************************************************************* uBlock Origin - a browser extension to block requests. Copyright (C) 2014-present Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
ric2b/Vivaldi-browser
thirdparty/ublock/src/js/asset-viewer.js
JavaScript
bsd-3-clause
3,578
const logging = require('../../../../../shared/logging'); const ObjectId = require('bson-objectid').default; module.exports = { config: { transaction: true }, async up({transacting: knex}) { logging.info(`Deleting bulk_email_settings setting`); await knex('settings').where({ ...
e10/Ghost
core/server/data/migrations/versions/3.23/02-remove-bulk-email-settings.js
JavaScript
mit
1,503
import { Meteor } from 'meteor/meteor'; import { InstanceStatus } from 'meteor/konecty:multiple-instances-status'; import { SAUMonitorClass } from '../lib/SAUMonitor'; import { settings } from '../../../settings/server'; const SAUMonitor = new SAUMonitorClass(); Meteor.startup(() => { let TroubleshootDisableSession...
Sing-Li/Rocket.Chat
app/statistics/server/startup/monitor.js
JavaScript
mit
613
// monitor.js (c) 2010-2014 Loren West and other contributors // May be freely distributed under the MIT license. // For further details and documentation: // http://lorenwest.github.com/node-monitor (function(root){ // Load dependencies var Monitor = require('./lib/index'), log = Monitor.getLogger('monitor'...
joepi/testingxray
node_modules/monitor/monitor.js
JavaScript
mit
2,228
import MobiledocParser from 'mobiledoc-kit/parsers/mobiledoc/0-2'; import { MOBILEDOC_VERSION } from 'mobiledoc-kit/renderers/mobiledoc/0-2'; import PostNodeBuilder from 'mobiledoc-kit/models/post-node-builder'; const DATA_URL = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs="; import Helpers f...
Hstry/mobiledoc-kit
tests/unit/parsers/mobiledoc/0-2-test.js
JavaScript
mit
4,961
/* * SMTP class written using python's (2.7) smtplib.py as a base */ var net = require('net'); var crypto = require('crypto'); var os = require('os'); var tls = require('tls'); var util = require('util'); var events = require('events'); var starttls = require('starttls'); var SMTPResponse = require('./response'); va...
afooo/nodejs101
node_modules/emailjs/smtp/smtp.js
JavaScript
mit
15,743
import Node from 'src/dataTypes/structures/elements/Node'; import CountryOperators from 'src/operators/geo/CountryOperators'; Country.prototype = new Node(); Country.prototype.constructor = Country; /** * @classdesc Represents an individual country for visualization and spatial * reasoning. * * @description Create...
micahstubbs/moebio_framework
src/dataTypes/geo/Country.js
JavaScript
mit
2,216
var judges = db.people.find({ role: 'judge', email: /@/, twitterScreenName: /\w/ }).map(function(judge) { judge.voteCount = db.votes.count({ personId: judge._id }); return judge; }); judges.sort(function(a,b) { return a.voteCount - b.voteCount; }).forEach(function(judge) { print([judge.voteCount, judge.name, jud...
isaacs/website
migrations/judges-counts.js
JavaScript
mit
347
var exec = require('child_process').exec , path = require('path') , assert = require('assert'); suite('kexec') test('+ kexec() - kexec echovp - two arguments, empty list', function(done) { var echoFile = path.join(__dirname, './files/echovp-empty.sh'); exec(echoFile, function(error, stdout, stderr) { ...
foysavas/node-kexec
test/kexec.testvp-empty.js
JavaScript
mit
457
/** * Passport configuration * * This is the configuration for your Passport.js setup and it where you'd * define the authentication strategies you want your application to employ. * * Authentication scopes can be set through the `scope` property. * * For more information on the available providers, check out: ...
24-7g/sails-auth
config/passport.js
JavaScript
mit
2,053
module.exports = [ require("./whitelist"), // clean require("./endpoint"), // clean require("./pkg"), require("./version"), require("./help"), require("./creds"), require("./whoami"), require("./logout"), require("./tokencheck"), require("./email"), require("./auth"), require("./login"), ...
wisc/spectacle-caching
node_modules/surge/lib/middleware/index.js
JavaScript
mit
595
version https://git-lfs.github.com/spec/v1 oid sha256:924b9da01c4a33c3e31dc5192852363c31660a6f22a19c64369d9107e1d6e959 size 2545
yogeshsaroya/new-cdnjs
ajax/libs/angular.js/1.3.0/i18n/angular-locale_pt-br.js
JavaScript
mit
129
"use strict" var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var DLModels = require("dl-models"); var generateCode = require("../../utils/code-generator"); var map = DLModels.map; var Company = DLModels.master.Company; var BaseManager = require("module-toolkit").BaseManager; var i18n = require(...
danliris/dl-module
src/managers/master/company-manager.js
JavaScript
mit
3,206
/* MIT https://github.com/kenwheeler/cash */ (function(){ "use strict"; var doc = document, win = window, div = doc.createElement('div'), _a = Array.prototype, filter = _a.filter, indexOf = _a.indexOf, map = _a.map, push = _a.push, reverse = _a.reverse, slice = _a.slice, some = ...
joeyparrish/cdnjs
ajax/libs/cash/3.0.0-beta.1/cash.js
JavaScript
mit
31,314
!function(){var moduleFactory=function($){var module=this;$.require().script("moment").done(function(){var exports=function(){$.moment.lang("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_")...
BetterBetterBetter/WheresWalden
media/foundry/4.0/scripts/moment/he.min.js
JavaScript
gpl-2.0
1,550
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'preview', 'ug', { preview: 'ئالدىن كۆزەت' } );
SeeyaSia/www
web/libraries/ckeditor/plugins/preview/lang/ug.js
JavaScript
gpl-2.0
229
module.exports.hostname = '127.0.0.1'
cw0100/cwse
nodejs/node_modules/rrestjs/test/testconf.js
JavaScript
gpl-2.0
37
var util = require('util'); var express = require('express'); var config = require('./config'); var gcal = require('../GoogleCalendar'); /* =========================================================================== Setup express + passportjs server for authentication ================================...
uttpal/calender-app
node_modules/google-calendar/example/list-example.js
JavaScript
gpl-3.0
3,004
/*! Select for DataTables 1.3.3 * 2015-2021 SpryMedia Ltd - datatables.net/license/mit */ /** * @summary Select for DataTables * @description A collection of API methods, events and buttons for DataTables * that provides selection options of the items in a DataTable * @version 1.3.3 * @file dat...
HumanExposure/factotum
static/DataTables/Select-1.3.3/js/dataTables.select.js
JavaScript
gpl-3.0
32,805
import tryCatch from '../util/tryCatch'; import { errorObject } from '../util/errorObject'; import OuterSubscriber from '../OuterSubscriber'; import subscribeToResult from '../util/subscribeToResult'; export class ExpandOperator { constructor(project, concurrent = Number.POSITIVE_INFINITY) { this.project = ...
NodeVision/NodeVision
node_modules/angular2/node_modules/@reactivex/rxjs/dist/es6/operators/expand-support.js
JavaScript
gpl-3.0
2,168
/* jshint qunit: true */ /* global JSZip,JSZipTestUtils,Promise */ 'use strict'; QUnit.module("external"); /** * Creates a wrapper around an existing Promise implementation to count * calls and detect custom implementations. * @param {Promise} OriginalPromise the promise to wrap * @return {Promise} the wrapped pr...
dduponchel/jszip
test/asserts/external.js
JavaScript
gpl-3.0
4,108
/** * Copyright Intermesh * * This file is part of Group-Office. You should have received a copy of the * Group-Office license along with Group-Office. See the file /LICENSE.TXT * * If you have questions write an e-mail to info@intermesh.nl * * @version $Id: SelectTemplate.js * @copyright Copyright Intermesh ...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/modules/projects2/SelectTemplate.js
JavaScript
gpl-3.0
1,449
/*! * Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved. * * This software was developed by Webdetails and is provided under the terms * of the Mozilla Public License, Version 2.0, or any later version. You may not use * this file except in compliance with the license. If you need a copy of ...
carlosrusso/cdf
core-js/src/main/javascript/cdf/components/ccc/CccParCoordComponent.js
JavaScript
mpl-2.0
848
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
tmhorne/celtx
js/tests/js1_7/regress/regress-369666-01.js
JavaScript
mpl-2.0
2,779
define(function (require) { return function ResponseAggConfigProvider() { var _ = require('lodash'); /** * Get the ResponseAggConfig class for an aggConfig, * which might be cached on the aggConfig or created. * * @param {AggConfig} agg - the AggConfig the VAC should inherit from * ...
gillyb/sensitive
sense/src/ui/public/agg_types/metrics/getResponseAggConfigClass.js
JavaScript
apache-2.0
1,614
var gulp = require('gulp'), karma = require('karma').server, concat = require('gulp-concat'), uglify = require('gulp-uglify'), rename = require('gulp-rename'), jshint = require('gulp-jshint'), ngAnnotate = require('gulp-ng-annotate'), sourceFiles = [ 'src/angularStorage/angularStorage...
tacticianstudios/quarky
platforms/windows/www/lib/a0-angular-storage/gulpfile.js
JavaScript
apache-2.0
2,630
/* * Copyright 2018 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...
benouat/ariatemplates
test/aria/widgets/form/radiobutton/disposeOnValueChange/RadioButtonRobotTestCase.js
JavaScript
apache-2.0
2,805
/* * Copyright 2016-present Open Networking Foundation * * 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 appli...
gkatsikas/onos
web/gui/src/main/webapp/app/view/topo2/topo2Link.js
JavaScript
apache-2.0
15,370
// TODO: de-dup with activity.js global.stub_out_jquery(); set_global('document', { hasFocus: function () { return true; } }); set_global('feature_flags', {}); set_global('page_params', { people_list: [] }); add_dependencies({ Handlebars: 'handlebars', templates: 'js/templates', util: 'j...
umkay/zulip
frontend_tests/node_tests/presence_list_performance.js
JavaScript
apache-2.0
3,860
/** * Edge 16 & 17 do not infer function.name from variable assignment. * All other `function.name` behavior works fine, so we can skip most of @babel/transform-function-name. * @see https://kangax.github.io/compat-table/es6/#test-function_name_property_variables_(function) * * Note: contrary to various Github iss...
BigBoss424/portfolio
v8/development/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js
JavaScript
apache-2.0
1,284
import * as utils from 'src/utils'; import {registerBidder} from 'src/adapters/bidderFactory'; const RTB_URL = '/rtb/getbid.php?rtbprovider=prebid'; const SCRIPT_URL = '/adasync.min.js'; export const spec = { code: 'adspirit', aliases: ['xapadsmedia', 'connectad'], isBidRequestValid: function(bid) { let host ...
SpreeGorilla/Prebid.js
modules/adspiritBidAdapter.js
JavaScript
apache-2.0
2,737
/* * Copyright (c) 2012-2015 S-Core 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 law...
happibum/webida-client
apps/ide/src/plugins/webida.ide.project.deploy/deploy-commands.js
JavaScript
apache-2.0
1,847
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The RegExp.prototype.toString.length property has the attribute ReadOnly es5id: 15.10.6.4_A10 description: > Checking if varying the RegExp.prototype.toString.length prope...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/RegExp/prototype/toString/S15.10.6.4_A10.js
JavaScript
bsd-2-clause
946
// Copyright 2014 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. var fileSystemNatives = requireNative('file_system_natives'); var GetIsolatedFileSystem = fileSystemNatives.GetIsolatedFileSystem; var sendRequest = requi...
axinging/chromium-crosswalk
chrome/renderer/resources/extensions/file_entry_binding_util.js
JavaScript
bsd-3-clause
5,300
import { Mesh, MeshBasicMaterial, Object3D, SphereGeometry, } from 'three'; import { GLTFLoader } from '../loaders/GLTFLoader.js'; import { Constants as MotionControllerConstants, fetchProfile, MotionController } from '../libs/motion-controllers.module.js'; const DEFAULT_PROFILES_PATH = 'https://cdn.jsdelivr....
damienmortini/dlib
node_modules/three/examples/jsm/webxr/XRControllerModelFactory.js
JavaScript
isc
6,990
var path = require('path'); var autoprefixer = require('autoprefixer'); var webpack = require('webpack'); var findCacheDir = require('find-cache-dir'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); var InterpolateHtmlPlugin = requi...
dakshgautam/squealy
squealy/squealy-web/config/webpack.config.dev.js
JavaScript
mit
8,929
/*=== [object Uint8Array] [object Uint8Array] number 10 number 3 ===*/ function test() { var buf = new Buffer(10); var slice = buf.slice(1, 4); print(Object.prototype.toString.call(buf)); print(Object.prototype.toString.call(slice)); print(typeof buf.length, buf.length); print(typeof slice.leng...
harold-b/duktape
tests/ecmascript/test-bug-nodejs-buffer-slice-isview.js
JavaScript
mit
401
import { assign, getOwner } from 'ember-utils'; import { get } from 'ember-metal'; import { Error as EmberError } from 'ember-debug'; const ALL_PERIODS_REGEX = /\./g; export function extractRouteArgs(args) { args = args.slice(); let possibleQueryParams = args[args.length - 1]; let queryParams; if (possibleQu...
kennethdavidbuck/ember.js
packages/ember-routing/lib/utils.js
JavaScript
mit
5,725
YUI.add('gallery-event-binder', function(Y) { /** * <p>The Event Binder satisfies a very specific need. Binding user actions until a * particular YUI instance become ready, and the listeners defined before flushing those * events through a queue. This will help to catch some early user interactions due * the ondema...
inikoo/fact
libs/yui/yui3-gallery/build/gallery-event-binder/gallery-event-binder.js
JavaScript
mit
5,113
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. 'use strict'; var should = require('should'); var http = require('http'); var util = require('util'); var assert = require('assert'); var msRest = require('ms-r...
sharadagarwal/autorest
AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AcceptanceTests/paging.js
JavaScript
mit
5,654
define({main:{sk:{identity:{version:{_number:"$Revision: 12411 $",_cldrVersion:"29"},language:"sk"},dates:{timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",regionFormat:"časové pásmo {0}","regionFormat-type-daylight":"{0} (+1)","regionFormat-type-standard":"{0} (+0)",fallbackFormat:"{1} ...
crmouli/crmouli.github.io
js/libs/oj/v3.0.0/resources/nls/sk/timezoneData.js
JavaScript
mit
12,572
/** * @author bhouston / http://exocortex.com */ module( "Matrix4" ); var matrixEquals4 = function( a, b, tolerance ) { tolerance = tolerance || 0.0001; if( a.elements.length != b.elements.length ) { return false; } for( var i = 0, il = a.elements.length; i < il; i ++ ) { var delta = a.elements[i] - b.eleme...
plepers/three.js
test/unit/math/Matrix4.js
JavaScript
mit
8,349
/** * SoundCloud */ module.exports = function (config) { return { id: 'soundcloud', name: 'soundcloud', protocol: 'OAuth2', url: '', redirect_uri: config.issuer + '/connect/soundcloud/callback', endpoints: { authorize: { url: 'https://soundcloud.com/connect', method: '...
tonyevans/connect
providers/soundcloud.js
JavaScript
mit
946
function Tile(position, value) { this.x = position.x; this.y = position.y; this.value = value || 2; this.merged = false; this.previousPosition = null; this.mergedFrom = null; // Tracks tiles that merged together } Tile.prototype.savePosition = function () { t...
Stackato-Apps/243
js/tile.js
JavaScript
mit
476
/** * @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 */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[...
denysbsb/auth0-ng2
node_modules/@angular/forms/src/directives/reactive_directives/form_group_directive.js
JavaScript
mit
7,877
'use strict'; var $ = require('jquery'); var ExamView = require('./ExamView'); var Marionette = require('backbone.marionette'); var template = require('../templates/exams.hbs'); var _ = require('underscore'); var EmptyView = Marionette.ItemView.extend({ tagName: 'tr', template: _.template('<td colspan="5" class="...
Yunheng/nusmods
app/scripts/timetable/views/ExamsView.js
JavaScript
mit
1,106
import Ember from 'ember'; import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent( 'sl-date-time', 'Unit | Component | sl date time', { unit: true }); test( 'Default class names are present', function( assert ) { this.subject({ timezone: 'America/Chicago' }); assert.ok( this.$...
erangeles/sl-ember-components
tests/unit/components/sl-date-time-test.js
JavaScript
mit
3,983
module.exports={title:"JET",slug:"jet",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>JET</title><path d="'+this.path+'"/></svg>'},path:"M15.778 19.044c3.048-.498 4.755-.73 8.219-2.395L24 13.81c-3.228 3.225-9.249 5.146-15.07 5.098-.75-.01-1.948.017-2.246-.024 3.1.49 6.18....
cdnjs/cdnjs
ajax/libs/simple-icons/5.24.0/jet.min.js
JavaScript
mit
969
module.exports = function (grunt) { grunt.registerTask('test_ie', [ 'test_setup', 'protractor:ie' ]); };
OpinionWise/madison
tasks/register/test_ie.js
JavaScript
gpl-3.0
112
/** * Copyright (c) 2008-2012 The Open Planning Project * * Published under the GPL license. * See https://github.com/opengeo/gxp/raw/master/license.txt for the full text * of the license. * @requires OpenLayers/Control/DimensionManager.js * @requires OpenLayers/Dimension/Agent.js * @requires OpenLayers/Dimens...
nieuwegeingeo/heron
ux/gxp/git/src/script/widgets/slider/TimeSlider.js
JavaScript
gpl-3.0
16,479
/* http://www.experienceintegral.org/index.php?eID=tx_mm_bccmsbase_zip&id=935144739517e999fe1321 http://www.experienceintegral.org/index.php?eID=tx_mm_bccmsbase_zip&id=14570148517e99c4b15d8 Ecological Selves by Sean Esbjörn-Hargens, based upon values research by Clare Graves, Don Beck and Chris Cowan, and self-identi...
rezn8d/netentionjs2
plugin/sustainability.js
JavaScript
gpl-3.0
819
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Equivalent to the expression RegExp.prototype.exec(string) != null * * @path ch15/15.10/15.10.6/15.10.6.3/S15.10.6.3_A1_T21.js * @description RegExp is /[a-z]n/ and tested strin...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.10/15.10.6/15.10.6.3/S15.10.6.3_A1_T21.js
JavaScript
apache-2.0
565
function plot_pie_chart(data,graph_details){ console.log("we are inside the plotting the pie chart"); console.log(data); var element = document.getElementById("graph-container"); console.log(element.clientWidth); var width = (0.85*parseInt(element.clientWidth)) , height = 470, radius = Math.min(...
SridharanManoharan/newThemeTattva
public/graphs/gitOtherGraphs_BASE_4973.js
JavaScript
apache-2.0
7,292
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var eraValues = { narrow:...
BigBoss424/portfolio
v8/development/node_modules/date-fns/locale/cs/_lib/localize/index.js
JavaScript
apache-2.0
3,796
/** * @preserve Copyright (c) 2013 British Broadcasting Corporation * (http://www.bbc.co.uk) and TAL Contributors (1) * * (1) TAL Contributors are listed in the AUTHORS file and at * https://github.com/fmtvp/TAL/AUTHORS - please extend this file, * not this notice. * * @license Licensed under the Apache...
joeyjojo/tal
static/script-tests/tests/devices/anim/css3/transitionendpoints.js
JavaScript
apache-2.0
17,352