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 |
|---|---|---|---|---|---|
function redirect(url) {
global.window.location = url;
}
function getDocument() {
return global.window.document;
}
function getWindow() {
return global.window;
}
module.exports = {
redirect: redirect,
getDocument: getDocument,
getWindow: getWindow
};
| saphocom/auth0.js | src/helper/window.js | JavaScript | mit | 266 |
'use strict';
var gulp = require('gulp'),
gutil = require('gulp-util'),
clean = require('gulp-clean'),
gulpSequence = require('gulp-sequence'),
jshint = require('gulp-jshint'),
concat = require('gulp-concat'),
imagemin = require('gulp-imagemin'),
minifyCss = require('gulp-minify-css'),
minifyHtml = req... | CN-Sean/jsgen | gulpfile.js | JavaScript | mit | 4,311 |
#!/usr/bin/env node
var path = require("path");
var open = require("opn");
var fs = require("fs");
var url = require("url");
// Local version replaces global one
try {
var localWebpackDevServer = require.resolve(path.join(process.cwd(), "node_modules", "webpack-dev-server", "bin", "webpack-dev-server.js"));
if(__fi... | gabrieldamaso7/innocircle | node_modules/webpack-dev-server/bin/webpack-dev-server.js | JavaScript | mit | 8,184 |
/**
* @class SimpleTasks.view.tasks.EditWindow
* @extends Ext.window.Window
*/
Ext.define('SimpleTasks.view.tasks.EditWindow', {
extend: 'Ext.window.Window',
xtype: 'taskEditWindow',
requires: [
'Ext.form.Panel',
'Ext.form.FieldSet',
'Ext.form.field.Text',
'Ext.form.field.... | Warlock-developer/practicas | vendors/extjs/examples/simple-tasks/app/view/tasks/EditWindow.js | JavaScript | gpl-3.0 | 4,515 |
/**
* DataZoom component entry
*/
var echarts = require('../echarts');
echarts.registerPreprocessor(require('./timeline/preprocessor'));
require('./timeline/typeDefaulter');
require('./timeline/timelineAction');
require('./timeline/SliderTimelineModel');
require('./timeline/SliderTimelineV... | mo-norant/FinHeartBel | website/node_modules/echarts/lib/component/timeline.js | JavaScript | gpl-3.0 | 328 |
// I18N constants
// LANG: "da", ENCODING: UTF-8
// Author: Steen Sønderup, <steen@soenderup.com>
{
"Please confirm that you want to open this link": "Vil du følge dette link?",
"Cancel": "Ann uler",
"Dictionary": "Ordbog",
"Finished list of mispelled words": "Listen med stavefejl er gennemgået",
"I will open... | ryumaru/ryuzinewriter | xinha4ryuzine/disabled_plugins/SpellChecker/lang/da.js | JavaScript | mpl-2.0 | 1,268 |
/* -*- 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-392308.js... | tejassaoji/RhinoCoarseTainting | testsrc/tests/js1_7/extensions/regress-392308.js | JavaScript | mpl-2.0 | 1,302 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var t = _interopRequireWildcard(require("@babel/types"));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () ... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js | JavaScript | apache-2.0 | 5,873 |
Meteor.methods({
roomNameExists(rid) {
check(rid, String);
if (!Meteor.userId()) {
throw new Meteor.Error('error-invalid-user', 'Invalid user', {
method: 'roomExists'
});
}
const room = RocketChat.models.Rooms.findOneByName(rid);
return !!room;
}
});
| pitamar/Rocket.Chat | server/methods/roomNameExists.js | JavaScript | mit | 274 |
function isPerfectSqaure(num1, num2){
var temp1 = Math.floor(Math.sqrt(num1));
var temp2 = Math.floor(Math.sqrt(num2));
var bool = false;
if(temp1 * temp1 == num1){
bool = true;
}
if(temp2 * temp2 == num2){
bool = true;
}
if(bool){
console.log("IsF... | ultranaut/illacceptanything | code/HackerRank/WarmUp/IsFibo.js | JavaScript | mit | 952 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","sv",{move:"Klicka och drag för att flytta",label:"%1-widget"}); | sumocoders/forkcms | src/Backend/Core/Js/ckeditor/plugins/widget/lang/sv.js | JavaScript | mit | 244 |
/**
* Module dependencies.
*/
var loading = require('loading-lock');
var bus = require('bus');
var o = require('query');
module.exports = exports = loading(o('#browser'), { size: 80 });
exports.lock();
bus.once('page:render', function() {
exports.unlock();
});
| mxabierto/colaborativa | lib/browser-lock/locker.js | JavaScript | mit | 269 |
var items = require("./items.coffee"),
height = require("./height.js"),
print = require("../../../../core/console/print.coffee"),
scrolllist = require("./scroll.js"),
arrow = require("./arrow.js")
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// Redraws ... | romind/d3plus | src/form/types/drop/functions/update.js | JavaScript | mit | 5,179 |
/**
* 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... | adtechnology/amphtml | src/json.js | JavaScript | apache-2.0 | 3,244 |
#!/usr/bin/env node
/*
* 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... | dcristoloveanu/qpid-proton | examples/javascript/messenger/server.js | JavaScript | apache-2.0 | 2,756 |
/**
* Copyright 2013-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.
*
* @providesModule ... | dmfrancisco/relay | src/mutation/RelayMutationTransaction.js | JavaScript | bsd-3-clause | 12,931 |
/*
This file is part of the GhostDriver by Ivan De Marino <http://ivandemarino.me>.
Copyright (c) 2012, Ivan De Marino <http://ivandemarino.me>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Red... | S11001001/phantomjs | src/ghostdriver/config.js | JavaScript | bsd-3-clause | 3,597 |
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.data.Field
* <p>This class encapsulates the field definition information specified in the field definition objects
* passed to {@link Ext.data.Record#create}.</p>
* <p>Devel... | luisibanez/SahanaEden | static/scripts/ext/src/data/DataField.js | JavaScript | mit | 8,134 |
function waitForStyles() {
for (var i = 0; i < document.styleSheets.length; i++)
if (/googleapis/.test(document.styleSheets[i].href))
return document.body.className += " droid";
setTimeout(waitForStyles, 100);
}
setTimeout(function() {
if (/AppleWebKit/.test(navigator.userAgent) && /iP[oa]d|iPhone/.test... | miguel76/WorldPipes-CAR | system/sparql/css/font.js | JavaScript | gpl-3.0 | 637 |
var class_mix_e_r_p_1_1_net_1_1_api_1_1_transactions_1_1_non_gl_stock_tax_detail_controller =
[
[ "NonGlStockTaxDetailController", "class_mix_e_r_p_1_1_net_1_1_api_1_1_transactions_1_1_non_gl_stock_tax_detail_controller.html#a584eb67b866e694be06e94d73b0a3e9f", null ],
[ "Add", "class_mix_e_r_p_1_1_net_1_1_api_1... | mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_api_1_1_transactions_1_1_non_gl_stock_tax_detail_controller.js | JavaScript | gpl-3.0 | 3,881 |
/**
* Copyright (c) 2013-present, 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.
*
* The examp... | aaron-goshine/react-native | Examples/UIExplorer/js/UIExplorerApp.android.js | JavaScript | bsd-3-clause | 7,808 |
'use strict';
// Runs `npm install` in cwd
var chalk = require('chalk');
var Task = require('../models/task');
var RSVP = require('rsvp');
var spawn = RSVP.denodeify(require('child_process').spawn);
module.exports = Task.extend({
// The command to run: can be 'install' or 'uninstall'
command: '',
// Message... | intellix/angular-cli | packages/@angular/cli/ember-cli/lib/tasks/npm-task.js | JavaScript | mit | 1,755 |
/**
* Data Story PaidContent theme for HighCharts
* @author NKB
*/
Highcharts.theme = {
colors: ['#009ee0', '#db0031', '#b7b09e', '#e2dacb', '#627a83', '#009ee0', '#db0031', '#b7b09e', '#e2dacb', '#627a83'],
chart: {
backgroundColor: '#fff',
plotBackgroundColor: 'rgba(255, 255, 255, .9)',
plotShadow: false,... | datafunk/datawrapper | www/legacy/themes/js/ruhrnachrichten.js | JavaScript | mit | 2,690 |
function Rect(x, y, width, height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.calcArea = function () {
return this.width * this.height;
};
this.calcPerimeter = function () {
return 2 * this.width + 2 * this.height;
};
}
var rect1 = new Rect(50, 55, 15, 10),
rect2 = new Rect... | fr0wsTyl/TelerikAcademy-2015 | Telerik - JS OOP/JavaScript-OOP-master/04. Classical Inheritance/demos/04. different-method-instances.js | JavaScript | mit | 337 |
Proj4js.defs["EPSG:2693"] = "+proj=tmerc +lat_0=0 +lon_0=177 +k=1 +x_0=59500000 +y_0=0 +ellps=krass +units=m +no_defs"; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG2693.js | JavaScript | gpl-3.0 | 119 |
var MovieDetails = new Class({
Extends: BlockBase,
sections: null,
buttons: null,
initialize: function(parent, options){
var self = this;
self.sections = {};
var category = parent.get('category');
self.el = new Element('div',{
'class': 'page active movie_details level_' + (options.level || 0)
}).... | mattesno1/CouchPotatoServer | couchpotato/core/media/movie/_base/static/details.js | JavaScript | gpl-3.0 | 3,726 |
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANT... | cristianosistemas/domino | test/w3c/level1/html/HTMLAnchorElement05.js | JavaScript | bsd-2-clause | 2,925 |
var _c_p_t_utilities_8m =
[
[ "kCacheSize", "_c_p_t_utilities_8m.html#ab28dee05417c39b7d6fe814e241e52a3", null ],
[ "CPTAlignIntegralPointToUserSpace", "_c_p_t_utilities_8m.html#a1a69e57bc4c30878360633a47e0f48d1", null ],
[ "CPTAlignIntegralRectToUserSpace", "_c_p_t_utilities_8m.html#a27c8baf65f50f88334840f... | LiDechao/core-plot | documentation/html/iOS/_c_p_t_utilities_8m.js | JavaScript | bsd-3-clause | 5,916 |
#!/usr/bin/env node
var util = require('util');
var faker = require('../index');
faker.locale = "en";
console.log(faker.helpers.contextualCard()); | cgiganti/chartmaster | node_modules/faker/examples/node_min_test.js | JavaScript | mit | 150 |
/**
* Copyright 2015 Google Inc. 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 required by appli... | alexciobanu4/symfony3 | web/node_modules/googleapis/apis/urlshortener/v1.js | JavaScript | mit | 3,748 |
Categories = new Mongo.Collection("categories");
// category schema
Categories.schema = new SimpleSchema({
name: {
type: String,
editableBy: ["admin"]
},
description: {
type: String,
optional: true,
editableBy: ["admin"],
autoform: {
rows: 3
}
},
order: {
type: Number,
... | cloudunicorn/fundandexit | packages/telescope-tags/lib/categories.js | JavaScript | mit | 3,281 |
describe("Ext.data.Connection", function() {
var originalExtAsap,
makeConnection, connection, request;
beforeEach(function() {
MockAjaxManager.addMethods();
makeConnection = function(cfg){
cfg = cfg || {};
connection = new Ext.data.Connection(cfg);
... | hyokun31/wisekb-management-platform | wisekb-web/src/main/webapp/flamingo/ext/packages/core/test/specs/data/Connection.js | JavaScript | apache-2.0 | 74,436 |
setup({ allow_uncaught_exception:true });
[
1,
new TypeError(),
undefined
].forEach(throwable => {
test(t => {
let happened = false;
self.addEventListener("error", t.step_func(e => {
assert_true(e.message !== "");
assert_equals(e.filename, new URL("reporterror.any.js", location.href).href);... | chromium/chromium | third_party/blink/web_tests/external/wpt/html/webappapis/scripting/reporterror.any.js | JavaScript | bsd-3-clause | 1,281 |
// 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.
// This hack prevents a bug on the cast extension.
// TODO(yoshiki): Remove this once the cast extension supports Chrome apps.
// Although localStorage in... | Jonekee/chromium.src | ui/file_manager/video_player/js/cast/caster.js | JavaScript | bsd-3-clause | 6,303 |
/*
* 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.
*/
... | John-Hart/autorest | src/generator/AutoRest.NodeJS.Tests/Expected/AcceptanceTests/BodyComplex/models/basic.js | JavaScript | mit | 1,351 |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | teeple/pns_server | work/install/node-v0.10.25/test/simple/test-stream-readable-flow-recursion.js | JavaScript | gpl-2.0 | 2,500 |
define(["doh/main", "require", "dojo/sniff"], function(doh, require, has){
doh.registerUrl("dojox.mobile.tests.doh.Slider", require.toUrl("./SliderTests.html"),999999);
});
| avz-cmf/zaboy-middleware | www/js/dojox/mobile/tests/doh/slider/module.js | JavaScript | gpl-3.0 | 178 |
function f(code) {
try {
Function(code)()
} catch(r) {}
} {
function x() {}
}
f("")
f("")
f("")
f("x::e")
if (typeof w == "") {}
| JasonGross/mozjs | js/src/jit-test/tests/jaeger/recompile/bug653980.js | JavaScript | mpl-2.0 | 140 |
(function() {
function Tests(ASSERT, RANDOM, UTIL) {
describe('random', function() {
it('should generate 10 random bytes', function() {
var random = RANDOM.createInstance();
random.getBytes(16);
random.getBytes(24);
random.getBytes(32);
var b = random.getBytes(10);
ASSERT.eq... | patrizz/FinancialRegistryService | src/main/nodejs/node_modules/node-forge/nodejs/test/random.js | JavaScript | apache-2.0 | 1,831 |
describe('Service: $cordovaBatteryStatus', function () {
var $cordovaBatteryStatus, $rootScope;
var eventNames = ['batterystatus', 'batterycritical', 'batterylow'];
beforeEach(module('ngCordova.plugins.batteryStatus'));
beforeEach(inject(function (_$cordovaBatteryStatus_, _$q_, _$rootScope_) {
$cordovaB... | mrshiz37/RICH | www/lib/ngCordova/test/plugins/batteryStatus.spec.js | JavaScript | gpl-3.0 | 1,021 |
const gulp = require('gulp')
const gulpPlugins = require('gulp-load-plugins')()
const DIST = 'public/dist'
const STUFF_TO_REV = [
'public/fonts/**/*',
'public/images/**/*',
// We javascript_include_tag('require.js') directly from rails
'public/javascripts/vendor/require.js',
'public/optimized/vendor/require... | Rvor/canvas-lms | gulpfile.babel.js | JavaScript | agpl-3.0 | 1,630 |
version https://git-lfs.github.com/spec/v1
oid sha256:304b1a25d325e4831dab95b7a78059a50b48fc37d598c4ee47002e7b3fc364ac
size 2281
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.4.0-beta.4/i18n/angular-locale_en-mh.js | JavaScript | mit | 129 |
/**
* @class The built-in Date class.
* @name Date
*/
Date.__parse__ = Date.parse;
/**
* Parses a date from a string, optionally using the specified formatting. If
* only a single argument is specified (i.e., <tt>format</tt> is not specified),
* this method invokes the native implementation to guarantee
* back... | genome/genome | lib/perl/Genome/View/Resource/Html/old/report_resources/protovis-3.1/js/lang/Date.js | JavaScript | lgpl-3.0 | 9,889 |
{{ map_var }} = topojson.feature({{ t_var }}, {{ t_var_obj }}); | UDST/folium | tests/templates/topo_func.js | JavaScript | mit | 63 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... | BenjaminVanRyseghem/cdnjs | ajax/libs/foundation/6.4.0/js/plugins/foundation.sticky.js | JavaScript | mit | 34,976 |
/* global angular */
(function () {
'use strict';
angular
.module('blocks.exception', [
'blocks.error'
]);
}()); | jawilson/Flexget | flexget/ui/v1/src/blocks/exception/exception.module.js | JavaScript | mit | 149 |
const isArray = Array.isArray;
const isPlainObject = require('lodash.isplainobject');
const merge = require('lodash.merge');
const find = require('lodash.find');
const isEqual = require('lodash.isequal');
const loaderNameRe = /^([^\?]+)/ig;
function mergeLoaders(currentLoaders, newLoaders) {
return newLoaders.reduc... | zebra110/test | vue-demo/node_modules/.0.14.1@webpack-merge/src/index.js | JavaScript | gpl-3.0 | 3,155 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1
*
* @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js
* @description Complex tests, use RFC 3629
*/
var errorCount = 0;
var count = 0;
var indexP;
var indexO = 0;
var uriRes... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js | JavaScript | bsd-3-clause | 2,269 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js
* @description Object.defineProperty - value of 'set' property in 'Attributes' is a function (8.10.5 step 8.b)
*/
function testcase() {
var obj = {};
var data = "data";
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js | JavaScript | bsd-3-clause | 597 |
/**
* @fileoverview Main CLI object.
* @author Nicholas C. Zakas
*/
"use strict";
/*
* The CLI object should *not* call process.exit() directly. It should only return
* exit codes. This allows other programs to use the CLI object and still control
* when the program exits.
*/
//-------------------------------... | Vikkee-Singh/song-tracker | server/node_modules/eslint/lib/cli-engine.js | JavaScript | mit | 24,545 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
else if(typeof define === 'function' && define.amd)
define("iview", ["vue"], factory);
else if(typeof exports === 'object')
exports["iview"] = fact... | BenjaminVanRyseghem/cdnjs | ajax/libs/iview/2.0.0-rc.11/iview.js | JavaScript | mit | 754,162 |
function TinyDatePicker(input, options) {
'use strict';
/////////////////////////////////////////////////////////
// Initialization and state variables
var opts = initializeOptions(options);
var currentDate = opts.parse(input.value);
var el = buildCalendarElement(currentDate, opts);
var isHiding = false;... | sashberd/cdnjs | ajax/libs/tiny-date-picker/0.0.1/tiny-date-picker.js | JavaScript | mit | 7,683 |
/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2011
*/
!function (name, definition) {
if (typeof define == 'function') define(definition)
else if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
else this[name] = d... | maruilian11/cdnjs | ajax/libs/bowser/0.1.0/bowser.js | JavaScript | mit | 3,875 |
/**
* @class Ext.dom.Element
* @alternateClassName Ext.Element
* @mixins Ext.util.Positionable
* @mixins Ext.mixin.Observable
*
* Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.
*
* **Note:** The events included in this Class are the ones we've found t... | Kolbaskin/janusjs | static/admin/ext/packages/sencha-core/src/dom/Element.js | JavaScript | lgpl-2.1 | 195,501 |
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defi... | extend1994/cdnjs | ajax/libs/vanilla-lazyload/6.1.2/lazyload.transpiled.js | JavaScript | mit | 13,810 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v18.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... | jonobr1/cdnjs | ajax/libs/ag-grid/18.1.1/lib/components/framework/componentMetadataProvider.js | JavaScript | mit | 5,629 |
/*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('autocomplete-base', function(Y) {
/**
Provides automatic input completion or suggestions for text input fields and
textareas.
@module autocomplete
@main autocomplete
@sinc... | sergiomt/zesped | src/webapp/js/yui/autocomplete-base/autocomplete-base-debug.js | JavaScript | agpl-3.0 | 48,370 |
/**
* Module dependencies
*/
var _ = require('lodash');
/**
* "Teach" router to understand direct references to views.
*
* @param {Sails} sails
* @param {Object} route
*/
module.exports = function onRoute (sails, route) {
var target = route.target,
path = route.path,
verb = route.verb,
options = rout... | pmq20/sails | lib/hooks/views/onRoute.js | JavaScript | mit | 2,630 |
YUI.add("arraysort",function(e,t){var n=e.Lang,r=n.isValue,i=n.isString,s=e.ArraySort={compare:function(e,t,n){return r(e)?r(t)?(i(e)&&(e=e.toLowerCase()),i(t)&&(t=t.toLowerCase()),e<t?n?1:-1:e>t?n?-1:1:0):-1:r(t)?1:0},naturalCompare:function(e,t,n){e+="",t+="";if(!n||!n.caseSensitive)e=e.toLowerCase(),t=t.toLowerCase(... | kPlusPlus/GameK | node_modules/yui/arraysort/arraysort-min.js | JavaScript | mit | 665 |
define(
({
insertAnchor: "插入錨點",
title: "錨點內容",
anchor: "名稱:",
text: "說明:",
set: "設定",
cancel: "取消"
})
);
| avz-cmf/zaboy-middleware | www/js/dojox/editor/plugins/nls/zh-tw/InsertAnchor.js | JavaScript | gpl-3.0 | 148 |
// Just don't assert or crash.
function f() {
let c
try {
(eval("\
(function(){\
with(\
this.__defineGetter__(\"x\", function(){for(a = 0; a < 3; a++){c=a}})\
){}\
})\
"))()
} catch(e) {}
}
f()
print(x)
| glycerine/vj | src/js-1.8.5/js/src/jit-test/tests/basic/bug513038.js | JavaScript | apache-2.0 | 256 |
"use strict";
module.exports = require("./_iterate")("some", false);
| hellokidder/js-studying | 微信小程序/wxtest/node_modules/es5-ext/object/some.js | JavaScript | mit | 70 |
// Copyright 2016 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.
function target() {};
var proxy = new Proxy(target, {
get() {
// Reset the initial map of the target.
target.prototype = 123;
}});
new pr... | weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-crbug-578039-Proxy_construct_prototype_change.js | JavaScript | apache-2.0 | 327 |
const set = require('regenerate')(0x1940);
set.addRange(0x1900, 0x191E).addRange(0x1920, 0x192B).addRange(0x1930, 0x193B).addRange(0x1944, 0x194F);
module.exports = set;
| BigBoss424/portfolio | v8/development/node_modules/regenerate-unicode-properties/Script/Limbu.js | JavaScript | apache-2.0 | 170 |
/*! jQuery UI - v1.10.2 - 2013-03-22
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","... | marketingincolor/naviga | wp-content/themes/madico.com-Dealer/js/jquery-ui-1.10.2.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js | JavaScript | gpl-2.0 | 920 |
"use strict";
/**
* @license
* Copyright 2017 Palantir Technologies, 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
*
* Unle... | HTLMechatronics/m13-5ahme-fivu | projects/ue07/node_modules/tslint/lib/rules/noInvalidTemplateStringsRule.js | JavaScript | gpl-3.0 | 2,610 |
/**
* Copyright 2015 Google Inc. 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 required by appli... | skylerreimer/ASBot2.0- | updater/node_modules/googleapis/apis/prediction/v1.5.js | JavaScript | gpl-3.0 | 13,575 |
loadIonicon('<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M170.718 216.482L141.6 245.6l93.6 93.6 208-208-29.118-29.118L235.2 279.918l-64.482-63.436zM422.4 256c0 91.518-74.883 166.4-166.4 166.4S89.6 347.518 89.6 256 164.482 89.6 256 89.6c15.6 0 ... | holtkamp/cdnjs | ajax/libs/ionicons/4.0.0-6/ionicons/svg/md-checkmark-circle-outline.js | JavaScript | mit | 490 |
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directl... | ivanmvh/railscasts-episodes | episode-147/revised/faqapp-after/app/assets/javascripts/application.js | JavaScript | mit | 485 |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var ng2Walker_1 = require("../angular/ng2Walker"... | mo-norant/FinHeartBel | website/node_modules/codelyzer/walkerFactory/walkerFn.js | JavaScript | gpl-3.0 | 2,469 |
// Copyright 2008 The Closure Library 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 requ... | chihuahua/beautiful-audio-editor | third_party/closure_library/closure/goog/fx/dragger_test.js | JavaScript | apache-2.0 | 14,680 |
var wshShell = new ActiveXObject("WScript.Shell")
var oFS = new ActiveXObject("Scripting.FileSystemObject");
var outfile = "./scmrev.h";
var cmd_revision = " rev-parse HEAD";
var cmd_describe = " describe --always --long --dirty";
var cmd_branch = " rev-parse --abbrev-ref HEAD";
function GetGitExe()
{
try
{
... | Alchemistxxd/dolphin | Source/Core/Common/make_scmrev.h.js | JavaScript | gpl-2.0 | 2,616 |
"use strict";
const whatwgURL = require("whatwg-url");
const arrayEqual = require("array-equal");
const notImplemented = require("../../browser/not-implemented.js");
const reportException = require("../helpers/runtime-script-errors.js");
const idlUtils = require("../generated/utils.js");
exports.evaluateJavaScriptURL ... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/window/navigation.js | JavaScript | apache-2.0 | 3,267 |
define("ace/snippets/space",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText =undefined;
exports.scope = "space";
}); (function() {
window.require(["ace/snippets/space"], function(m) {
if (typeof module ==... | shapesecurity/shift-website | vendor/ace-builds/src/snippets/space.js | JavaScript | apache-2.0 | 505 |
var RcLoader = require('rcloader');
var jshint = require('jshint').JSHINT;
var jshintcli = require('jshint/src/cli');
var minimatch = require("minimatch");
var _ = require("lodash");
module.exports = function createLintFunction(userOpts) {
var rcLoader = new RcLoader('.jshintrc', userOpts, {
loader: function (p... | careyestes/careyestes | wp-content/themes/basetemplate/node_modules/gulp-jshint/src/lint.js | JavaScript | gpl-2.0 | 1,838 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Injectable, RenderComponentType, RootRenderer } from '@angular/core';
import { FunctionWrapper } from '../..... | vidyutron/vidyutron.github.io | vendor/libs/@angular/platform-browser/esm/src/web_workers/ui/renderer.js | JavaScript | mit | 8,068 |
/* Copyright JS Foundation and other contributors, http://js.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 r... | grgustaf/jerryscript | tests/jerry-test-suite/es2015/22/22.02/22.02.03/22.02.03-007.js | JavaScript | apache-2.0 | 966 |
'use strict';
var ip = exports;
var Buffer = require('buffer').Buffer;
var os = require('os');
ip.toBuffer = function(ip, buff, offset) {
offset = ~~offset;
var result;
if (this.isV4Format(ip)) {
result = buff || new Buffer(offset + 4);
ip.split(/\./g).map(function(byte) {
result[offset++] = par... | reypila/Udemy | src/NodeJS/service/node_modules/ip/lib/ip.js | JavaScript | gpl-3.0 | 10,205 |
// Copyright: 2013 PMSI-AlignAlytics
// License: "https://github.com/PMSI-AlignAlytics/dimple/blob/master/MIT-LICENSE.txt"
// Source: /src/objects/begin.js
// Create the stub object
var dimple = {
version: "1.1.4",
plot: {},
aggregateMethod: {}
};
// Wrap all application code in a self-executing function
... | dshookowsky/RoboRating | www/lib/dimple/dist/dimple.v1.1.4.js | JavaScript | gpl-3.0 | 219,357 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("React"), require("ReactMotion"));
else if(typeof define === 'function' && define.amd)
define(["React", "ReactMotion"], factory);
else if(typeof exports === '... | brix/cdnjs | ajax/libs/react-motion-ui-pack/0.1.5/react-motion-ui-pack.js | JavaScript | mit | 10,377 |
/*!
* Inheritance.js (0.4.6)
*
* Copyright (c) 2015 Brandon Sara (http://bsara.github.io)
* Licensed under the CPOL-1.02 (https://github.com/bsara/inheritance.js/blob/master/LICENSE.md)
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof e... | AMoo-Miki/cdnjs | ajax/libs/inheritance-js/0.4.6/inheritance.js | JavaScript | mit | 21,728 |
/* jshint expr: true */
!function (root, factory) {
if (typeof module === 'object' && module.exports)
module.exports = factory(root);
else
root.timeago = factory(root);
}(typeof window !== 'undefined' ? window : this, function () {
var timeago = function(nowDate) {
// 已有的local,默认为en
var defaul... | seogi1004/cdnjs | ajax/libs/timeago.js/1.0.2/timeago.js | JavaScript | mit | 4,150 |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], function () {
return (root.returnExportsGlobal = factory());
});
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// o... | sufuf3/cdnjs | ajax/libs/chartist-plugin-legend/0.0.3/chartist-plugin-legend.js | JavaScript | mit | 3,275 |
version https://git-lfs.github.com/spec/v1
oid sha256:60be8483bda3b225c454c832f54d34112dd0f2ad079d7a013818154c5cb98fef
size 1972
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.3.0-beta.9/i18n/angular-locale_es-us.js | JavaScript | mit | 129 |
"use strict";angular.module("ngLocale",[],["$provide",function(e){var M={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["ጥዋት","ከሰዓት"],DAY:["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],MONTH:["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕሪል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተ... | seogi1004/cdnjs | ajax/libs/angular-i18n/1.2.30/angular-locale_am.min.js | JavaScript | mit | 1,263 |
/**
* Copyright 2014, 2015 IBM Corp.
*
* 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... | algope/amigaBOT | test/red/storage/index_spec.js | JavaScript | apache-2.0 | 8,467 |
var demand = require('must');
var GeoPointType = require('../GeoPointType');
exports.initList = function (List) {
List.add({
gp: GeoPointType,
});
};
// Coordinates are in [lon, lat]
const COORDINATES = {
canberra: [149.14489746, -35.28150066],
nyc: [-74.0059413, 40.7127837],
sydneyCenter: [151.2069902, -33.86... | Pop-Code/keystone | fields/types/geopoint/test/filters.js | JavaScript | mit | 3,562 |
/*
* Copyright (c) 2014, GMO GlobalSign
* All rights reserved.
*
* Author 2014, Yury Strozhevsky <www.strozhevsky.com>.
*
* 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 mu... | joeyparrish/cdnjs | ajax/libs/PKI.js/1.1.0/x509_simpl.js | JavaScript | mit | 305,088 |
/**
* @provides javelin-behavior-differential-add-reviewers-and-ccs
* @requires javelin-behavior
* javelin-dom
* phabricator-prefab
*/
JX.behavior('differential-add-reviewers-and-ccs', function(config) {
var dynamic = {};
for (var k in config.dynamic) {
var props = config.dynamic[k];
... | Symplicity/phabricator | webroot/rsrc/js/application/differential/behavior-add-reviewers-and-ccs.js | JavaScript | apache-2.0 | 1,157 |
'use strict'
var hiredis = require('hiredis')
var ReplyError = require('../lib/replyError')
/**
* Parse data
* @param parser
* @returns {*}
*/
function parseData (parser) {
try {
return parser.reader.get()
} catch (err) {
// Protocol errors land here
// Reset the parser. Otherwise new commands can... | EinoVirtanen/futuwear | server/node_modules/redis/node_modules/redis-parser/lib/hiredis.js | JavaScript | mit | 1,225 |
videojs.addLanguage("ba",{
"Play": "Pusti",
"Pause": "Pauza",
"Current Time": "Trenutno vrijeme",
"Duration Time": "Vrijeme trajanja",
"Remaining Time": "Preostalo vrijeme",
"Stream Type": "Način strimovanja",
"LIVE": "UŽIVO",
"Loaded": "Učitan",
"Progress": "Progres",
"Fullscreen": "Puni ekran",
"Non-Fullsc... | Zimbra-Community/owncloud-zimlet | zimlet/ViewerJS/video-js/lang/ba.js | JavaScript | gpl-3.0 | 1,336 |
/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("specialchar","af",{euro:"Euroteken",lsquo:"Linker enkelkwotasie",rsquo:"Regter enkelkwotasie",ldquo:"Linker dubbelkwotasie",rdqu... | maskedjellybean/tee-prop | web/core/assets/vendor/ckeditor/plugins/specialchar/dialogs/lang/af.js | JavaScript | gpl-2.0 | 4,549 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | Piicksarn/cdnjs | ajax/libs/forerunnerdb/1.3.751/fdb-core+persist.js | JavaScript | mit | 866,421 |
/*
Highcharts JS v6.0.2 (2017-10-20)
Support for parallel coordinates in Highcharts
(c) 2010-2017 Pawel Fus
License: www.highcharts.com/license
*/
(function(k){"object"===typeof module&&module.exports?module.exports=k:k(Highcharts)})(function(k){(function(c){function k(b){var a=this.series.chart,d=b.apply(this,... | jaiswarvipin/lms-open-source-framework | skin/third_party/modules/parallel-coordinates.js | JavaScript | mit | 4,118 |
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
YUI.add("lang/datatype-date-format_vi",function(e){e.Intl.add("datatype-date-format","vi",{a:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],A:["Ch\u1ee7 nh\u1eadt","Th\u1ee9 hai","Th\u1ee9 ba","Th\u1ee9 t\u01b0","Th\u1ee9 n\u0103m"... | berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/datatype-date-format/lang/datatype-date-format_vi.js | JavaScript | gpl-2.0 | 849 |
/**
* Copyright 2013-present, 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.
*
* @providesModu... | shergin/react | src/shared/utils/getNextDebugID.js | JavaScript | bsd-3-clause | 485 |
({"edit":"[編集]","save":"[保存]","cancel":"[キャンセル]","doNew":"[新規]"}) | Goldcap/TAHealth | web/js/dojo/dojox/atom/widget/nls/ja/FeedEntryEditor.js | JavaScript | mit | 87 |
/*!
* inferno-test-utils v0.8.0-alpha5
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoTestUtils... | sreym/cdnjs | ajax/libs/inferno/0.8.0-alpha4/inferno-test-utils.js | JavaScript | mit | 615 |
/*!
* inferno-redux v1.0.0-beta4
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('redux'), require('hoist-non-inferno-statics')) :
typeof define === 'function' && define.a... | seogi1004/cdnjs | ajax/libs/inferno/1.0.0-beta4/inferno-redux.js | JavaScript | mit | 26,795 |
videojs.addLanguage("ca",{
"Play": "Reproducció",
"Pause": "Pausa",
"Current Time": "Temps reproduït",
"Duration Time": "Durada total",
"Remaining Time": "Temps restant",
"Stream Type": "Tipus de seqüència",
"LIVE": "EN DIRECTE",
"Loaded": "Carregat",
"Progress": "Progrés",
"Fullscreen": "Pantalla completa",
... | SINTEF-SIT/stedr | www/lib/video.js/dist/lang/ca.js | JavaScript | apache-2.0 | 1,475 |