code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
var bcrypt = require('bcrypt');
var randomstring = require('randomstring');
var salt = bcrypt.genSaltSync(10);
console.log('salt: ' + salt);
var secret = randomstring.generate(30);
console.log('secret: ' + secret);
| beni55/democracy.io | bin/gen-creds.js | JavaScript | agpl-3.0 | 218 |
// render
wn.listview_settings['Purchase Invoice'] = {
add_fields: ["`tabPurchase Invoice`.grand_total", "`tabPurchase Invoice`.outstanding_amount"],
add_columns: [{"content":"paid_amount", width:"10%", type:"bar-graph", label: "Paid"}],
prepare_data: function(data) {
data.paid_amount = flt(data.grand_total) ? (((... | gangadhar-kadam/mtn-erpnext | accounts/doctype/purchase_invoice/purchase_invoice_list.js | JavaScript | agpl-3.0 | 421 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'handshake-slash';
var width = 640;
var height = 512;
var ligatures = [];
var unicode = 'e060';
var svgPathData = 'M0,128.21V384H64a32,32,0,0,0,32-32V184L23.83,128.21ZM48,320.1a16,16,0,1,1-16,16A16,16,0,0,1,4... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/@fortawesome/free-solid-svg-icons/faHandshakeSlash.js | JavaScript | apache-2.0 | 1,319 |
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
this.resource('nf-graph', function(){
this.route('/');
this.route('nf-bars');
});
this.route('examples');
});
export default Router;
| fastly/ember-nf-graph | tests/dummy/app/router.js | JavaScript | apache-2.0 | 316 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = (0, _helperPluginUtils.declare)((api, options) => {
var _api$assumption;
api.assertVersion(7);
const noNewArrows = (_api$assum... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js | JavaScript | apache-2.0 | 761 |
[
{
"buck.base_path":"",
"buck.direct_dependencies":[],
"buck.outputPath":"buck-out\\gen\\test\\test-output",
"buck.ruleType":"genrule",
"buck.type":"genrule",
"fully_qualified_name":"//:test",
"name":"test",
"out":"test-output"
}
]
| shs96c/buck | test/com/facebook/buck/cli/testdata/output_path/output_path_json.win.js | JavaScript | apache-2.0 | 249 |
var BlankonFormElement = function () {
return {
// =========================================================================
// CONSTRUCTOR APP
// =========================================================================
init: function () {
BlankonFormElement.chosenSele... | daotran/angularjs-yii2-full | web-client/assets/frontend/js/pages/blankon.form.element.js | JavaScript | apache-2.0 | 1,950 |
var LayoutEditor;
(function (LayoutEditor) {
Array.prototype.move = function (from, to) {
this.splice(to, 0, this.splice(from, 1)[0]);
};
LayoutEditor.childrenFrom = function(values) {
return _(values).map(function(value) {
return LayoutEditor.elementFrom(value);
});
... | bigfont/orchard-cms-modules-and-themes | src/Orchard.Web/Modules/Orchard.Layouts/Scripts/Models.js | JavaScript | bsd-3-clause | 32,925 |
// Copyright (c) 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.
chrome.runtime.setUninstallUrl("http://www.google.com");
| imply/chuu | chrome/test/data/extensions/api_test/runtime/uninstall_url/sets_uninstall_url/bg.js | JavaScript | bsd-3-clause | 227 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S14_D7;
* @section: 14;
* @assertion: Function declaration may be inside of "with" block ;
*/
BANNER="union jack";
a=1;
///////////////////////////////////////////////////... | rapha/sputnik | tests/Implementation_Diagnostics/S14_D7.js | JavaScript | bsd-3-clause | 1,207 |
/* This Source Code Form is subject to the terms of the MIT license
* If a copy of the MIT license was not distributed with this file, you can
* obtain one at https://raw.github.com/mozilla/butter/master/LICENSE */
define( [ "text!./default.html", "editor/editor", "util/lang" ],
function( LAYOUT_SRC, Editor, LangU... | mbuttu/butter | public/src/editor/default.js | JavaScript | mit | 4,257 |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... | druffolo/druffolo_mblComputing_Assign1 | node_modules/ionic-angular/components/datetime/datetime.js | JavaScript | mit | 39,181 |
/* global appendChartID, loadDateFixture, makeDate, cleanDateRange */
describe('dc.barChart', function () {
var id, chart, data;
var dimension, group;
beforeEach(function () {
data = crossfilter(loadDateFixture());
dimension = data.dimension(function (d) { return d3.time.day.utc(d.dd); });
... | Mitchellwbooks/stock-simulo | static/javascript/dc/spec/bar-chart-spec.js | JavaScript | mit | 53,013 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* reg... | smithab/azure-sdk-for-node | lib/services/servermanagement/lib/models/nodeResource.js | JavaScript | mit | 3,273 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/computeManagement2/lib/models/virtualMachineScaleSetOSProfile.js | JavaScript | mit | 8,263 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'table', 'km', {
border: 'ទំហំស៊ុម',
caption: 'ចំណងជើង',
cell: {
menu: 'Cell',
insertBefore: 'Insert Cell Before',
insertAfter: '... | bkahlert/com.bkahlert.nebula | src/com/bkahlert/nebula/widgets/composer/html/plugins/table/lang/km.js | JavaScript | mit | 2,661 |
var gulp = require('gulp');
var Karma = require('karma').Server;
/**
* Run test once and exit
*/
gulp.task('test', function(done) {
new Karma({
configFile: __dirname + '/../../karma.conf.js',
singleRun: true
}, function() { done(); }).start();
});
/**
* Watch for file changes and re-run tests on each c... | niieani/skeleton-navigation-typescript | skeleton-esnext-aspnetcore/src/skeleton-navigation-esnext-vs/build/tasks/test.js | JavaScript | cc0-1.0 | 1,075 |
module.exports={A:{A:{"1":"E A B","2":"K C G CB"},B:{"1":"D v Z I M H"},C:{"1":"0 1 2 3 5 6 7 E A B D v Z I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u z w","2":"VB y F J K C G TB SB"},D:{"1":"0 1 2 3 5 6 7 r s t u z w HB g DB XB EB FB","2":"F J K C G E A B D v Z I M H N O P Q R S T U V W X ... | parkerjgit/openarch-d8 | themes/open_scratch/node_modules/caniuse-lite/data/features/css-font-stretch.js | JavaScript | gpl-2.0 | 809 |
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file ... | ahmedRguei/job | typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InsertSmiley.js | JavaScript | gpl-2.0 | 6,266 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("devtools","id",{title:"Informasi Elemen",dialogName:"Nama jendela dialog",tabName:"Nama tab",elementId:"ID Elemen",elementType:"Tipe elemen"}); | capeit-tto/otrs | var/httpd/htdocs/js/thirdparty/ckeditor-4.3/plugins/devtools/lang/id.js | JavaScript | agpl-3.0 | 317 |
'use strict';
function storage (collection, storage) {
function create (obj, fn) {
obj.created_at = (new Date( )).toISOString( );
api( ).insert(obj, function (err, doc) {
fn(null, doc);
});
}
function last(fn) {
return api( ).find({ }).sort({created_at: -1}).limit(1).toArray(function(er... | Garwood2007/cgm-remote-monitor | lib/devicestatus.js | JavaScript | agpl-3.0 | 1,083 |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Hebrew language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the dic... | haceneabdessamed/Quran_Text_Editor | plugins/ckeditor/lang/he.js | JavaScript | lgpl-3.0 | 3,921 |
var waybackDefs = [
//Global Wayback
{"waybackUrl": "http://web.archive.org/",
"waybackName": "Internet Archive Wayback Machine",
"proxyHost": null,
"proxyPort": null,
... | nla/openwayback | contrib/ia/plugins/chrome/wayback.js | JavaScript | apache-2.0 | 10,779 |
'use strict';
const PrettyError = require('pretty-error');
const prettyError = new PrettyError();
prettyError.withoutColors();
prettyError.skipPackage(['html-plugin-evaluation']);
prettyError.skipNodeFiles();
prettyError.skip(function (traceLine) {
return traceLine.path === 'html-plugin-evaluation';
});
module.expor... | BigBoss424/portfolio | v6/node_modules/html-webpack-plugin/lib/errors.js | JavaScript | apache-2.0 | 669 |
/**
* 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... | lannka/amphtml | third_party/react-dates/scope-require.js | JavaScript | apache-2.0 | 4,212 |
var fs = require('fs');
var path = require('path');
var storage = require('node-persist');
var hap = require('HAP-NodeJS');
var uuid = require('HAP-NodeJS').uuid;
var Bridge = require('HAP-NodeJS').Bridge;
var Accessory = require('HAP-NodeJS').Accessory;
var Service = require('HAP-NodeJS').Service;
var Characteristic =... | benjie/homebridge | app.js | JavaScript | apache-2.0 | 8,544 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | forcedotcom/aura | aura-components/src/main/components/ui/scroller/scrollerController.js | JavaScript | apache-2.0 | 1,631 |
import Map from '../../../../src/ol/Map.js';
import TileLayer from '../../../../src/ol/layer/Tile.js';
import View from '../../../../src/ol/View.js';
import XYZ from '../../../../src/ol/source/XYZ.js';
import {createForProjection, createXYZ} from '../../../../src/ol/tilegrid.js';
import {get, toLonLat} from '../../../.... | ahocevar/ol3 | test/rendering/cases/reproj-tile-4326/main.js | JavaScript | bsd-2-clause | 934 |
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.5.3
description: >
computed property setter names can be called "constructor"
---*/
class C4 {
set ['constructor'](_) {}
}
| sebastienros/jint | Jint.Tests.Test262/test/language/computed-property-names/class/method/constructor-can-be-setter.js | JavaScript | bsd-2-clause | 283 |
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... | ChromeDevTools/devtools-frontend | node_modules/@typescript-eslint/typescript-estree/dist/version-check.js | JavaScript | bsd-3-clause | 1,577 |
'use strict';
const baseConfig = require('./config.base');
module.exports = Object.assign({}, baseConfig, {
roots: ['<rootDir>/packages/react-dom'],
setupFiles: [
...baseConfig.setupFiles,
require.resolve('./setupFire.js'),
require.resolve('./setupHostConfigs.js'),
],
});
| kaushik94/react | scripts/jest/config.source-fire.js | JavaScript | bsd-3-clause | 293 |
// import Ember from 'ember';
import ParentComponentSupport from 'ember-composability/mixins/parent-component-support';
import BaseComponent from './-base-toplevel-component';
import layout from '../templates/components/mdl-mega-footer';
export default BaseComponent.extend(ParentComponentSupport, {
primaryClassName:... | leoeuclids/ember-material-lite | addon/components/mdl-mega-footer.js | JavaScript | mit | 389 |
/*
YUI 3.8.0pr2 (build 154)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('history-base', function (Y, NAME) {
/**
* Provides browser history management functionality using a simple
* add/replace/get paradigm. This can be used to ensure that... | feilaoda/power | node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/history-base/history-base.js | JavaScript | mit | 21,718 |
var trim = require('../utils/trim');
var unindent = require('../utils/unindent');
var group = '';
// Search: group, type, optional, fieldname, defaultValue, size, description
// Example: {String{1..4}} [user.name='John Doe'] Users fullname.
//
// Naming convention:
// b -> begin
// e -> end
// name ->... | dvogt23/KartApp-www | node_modules/apidoc/node_modules/apidoc-core/lib/parsers/api_param.js | JavaScript | mit | 5,049 |
/*!
* jQuery JavaScript Library v1.10.2 -wrap,-css,-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: 2013-07... | eric-seekas/jquery-builder | dist/1.10.2/jquery-css-deprecated-offset-wrap.js | JavaScript | mit | 225,816 |
/**
* Loco js export: JavaScript function
* Project: loco.po conversion
* Release: Working copy
* Locale: ko-KR, Korean
* Exported by: Unregistered user
* Exported at: Mon, 14 Dec 2015 11:00:54 +0000
*/
loco = window.loco||{}, loco.t = function( pairs ){
// named plural forms
var pluralForms = [
... | wanmendoza/fundecan | wp-content/plugins/loco-translate/pub/js/lang/loco-translate-ko_KR.js | JavaScript | gpl-2.0 | 10,913 |
/* flatpickr v4.5.1, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.cat = {})));
}(this, (function (exports) { 'use strict';
var ... | Yunfeng/h5buk | public/assets/vendor/flatpickr/dist/l10n/cat.js | JavaScript | gpl-3.0 | 1,504 |
'use strict';
// generate schema:
var
_ = require('lodash'),
fs = require('fs'),
crypto = require('crypto'),
readline = require('readline'),
config = require('./config'),
db = require('./db');
var keys = _.filter(_.map(db, function (value, key) {
return key;
}), function (key) {
retur... | iamdalianmao/itranswarp.js | www/schema.js | JavaScript | apache-2.0 | 2,546 |
/**
* @overview
* Logic for creating new Titanium apps.
*
* @copyright
* Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved.
*
* @license
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
var appc = require('node-appc'),... | smit1625/titanium_mobile | cli/lib/creators/app.js | JavaScript | apache-2.0 | 5,621 |
/**
* This example shows a Form panel with Ext.Direct integration.
*/
Ext.define('KitchenSink.view.direct.Form', {
extend: 'Ext.panel.Panel',
xtype: 'direct-form',
controller: 'directform',
requires: [
'Ext.layout.container.Anchor',
'Ext.layout.container.Accordion',
'Kitch... | department-of-veterans-affairs/ChartReview | web-app/js/ext-5.1.0/examples/kitchensink/app/view/direct/Form.js | JavaScript | apache-2.0 | 4,635 |
// 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.
/**
* @fileoverview ChromeVox predicates for the automation extension API.
*/
goog.provide('AutomationPredicate');
goog.provide('AutomationPredicate.Bi... | scheib/chromium | ui/accessibility/extensions/chromevoxclassic/cvox2/background/automation_predicate.js | JavaScript | bsd-3-clause | 7,660 |
// 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 html = '<button>alpha</button><input type="text">hello</input>';
function getAllWebViews() {
function findAllWebViews(node, nodes) {
if (node.r... | ric2b/Vivaldi-browser | chromium/chrome/test/data/extensions/api_test/automation/tests/desktop/load_tabs.js | JavaScript | bsd-3-clause | 1,628 |
define(['./_cb', './_getLength'], function (_cb, _getLength) {
// Use a comparator function to figure out the smallest index at which
// an object should be inserted so as to maintain order. Uses binary search.
function sortedIndex(array, obj, iteratee, context) {
iteratee = _cb(iteratee, context, 1);
va... | ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/underscore/amd/sortedIndex.js | JavaScript | mit | 585 |
module.exports={A:{A:{"1":"B","2":"K C G E A YB"},B:{"1":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x","2":"WB AB F J K C G E UB OB"},D:{"1":"0 1 3 5 6 7 8 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n ... | severnsc/brewing-app | src/client/node_modules/caniuse-lite/data/features/console-time.js | JavaScript | mit | 835 |
/*
* Directives (widgets) that are used for an Iris view.
*
*
*
*
*
*/
angular.module('iris-directives', []);
angular.module('iris-directives')
.directive('processlist', function($rootScope) {
return {
link: function(scope, element, attrs, routeParams) {
//$loginbox = ... | kbase/browse | ws-browser/js/directives/iris.js | JavaScript | mit | 5,864 |
version https://git-lfs.github.com/spec/v1
oid sha256:3200915a686b7364646c39ff9608fc64eeca2fdbccfe71db09cbab367d77fc77
size 2325
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.3.0-beta.19/i18n/angular-locale_en-sc.js | JavaScript | mit | 129 |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var EditorBorderVertical = React.createClass({
displayName: 'EditorBorderVertical',
mixins: [PureRenderMixin],
render: function render() {
return React.createElem... | pborel/polisee | node_modules/material-ui/lib/svg-icons/editor/border-vertical.js | JavaScript | mit | 707 |
console.log(__filename);
exports.cjs = true;
| AbdulBasitBashir/learn-angular2 | step9_gulp_router/node_modules/systemjs-builder/test/fixtures/test-tree/cjs.js | JavaScript | mit | 45 |
var _ = require('lodash'),
Promise = require('bluebird'),
pipeline = require('../utils/pipeline'),
dataProvider = require('../models'),
settings = require('./settings'),
mail = require('./../mail'),
apiMail = require('./mail'),
globalUtils = require('../utils'),
utils = require('./utils'... | SkynetInc/steam | core/server/api/invites.js | JavaScript | mit | 8,879 |
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import withStyles from '../styles/withStyles';
import Typography from '../Typography';
export const styles = {
/* Styles applied to the root element. */
root: {
marginBottom: 12
}
};
... | cdnjs/cdnjs | ajax/libs/material-ui/4.9.9/es/DialogContentText/DialogContentText.js | JavaScript | mit | 980 |
jQuery(document).ready(function($){
if(arePointersEnabled()){
setTimeout(showSubscriptionPointers, 800); // give TinyMCE a chance to finish loading
}
$('select#product-type').change(function(){
if(arePointersEnabled()){
$('#product-type').pointer('close');
}
});
$('#_subscription_price, #_subscription_... | javalidigital/dataporto | wp-content/plugins/woocommerce-subscriptions/js/admin-pointers.js | JavaScript | gpl-2.0 | 1,377 |
function isInsert() {
var id = parseInt(getValue("currencyId"));
return (isNaN(id) || id == 0);
}
Behaviour.register({
'#backButton': function(button) {
button.onclick = function() {
self.location = pathPrefix + "/listCurrencies";
}
},
'form': function(form) {
form.onsubmit = function() {
return req... | diriger/solcyc | web/pages/accounts/currencies/editCurrency.js | JavaScript | gpl-2.0 | 689 |
/*
Copyright 2008-2015 Clipperz Srl
This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Pub... | cah-rfelsburg/password-manager | frontend/gamma/js/Clipperz/PM/UI/Common/Components/ComponentSlot.js | JavaScript | agpl-3.0 | 1,810 |
odoo.define('pos_restaurant.SubmitOrderButton', function(require) {
'use strict';
const PosComponent = require('point_of_sale.PosComponent');
const ProductScreen = require('point_of_sale.ProductScreen');
const { useListener } = require('web.custom_hooks');
const Registries = require('point_of_sale.... | ygol/odoo | addons/pos_restaurant/static/src/js/Screens/ProductScreen/ControlButtons/SubmitOrderButton.js | JavaScript | agpl-3.0 | 2,736 |
description(
"instanceof XMLHttpRequest test"
);
shouldBeTrue("(new Audio()) instanceof Audio");
shouldBeFalse("(new Array()) instanceof Audio");
shouldBeTrue("(new Image()) instanceof Image");
shouldBeFalse("(new Array()) instanceof Image");
// MessageChannel is not available yet.
//shouldBeTrue("(new MessageChanne... | youfoh/webkit-efl | LayoutTests/fast/js/script-tests/instanceof-XMLHttpRequest.js | JavaScript | lgpl-2.1 | 1,142 |
//>>built
define("dijit/nls/it/common",{buttonOk:"Ok",buttonCancel:"Annulla",buttonSave:"Salva",itemClose:"Chiudi"}); | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dijit/nls/it/common.js | JavaScript | apache-2.0 | 117 |
/*!
* Copyright 2014 Apereo Foundation (AF) Licensed under the
* Educational Community 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://opensource.org/licenses/ECL-2.0
*
* Unless required by applicab... | nicolaasmatthijs/3akai-ux | shared/oae/macros/tests/metadata.js | JavaScript | apache-2.0 | 8,227 |
//>>built
define("dojox/editor/plugins/nls/th/latinEntities",{iexcl:"\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e2b\u0e21\u0e32\u0e22\u0e2d\u0e31\u0e28\u0e40\u0e08\u0e23\u0e35\u0e22\u0e4c\u0e01\u0e25\u0e31\u0e1a\u0e2b\u0e31\u0e27",cent:"\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e0b\u0... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/editor/plugins/nls/th/latinEntities.js | JavaScript | apache-2.0 | 43,249 |
describe('Router', function() {
require('./unit');
require('./integration');
});
| Netflix/falcor-router | test/Router.spec.js | JavaScript | apache-2.0 | 89 |
// 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 chrome;
/**
* Set string data.
* @type {Object}
*/
loadTimeData.data = {
DOWNLOADS_DIRECTORY_LABEL: 'Downloads',
DRIVE_DIRECTORY_LABEL: 'Googl... | markYoungH/chromium.src | ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js | JavaScript | bsd-3-clause | 7,080 |
/**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the "flow" directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
/* JS primitiv... | danvk/flow | lib/core.js | JavaScript | bsd-3-clause | 20,074 |
angular.module('dialogDemo1', ['ngMaterial'])
.controller('AppCtrl', function($scope, $mdDialog) {
$scope.status = ' ';
$scope.customFullscreen = false;
$scope.showAlert = function(ev) {
// Appending dialog to document.body to cover sidenav in docs app
// Modal dialogs should fully cover application
... | david-gang/material | src/components/dialog/demoBasicUsage/script.js | JavaScript | mit | 3,439 |
$(document).ready(function() {
jQuery.timeago.settings.lang = $('html').attr('lang');
});
| publify/publify | publify_core/app/assets/javascripts/set-timeago-lang.js | JavaScript | mit | 92 |
var uid = require('uid2');
/**
* Creates an instance of `SessionStateProvider`.
*
* This is the default state provider implementation for the OAuth2Strategy.
* If generates a random state and stores it in `req.session` under the `key`
* provided in the constructor.
*
* If no session exists, the provider will th... | raycar5/ezOAuthjs | node_modules/passport-oauth2/lib/state/session.js | JavaScript | mit | 2,971 |
MathBox.Attributes = function () {
};
MathBox.Attributes.prototype = {
get: function (key) {
if (key === undefined) return this.__attributes || {};
if (!this.__attributes) return undefined;
return this.__attributes[key];
},
set: function (object, value) {
if (!this.__attributes) this.__attribut... | Drooids/MathBox.js | src/Attributes.js | JavaScript | mit | 1,601 |
version https://git-lfs.github.com/spec/v1
oid sha256:8823e189c70018f99732c8548033092ab31bbe9be7ea978c0f47f4c8ef24da0f
size 27584
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.8.0/datatable-sort/datatable-sort.js | JavaScript | mit | 130 |
/* @flow */
/**
* it
*/
it('desc', () => {});
it('desc', (done : Function) => {});
it('desc', () => new Promise((res, rej) => {}));
// $ExpectError number. This type is incompatible with function type.
it('desc', (done : number) => {});
// $ExpectError number. This type is incompatible with function type.
it('desc... | altano/flow-typed | definitions/npm/mocha_v3.1.x/test_mocha_v3.1.x_it.js | JavaScript | mit | 1,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 ma... | ROLE/widget-store | src/main/drupal/sites/all/libraries/shindig2.5beta/features/src/main/javascript/features/i18n/data/DateTimeConstants__kaj_NG.js | JavaScript | gpl-2.0 | 2,571 |
(function($) {
var attachPlugin = function(context, id, widget_type) {
var weightClass = '.mvw-weight-delta-order';
var wrapper = $('#' + id);
if (widget_type == 'blocks') {
$('.mvw-group .mvw-group-title .ui-icon', wrapper )
.not('.ui-icon-processed')
.addClass("ui-icon-processed")
... | aimhighagency/mjkim | sites/all/modules/custom/advimgmgmt/advimgmgmt.js | JavaScript | gpl-2.0 | 11,200 |
/*
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
*
* 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 requ... | newrocknj/horizon | openstack_dashboard/static/dashboard/launch-instance/launch-instance-modal.controller.js | JavaScript | apache-2.0 | 1,795 |
function transition(_args) {
var win = Ti.UI.createWindow({
title:_args.title
});
// this is our second view for the view transition example
// we add it first, so the next one will be initially visible (last on the stack)
var view2 = Ti.UI.createView({
backgroundColor:'#13386c'
});
win.add(view2);
// t... | BetterTi/ti.debugger | testprojects/KitchenSink2/Resources/ui/handheld/ios/baseui/transitions.js | JavaScript | apache-2.0 | 6,697 |
/*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
importClass(Packages.java.lang.Class);
importClass(Packages.java.lang.ClassLoader);
importClass(Package... | mdiggory/dryad-repo | dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/Submission/submission.js | JavaScript | bsd-3-clause | 29,462 |
var mkdirp=require("../").mkdirp;var path=require("path");var fs=require("fs");var exists=fs.exists||path.exists;var test=require("tap").test;test("race",function(f){f.plan(6);var g=["","tmp"];for(var e=0;e<25;e++){var b=Math.floor(Math.random()*Math.pow(16,4)).toString(16);g.push(b)}var d=g.join("/");var c=2;a(d,funct... | clapierre/clapierre.github.io | node_modules/mocha/node_modules/mkdirp/test/race.js | JavaScript | bsd-3-clause | 613 |
/*
FusionCharts JavaScript Library
Copyright FusionCharts Technologies LLP
License Information at <http://www.fusioncharts.com/license>
FusionCharts JavaScript Library
Copyright FusionCharts Technologies LLP
License Information at <http://www.fusioncharts.com/license>
@version 3.8.0
@attributions (infers resp... | boazin/anyway | static/js/libs/fusioncharts.js | JavaScript | bsd-3-clause | 596,260 |
// Copyright 2010-2011 Mikeal Rogers
//
// 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 applic... | MonoHearted/Flowerbless | node_modules/wolfram/node_modules/request/main.js | JavaScript | mit | 14,815 |
import * as _ from "underscore"
import path from "path"
import jade from "jade"
import fs from "fs"
import Curation from "desktop/models/curation.coffee"
const render = templateName => {
const filename = path.resolve(__dirname, `../${templateName}.jade`)
return jade.compile(fs.readFileSync(filename), { filename })... | damassi/force | src/desktop/apps/editorial_features/components/gucci/templates/__tests__/head.test.js | JavaScript | mit | 3,577 |
!function(t){"use strict";provide(["/demand/pledge","../video"],function(e,c){var n=e.defer();return c.then(function(){t.createElement("video").canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')?n.resolve():n.reject()},n.reject),n.pledge})}(document); | cdnjs/cdnjs | ajax/libs/qoopido.nucleus/3.2.9/support/test/element/video/mp4.min.js | JavaScript | mit | 258 |
/*
* Copyright (C) eZ Systems AS. All rights reserved.
* For full copyright and license information view LICENSE file distributed with this source code.
*/
YUI.add('ez-float-view-tests', function (Y) {
var registerTest, viewTest;
viewTest = new Y.Test.Case(
Y.merge(Y.eZ.Test.FieldViewTestCases, {
... | pg18/perso_website | vendor/ezsystems/platform-ui-bundle/Tests/js/views/fields/assets/ez-float-view-tests.js | JavaScript | gpl-2.0 | 2,384 |
var searchData=
[
['headcount',['headCount',['../structbios_parm_block.html#a2324ca82e2a7da4d91f458fa32a6e239',1,'biosParmBlock::headCount()'],['../structfat__boot.html#ae31da876cd9f48de5268a129218df2c2',1,'fat_boot::headCount()'],['../structfat32__boot.html#a1a5298db692526bc64243766d6b54181',1,'fat32_boot::headCount... | lyusupov/SoftRF | software/firmware/source/libraries/SdFat/extras/html/search/variables_8.js | JavaScript | gpl-3.0 | 758 |
/* -*- 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-479430-04... | sam/htmlunit-rhino-fork | testsrc/tests/js1_8_1/regress/regress-479430-04.js | JavaScript | mpl-2.0 | 1,117 |
/**
* Copyright (c) 2010-present Abixen Systems. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any ... | cloudowski/abixen-platform | abixen-platform-web-client/src/main/web/control-panel/modules/module/javascript/module-details.controller.js | JavaScript | lgpl-2.1 | 1,857 |
// 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.
let date = new Date(2015, 8, 1, 3, 0, 0);
var fmt = new Intl.DateTimeFormat('ru', {hour:'2-digit', minute: '2-digit'})
assertEquals("03:00", fmt.format(... | weolar/miniblink49 | v8_7_5/test/intl/regress-527926.js | JavaScript | apache-2.0 | 738 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _eachLimit = require('./eachLimit');
var _eachLimit2 = _interopRequireDefault(_eachLimit);
var _awaitify = require('./internal/awaitify');
var _awaitify2 = _interopRequireDefault(_awaitify);
function _interopRequireDefault(obj) { r... | ChromeDevTools/devtools-node-modules | third_party/node_modules/karma-typescript/node_modules/async/forEachSeries.js | JavaScript | apache-2.0 | 1,569 |
'use strict';
const Container = require('./container');
const Node = require('./node');
class Operator extends Node {
constructor (opts) {
super(opts);
this.type = 'operator';
}
}
Container.registerWalker(Operator);
module.exports = Operator;
| convox/convox.github.io | webpack/node_modules/postcss-values-parser/lib/operator.js | JavaScript | apache-2.0 | 259 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** 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 Li... | daejunpark/jsaf | tests/browser_extensions/e4x/XMLList/13.5.4.21.js | JavaScript | bsd-3-clause | 2,174 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** 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 Li... | darkrsw/safe | tests/browser_extensions/e4x/Types/9.1.1.11.js | JavaScript | bsd-3-clause | 1,987 |
var test = require('tape');
var pack = require('../');
test('unicode', function (t) {
t.plan(5);
var p = pack({ raw: true });
var src = '';
p.on('data', function (buf) { src += buf });
p.on('end', function () {
var r = Function(['Ṫ'], 'return ' + src)(t);
t.equal(r('xyz')(5), 5... | frangucc/gamify | www/sandbox/pals/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-js/node_modules/browserify/node_modules/browser-pack/test/unicode.js | JavaScript | mit | 760 |
/*
* client-test.js: Tests for pkgcloud HP client functionality.
*
* (C) 2014 Phani Raj.
*
*/
var pkgcloud = require('../../../lib/pkgcloud');
describe('pkgcloud/hp/client', function () {
describe('Region validation', function () {
it('User should specify region: compute client', function() {
(function (... | Hopebaytech/pkgcloud | test/hp/common/client-test.js | JavaScript | mit | 3,729 |
import ValidationEngine from 'ghost/mixins/validation-engine';
import NProgressSaveMixin from 'ghost/mixins/nprogress-save';
var Post = DS.Model.extend(NProgressSaveMixin, ValidationEngine, {
validationType: 'post',
uuid: DS.attr('string'),
title: DS.attr('string', {defaultValue: ''}),
slug: DS.attr('... | dbanda/dalitsobanda.com | ghostgithub/core/client/models/post.js | JavaScript | mit | 1,694 |
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.Element
*/
Ext.Element.addMethods(
function() {
var GETDOM = Ext.getDom,
GET = Ext.get,
DH = Ext.DomHelper;
return {
/**
* Appends the passed element(s) to ... | luisibanez/SahanaEden | static/scripts/ext/src/ext-core/src/core/Element.insertion.js | JavaScript | mit | 5,257 |
// Copyright (c) 2018, Frappe Technologies and contributors
// For license information, please see license.txt
frappe.ui.form.on('Email Template', {
refresh: function() {
}
});
| vjFaLk/frappe | frappe/email/doctype/email_template/email_template.js | JavaScript | mit | 181 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var Utils_1 = require("../../../Utils/Utils");
var ShapeType_1 = require("../../../Enums/ShapeType");
var TextDrawer = (function () {
function TextDrawer() {
}
TextDrawer.prototype.init = function (c... | cdnjs/cdnjs | ajax/libs/tsparticles/1.14.3/Core/Particle/ShapeDrawers/TextDrawer.js | JavaScript | mit | 3,601 |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {};
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _ClickAwayListener.default;
}
... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.36/node/ClickAwayListener/index.js | JavaScript | mit | 805 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'et', {
button: 'Mall',
emptyListMsg: '(Ühtegi malli ei ole defineeritud)',
insertOption: 'Praegune sisu asendatakse',
options: 'Malli... | SeeyaSia/www | web/libraries/ckeditor/plugins/templates/lang/et.js | JavaScript | gpl-2.0 | 453 |
module.exports={A:{A:{"1":"E B A","2":"J C G VB"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 TB z F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t RB QB"},D:{"1":"0 1 3 4 5 8 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t... | cleverswine/cleverswine-hugo | themes/semantic-cards/semantic/node_modules/caniuse-lite/data/features/currentcolor.js | JavaScript | gpl-3.0 | 770 |
'use strict';
var videoElement = document.querySelector('video');
var audioSelect = document.querySelector('select#audioSource');
var videoSelect = document.querySelector('select#videoSource');
navigator.getUserMedia = navigator.getUserMedia ||
navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
function go... | DigitalCoder/simpl | getusermedia/test/js/main.js | JavaScript | apache-2.0 | 1,964 |
import View from 'ember-views/views/view';
import GlimmerComponent from 'ember-htmlbars/glimmer-component';
import compile from 'ember-template-compiler/system/compile';
import { runAppend, runDestroy } from 'ember-runtime/tests/utils';
import ComponentLookup from 'ember-views/component_lookup';
import isEnabled from '... | benstoltz/ember.js | packages/ember-htmlbars/tests/glimmer-component/render-test.js | JavaScript | mit | 2,257 |
var test = require("tape")
, rank = require("../index.js").rank
, unrank = require("../index.js").unrank
var ranks = [
[1,2,3,0],
[2,1,3,0],
[2,3,1,0],
[3,2,1,0],
[1,3,2,0],
[3,1,2,0],
[3,2,0,1],
[2,3,0,1],
[2,0,3,1],
[0,2,3,1],
[3,0,2,1],
[0,3,2,1],
[1,3,0,2],
[3,1,0,2],
[3,0,1,2],
... | scijs/permutation-rank | test/test.js | JavaScript | mit | 945 |
/*!
* Platform.js <https://mths.be/platform>
* Copyright 2014-2016 Benjamin Tan <https://demoneaux.github.io/>
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <https://mths.be/mit>
*/
;(function() {
'use strict';
/** Used to determine if values are of the lang... | joeyparrish/cdnjs | ajax/libs/PhononJs/1.4.6/js/phonon.js | JavaScript | mit | 205,726 |
/*! intel-appframework - v2.1.0 - 2014-11-20 */
/*
Intel
@api private
*/
if(!window.af||"function"!==typeof af){var af=function(f){function x(a,b,c){var d=k.createDocumentFragment();if(c){for(c=a.length-1;0<=c;c--)d.insertBefore(a[c],d.firstChild);b.insertBefore(d,b.firstChild)}else{for(c=0;c<a.length;c++)d.appendCh... | XIAOGUIGUI/appframework | build/appframework.min.js | JavaScript | mit | 28,040 |