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 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.
*
* @noflow
* @p... | gunaangs/Feedonymous | node_modules/react-native/Libraries/Renderer/ReactNativeStack-dev.js | JavaScript | mit | 185,421 |
import Ember from 'ember';
const {assign} = Ember;
export default {
name: 'jquery-ajax-oauth-prefilter',
after: 'ember-simple-auth',
initialize(application) {
let session = application.lookup('service:session');
Ember.$.ajaxPrefilter(function (options) {
session.authorize('au... | Kaenn/Ghost | core/client/app/instance-initializers/jquery-ajax-oauth-prefilter.js | JavaScript | mit | 587 |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.runTapticImpactOccurred = runTapticImpactOccurred;
var _vkBridge = _interopRequireDefault(require("@vkontakte/vk-bridge"));
function ru... | cdnjs/cdnjs | ajax/libs/vkui/4.23.0/cjs/lib/taptic.js | JavaScript | mit | 598 |
describe("expression", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("./examples/example-example89/index-jquery.html");
});
it('should calculate expression in binding', function() {
expect(element(by.binding('1+2')).getText()).toEqual('1+2=3');
});
});
| hlepesant/lepetitcoin | src/Hug/FrontBundle/Resources/public/js/angular/1.2.23/docs/ptore2e/example-example89/jquery_test.js | JavaScript | mit | 318 |
/* */
"format amd";
/* Canadian-French initialisation for the jQuery UI date picker plugin. */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define(["../datepicker"], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
... | IsmailM/sequenceserver | public/vendor/github/components/jqueryui@1.11.4/ui/i18n/datepicker-fr-CA.js | JavaScript | agpl-3.0 | 1,180 |
/**
* Theme: Ubold Admin Template
* Author: Coderthemes
* Component: Peity Chart
*
*/
!function($) {
"use strict";
var PeityChart = function() {};
//create line
PeityChart.prototype.createLine = function ($element, $strokeColor, $fillColor, $width ,$height) {
$($element).peit... | softwareuptx/POA | static/pages/jquery.peity.init.js | JavaScript | apache-2.0 | 1,219 |
/*
* Copyright (c) 2014 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
'use strict';
// A simple echo extension used to test extension proxying.
chrome.runtime.onConnectExternal.addListener(function(port) {... | GoogleChromeLabs/chromeos_smart_card_connector | third_party/webports/src/src/chrome_test/pinger/background.js | JavaScript | apache-2.0 | 466 |
/*
Copyright 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | oldie85/PWAHackathon | solution/app/scripts/modules/cart-view.js | JavaScript | apache-2.0 | 3,193 |
// 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.
(function() {
'use strict';
Polymer('track-list', {
/**
* Initializes an element. This method is called automatically when the
* elemen... | TeamEOS/external_chromium_org | ui/file_manager/file_manager/audio_player/elements/track_list.js | JavaScript | bsd-3-clause | 9,240 |
// Copyright (c) 2011 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 deepEq = chrome.test.checkDeepEq;
var expectedEventData;
var expectedEventOrder;
var capturedEventData;
var nextFrameId;
var frameIds;
var nextTab... | aYukiSekiguchi/ACCESS-Chromium | chrome/test/data/extensions/api_test/webnavigation/framework.js | JavaScript | bsd-3-clause | 5,634 |
import Colors from '../colors';
import ColorManipulator from '../../utils/color-manipulator';
import Spacing from '../spacing';
/*
* Light Theme is the default theme used in material-ui. It is guaranteed to
* have all theme variables needed for every component. Variables not defined
* in a custom theme will defa... | izziaraffaele/material-ui | src/styles/baseThemes/lightBaseTheme.js | JavaScript | mit | 991 |
beforeAll(function() {
RewardDetailsMockery = function(attrs) {
var attrs = attrs || {};
var data = {
id: 25935,
project_id: 6140,
description: "reward_descriptiom",
minimum_value: 20,
maximum_contributions: null,
deliver_at: "2014-12-01T02:00:00",
updated_at: "2014-0... | sushant12/catarse.js | spec/lib/mocks/reward-details.mock.js | JavaScript | mit | 627 |
module.exports={A:{A:{"2":"VB","8":"J C G","129":"B A","161":"E"},B:{"129":"D Y g H L"},C:{"1":"0 1 3 4 5 6 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","2":"TB z","33":"F I J C G E B A D Y g H RB QB"},D:{"1":"0 1 3 4 5 6 f K h i j k l m n o p q r s x y u t FB AB CB UB DB","33":"F I J C ... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/caniuse-lite/data/features/transforms2d.js | JavaScript | mit | 830 |
import UsersSelect from '~/users_select';
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
import initBoards from '~/boards';
document.addEventListener('DOMContentLoaded', () => {
new UsersSelect(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
... | stoplightio/gitlabhq | app/assets/javascripts/pages/projects/boards/index.js | JavaScript | mit | 340 |
// flow-typed signature: 899226cdfae67586c21c8615d3d4fc42
// flow-typed version: <<STUB>>/tcomb_v^3.2.15/flow_v0.37.1
/**
* This is an autogenerated libdef stub for:
*
* 'tcomb'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* commu... | andrewjong/react-interactive-calculator | flow-typed/npm/tcomb_vx.x.x.js | JavaScript | mit | 10,772 |
/**
* @author qiao / https://github.com/qiao
* @fileoverview This is a convex hull generator using the incremental method.
* The complexity is O(n^2) where n is the number of vertices.
* O(nlogn) algorithms do exist, but they are much more complicated.
*
* Benchmark:
*
* Platform: CPU: P7350 @2.00GHz Engine: V... | karunakaruna/karunakaruna.github.io | node_modules/cannon/libs/ConvexGeometry.js | JavaScript | mit | 5,069 |
he.js | LoadChange/cnproxy | test/support/files/replaced/js/he.js | JavaScript | mit | 5 |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... | cdnjs/cdnjs | ajax/libs/blockly/7.20211209.4/msg/skr-arab.js | JavaScript | mit | 38,124 |
"use strict";function easeInOutSin(n){return(1+Math.sin(Math.PI*n-Math.PI/2))/2}function animate(t,i,a){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:function(){},e=n.ease,o=void 0===e?easeInOutSin:e,e=n.duration,u=void 0===e?300:e,l=null,s=i[t]... | cdnjs/cdnjs | ajax/libs/material-ui/4.12.3/internal/animate.min.js | JavaScript | mit | 701 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var turnOrder=require("./turn-order-9099d084.js");require("immer"),require("lodash.isplainobject");const PlayerView={STRIP_SECRETS:(e,r,t)=>{const s={...e};return void 0!==s.secret&&delete s.secret,s.players&&(s.players=t?{[t]:s.players[t]}:{}),s}};exp... | cdnjs/cdnjs | ajax/libs/boardgame-io/0.49.8/cjs/core.min.js | JavaScript | mit | 609 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'link', 'vi', {
acccessKey: 'Phím hỗ trợ truy cập',
advanced: 'Mở rộng',
advisoryContentType: 'Nội dung hướng dẫn',
advisoryTitle: 'Nhan đề hướng d... | gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/link/lang/vi.js | JavaScript | gpl-3.0 | 2,302 |
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file excep... | kyungw00k/jsoj | src/main/webapp/javascripts/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js | JavaScript | gpl-3.0 | 777 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'removeformat', 'ja', {
toolbar: '書式を解除'
} );
| nttuyen/task | task-management/src/main/resources/org/exoplatform/task/management/assets/ckeditorCustom/plugins/removeformat/lang/ja.js | JavaScript | lgpl-3.0 | 236 |
'use strict';
var isImplemented = require('../../../../reg-exp/#/sticky/is-implemented');
module.exports = function (a) { a(isImplemented(), true); };
| Ramanujakalyan/Inherit | ui/node_modules/gulp-minify-html/node_modules/minimize/node_modules/cli-color/node_modules/es5-ext/test/reg-exp/#/sticky/implement.js | JavaScript | unlicense | 158 |
define("ace/snippets/ruby",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "########################################\n\
# Ruby snippets - for Rails, see below #\n\
########################################\n\
\n\
# encoding for Ruby 1.9\n\
snippet enc\n\
# encod... | NPellet/jsGraph | web/site/js/ace-builds/src/snippets/ruby.js | JavaScript | mit | 23,597 |
/**
@module ember
@submodule ember-runtime
*/
import {
Mixin,
get,
set
} from 'ember-metal';
import { deprecate } from 'ember-debug';
/**
The `Ember.Freezable` mixin implements some basic methods for marking an
object as frozen. Once an object is frozen it should be read only. No changes
may be made the i... | Patsy-issa/ember.js | packages/ember-runtime/lib/mixins/freezable.js | JavaScript | mit | 2,894 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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]; } } }... | unmeshpro/easyPost | static/node_modules/material-ui/FloatingActionButton/FloatingActionButton.js | JavaScript | mit | 13,178 |
/**
* The nav stuff
*/
(function( window ){
'use strict';
var body = document.body,
mask = document.createElement("div"),
toggleSlideLeft = document.querySelector( ".toggle-slide-left" ),
toggleSlideRight = document.querySelector( ".toggle-slide-right" ),
toggleSlideTop = document.querySelector( ".toggle... | oberleycreative/caregiver-hq | wp-content/themes/Caregiver-HQ/js/nav.js | JavaScript | gpl-2.0 | 3,171 |
load_lib('fmall.js');
load_lib('fmgen.js');
load_lib('jsonopensrfrequest.js');
var bc;
environment.result = [];
var req = new JSONOpenSRFRequest()
req.connect('open-ils.cstore');
req.call('open-ils.cstore.direct.actor.user.search.atomic');
req.send({ family_name : "arl-dan" },{flesh:1,flesh_fields:{au:['cards']}})... | rsoulliere/Evergreen_Mohawk | Open-ILS/examples/req-test.js | JavaScript | gpl-2.0 | 635 |
/* -*- 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-349602.js... | tejassaoji/RhinoCoarseTainting | testsrc/tests/js1_7/decompilation/regress-349602.js | JavaScript | mpl-2.0 | 1,038 |
/*jshint node:true */
'use strict';
var map = require('map-stream');
var clone = require('lodash.clone');
var jshint = require('jshint').JSHINT;
var jshintcli = require('jshint/src/cli');
var gutil = require('gulp-util');
var PluginError = gutil.PluginError;
var formatOutput = function(success, file, opt) {
// no ... | jcu-eresearch/climas-ng | webapp/old-nm/gulp-jshint/index.js | JavaScript | apache-2.0 | 2,922 |
var features = require('./features');
var Rework = require('rework');
/**
* Expose `myth`.
*/
module.exports = exports = myth;
/**
* Expose `features`.
*/
exports.features = Object.keys(features);
/**
* Rework a CSS `string`, or return the Myth rework plugin.
*
* @param {String} string (optional)
* @param... | tykayn/card-deck | node_old/gulp-myth/node_modules/myth/lib/index.js | JavaScript | apache-2.0 | 1,161 |
/**
* Copyright (c) 2015-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.
*/
'use strict... | foghina/react-native | packager/react-packager/src/JSTransformer/worker/__tests__/worker-test.js | JavaScript | bsd-3-clause | 7,483 |
// Generated by CoffeeScript 1.7.1
var ReadableTrackingBuffer, WritableTrackingBuffer;
ReadableTrackingBuffer = require('./readable-tracking-buffer');
WritableTrackingBuffer = require('./writable-tracking-buffer');
module.exports.ReadableTrackingBuffer = ReadableTrackingBuffer;
module.exports.WritableTrackingBuffer... | CaoPhiHung/CRM | web/dev/repair/node_modules/mssql/node_modules/tedious/lib/tracking-buffer/tracking-buffer.js | JavaScript | mit | 347 |
/*global define*/
define([
'./defaultValue',
'./defined',
'./DeveloperError',
'./FeatureDetection',
'./freezeObject'
], function(
defaultValue,
defined,
DeveloperError,
FeatureDetection,
freezeObject) {
"use strict";
// Bail ou... | AlexOreshkevich/velomode.by | world/Source/Core/ComponentDatatype.js | JavaScript | gpl-2.0 | 9,782 |
odoo.define('iap.buy_more_credits', function (require) {
'use strict';
var widgetRegistry = require('web.widget_registry');
var Widget = require('web.Widget');
var core = require('web.core');
var rpc = require('web.rpc');
var QWeb = core.qweb;
var IAPBuyMoreCreditsWidget = Widget.extend({
className: 'o_field_ia... | ddico/odoo | addons/iap/static/src/js/iap_buy_more_credits.js | JavaScript | agpl-3.0 | 1,638 |
OC.L10N.register(
"files_sharing",
{
"Cancel" : "Cancelar",
"A file or folder has been <strong>shared</strong>" : "Un archivo o carpeta ha sido <strong>compartido</strong>",
"You shared %1$s with %2$s" : "Ha compartido %1$s con %2$s",
"You shared %1$s with group %2$s" : "Has compartido %1$s con ... | jbicha/server | apps/files_sharing/l10n/es_CL.js | JavaScript | agpl-3.0 | 592 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ho... | Distrotech/qtdeclarative | tests/benchmarks/qml/holistic/data/jsImports/mldsi9.js | JavaScript | lgpl-3.0 | 4,362 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ConfigPrinter = exports.ChainFormatter = void 0;
const gensync = require("gensync");
const ChainFormatter = {
Programmatic: 0,
Config: 1
};
exports.ChainFormatter = ChainFormatter;
const Formatter = {
title(type, callerName,... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/react-scripts/node_modules/@babel/plugin-syntax-object-rest-spread/node_modules/@babel/core/lib/config/printer.js | JavaScript | apache-2.0 | 2,801 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | hippich/typescript | tests/Fidelity/test262/suite/ch12/12.9/12.9-1.js | JavaScript | apache-2.0 | 894 |
// Copyright (c) 2012 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.
cr.define('options', function() {
/** @const */ var SettingsDialog = options.SettingsDialog;
/**
* A dialog that will pop up when the user att... | TeamEOS/external_chromium_org | chrome/browser/resources/options/confirm_dialog.js | JavaScript | bsd-3-clause | 4,268 |
module.exports = [
{
entry: {
"widgets": "./app/widgets",
"edit": "./app/views/edit",
"index": "./app/views/index"
},
output: {
filename: "./app/bundle/[name].js"
},
module: {
loaders: [
{ test: /\.h... | patrickbaber/pagekit | app/system/modules/widget/webpack.config.js | JavaScript | mit | 429 |
/*! x509-1.1.6.js (c) 2012-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
*/
/*
* x509.js - X509 class to read subject public key from certificate.
*
* Copyright (c) 2010-2015 Kenji Urushima (kenji.urushima@gmail.com)
*
* This software is licensed under the terms of the MIT License.
* http://kjur.githu... | mdcone/jsrsasign | x509-1.1.js | JavaScript | mit | 25,050 |
/**
* A processor that can run arbitrary checking rules against properties of documents
* The configuration for the processor is via the `docTypeRules`.
* This is a hash of docTypes to rulesets.
* Each rules set is a hash of properties to rule functions.
*
* The processor will run each rule function against eac... | brandonroberts/platform | projects/ngrx.io/tools/transforms/angular-base-package/processors/checkContentRules.js | JavaScript | mit | 2,089 |
/*!
* Vue.js v2.5.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
/* */
var emptyObject = Object.freeze({});
// these helpers produces better vm code in JS engines due to their
// explicitness and function inlining
function isUndef (v) {
return v === undefined || v === null
}
function isDef (v... | sashberd/cdnjs | ajax/libs/vue/2.5.6/vue.esm.js | JavaScript | mit | 285,328 |
/** @license React v16.1.0
* react-dom-unstable-native-dependencies.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var h=require("react-dom"),k=require("... | sufuf3/cdnjs | ajax/libs/react-dom/16.1.0/cjs/react-dom-unstable-native-dependencies.production.min.js | JavaScript | mit | 10,909 |
/**
* 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... | alexisread/noreml | www/jxcore/node_modules/node-red/nodes/core/core/25-status.js | JavaScript | mit | 949 |
'use strict';
var _ = require('lodash');
module.exports = {
parse: function (buffer) {
var lines = buffer.toString().split('\n');
var result = lines.map(mapLine);
return _.compact(result).join('\n');
}
};
function mapLine (line) {
return filters().reduce(function (filteredLine, filter) {
if (... | SpriteMate/SpriteMate | node_modules/sequelize-cli/lib/helpers/log-helper.js | JavaScript | gpl-3.0 | 880 |
odoo.define('web.FieldManagerMixin', function (require) {
"use strict";
/**
* The FieldManagerMixin is a mixin, designed to do the plumbing between field
* widgets and a basicmodel. Field widgets can be used outside of a view. In
* that case, someone needs to listen to events bubbling up from the widgets and
* c... | t3dev/odoo | addons/web/static/src/js/views/field_manager_mixin.js | JavaScript | gpl-3.0 | 6,254 |
// Binary: cache/js-dbg-32-9d6f5ab54933-linux
// Flags: -j
//
(function() {
var Y = function() {};
function g() {
function f(x) {
for (var j = 0; j < 1; ++j) {
x.apply(this);
}
}
return function() {
f(Y);
}
};
for (var i... | JasonGross/mozjs | js/src/jit-test/tests/auto-regress/bug496325.js | JavaScript | mpl-2.0 | 367 |
module.exports={A:{A:{"2":"H E G C B A VB"},B:{"2":"D u g I J"},C:{"1":"0 1 2 3 4 5 6 y K","2":"TB x F L H E G C B A D u g I J Y O e P Q R S T RB QB","194":"l m n","450":"U V W X v Z a b c d N f M h i j k","2242":"o p q r s t"},D:{"1":"4 5 6 K FB AB CB UB DB","2":"F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z a... | fengkiej/chainsign | node_modules/caniuse-lite/data/features/webgl2.js | JavaScript | agpl-3.0 | 799 |
import {ParseTreeTransformer} from 'traceur/src/codegeneration/ParseTreeTransformer';
import {ForInStatement} from 'traceur/src/syntax/trees/ParseTrees';
/**
* Transforms for-of into for-in.
*/
export class ForOfTransformer extends ParseTreeTransformer {
/**
* @param {ForOfStatement} tree
* @return {ParseTre... | coffeel/TestRepository | tools/transpiler/src/codegeneration/ForOfTransformer.js | JavaScript | apache-2.0 | 521 |
/*
* Translated default messages for the jQuery validation plugin.
* Locale: DE (German, Deutsch)
*/
$.extend( $.validator.messages, {
required: "Dieses Feld ist ein Pflichtfeld.",
maxlength: $.validator.format( "Geben Sie bitte maximal {0} Zeichen ein." ),
minlength: $.validator.format( "Geben Sie bitte mindeste... | laffer1/justjournal | src/main/resources/static/components/jquery.validation/src/localization/messages_de.js | JavaScript | bsd-2-clause | 4,608 |
/* angular-moment.js / v1.2.0 / (c) 2013, 2014, 2015, 2016, 2017 Uri Shaked / MIT Licence */
'format amd';
/* global define */
(function () {
'use strict';
function isUndefinedOrNull(val) {
return angular.isUndefined(val) || val === null;
}
function requireMoment() {
try {
return require('moment'); // Us... | gauravparashar29/exambazaar | views/angular-moment.js | JavaScript | mit | 21,178 |
React.createElement(Component, babelHelpers.extends({}, x, {
y: 2,
z: true
}));
| hulkish/babel | packages/babel-plugin-transform-react-jsx/test/fixtures/react/wraps-props-in-react-spread-for-first-spread-attributes/output.js | JavaScript | mit | 84 |
/**
* Visual Blocks Editor
*
* Copyright 2013 Google Inc.
* http://blockly.googlecode.com/
*
* 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... | tobyk100/blockly-trunk | core/field_angle.js | JavaScript | apache-2.0 | 7,459 |
class Properties { get<T>() {} }
| facebook/flow | src/parser/test/flow/class_properties/migrated_0014.js | JavaScript | mit | 33 |
/*!
* 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 ... | SteveSchafer-Innovent/innovent-pentaho-birt-plugin | js-lib/expanded/cdf/js/lib/dataTables/cdf-datatables.js | JavaScript | epl-1.0 | 763 |
var reg_mb_id_check = function() {
var result = "";
$.ajax({
type: "POST",
url: g5_bbs_url+"/ajax.mb_id.php",
data: {
"reg_mb_id": encodeURIComponent($("#reg_mb_id").val())
},
cache: false,
async: false,
success: function(data) {
... | curlychoi/miwit-pack5 | js/jquery.register_form.js | JavaScript | lgpl-2.1 | 2,172 |
/**
* @version: 1.3.15
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2014-10-20
* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
(function(root... | hexlism/css_platform | sleepyenv/lib/python2.7/site-packages/Flask_Admin-1.2.0-py2.7.egg/flask_admin/static/vendor/bootstrap-daterangepicker/daterangepicker.js | JavaScript | apache-2.0 | 49,304 |
//// [templateStringInPropertyName1.ts]
var x = {
`a`: 321
}
//// [templateStringInPropertyName1.js]
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
... | domchen/typescript-plus | tests/baselines/reference/templateStringInPropertyName1.js | JavaScript | apache-2.0 | 398 |
//// [privateIndexer.ts]
// private indexers not allowed
class C {
private [x: string]: string;
}
class D {
private [x: number]: string;
}
class E<T> {
private [x: string]: T;
}
//// [privateIndexer.js]
// private indexers not allowed
var C = /** @class */ (function () {
function C() {
}
... | nojvek/TypeScript | tests/baselines/reference/privateIndexer.js | JavaScript | apache-2.0 | 517 |
version https://git-lfs.github.com/spec/v1
oid sha256:87a62b163c0cf979432b1fea40389e1e2307cd9a4531e64a403ccb5d8e2259bc
size 650
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.5.4/cldr/nls/pt-pt/number.js | JavaScript | mit | 128 |
po.drag = function() {
var drag = {},
map,
container,
dragging;
function mousedown(e) {
if (e.shiftKey) return;
dragging = {
x: e.clientX,
y: e.clientY
};
map.focusableParent().focus();
e.preventDefault();
document.body.style.setProperty("cursor", "move", null)... | emarschner/gothub | web/static/polymaps/src/Drag.js | JavaScript | mit | 1,115 |
import Model from 'ember-cli-mirage/orm/model';
import {module, test} from 'qunit';
module('mirage:model');
test('it can be instantiated', function(assert) {
var model = new Model({}, 'user');
assert.ok(model);
});
test('it cannot be instantiated without a schema', function(assert) {
assert.throws(function() {... | oliverbarnes/ember-cli-mirage | tests/unit/model-test.js | JavaScript | mit | 515 |
/**
* Copyright (c) Microsoft. 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 applicable l... | oaastest/azure-xplat-cli | test/commands/cli.vm.create_staticvm-tests.js | JavaScript | apache-2.0 | 6,836 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
function arr() {
return Object.defineProperty([1, 2, 3, 4], 2, {configurable: false});
}
assertEq(testLenientAndStrict('var... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma_5/strict/15.4.5.1.js | JavaScript | bsd-3-clause | 978 |
// META: global=window,worker
// META: script=/common/get-host-info.sub.js
// META: script=resources/webtransport-test-helpers.sub.js
promise_test(async t => {
const wt = new WebTransport(webtransport_url('custom-response.py?:status=200'));
await wt.ready;
}, 'WebTransport session is established with status code 2... | chromium/chromium | third_party/blink/web_tests/external/wpt/webtransport/connect.https.any.js | JavaScript | bsd-3-clause | 3,915 |
import path from 'path';
import DocBuilder from './DocBuilder.js';
/**
* Search index of identifier builder class.
*/
export default class SearchIndexBuilder extends DocBuilder {
/**
* execute building output.
* @param {function(javascript: string, filePath: string)} callback - is called with output.
*/
... | hogelog/esdoc | src/Publisher/Builder/SearchIndexBuilder.js | JavaScript | mit | 1,978 |
// gl-matrix 1.2.4 - https://github.com/toji/gl-matrix/blob/master/LICENSE.md
(function(a){a.glMatrixArrayType=a.MatrixArray=null;a.vec3={};a.mat3={};a.mat4={};a.quat4={};a.setMatrixArrayType=function(a){return glMatrixArrayType=MatrixArray=a};a.determineMatrixArrayType=function(){return setMatrixArrayType("undefined"!... | elenatorro/game-engine-webgl | src/gl-matrix-min.js | JavaScript | mit | 14,109 |
(function(){
// module factory: start
var moduleFactory = function($) {
// module body: start
var module = this;
var jQuery = $;
$.require()
.script("ui/widget")
.done(function() {
var exports = function() {
/*!
* jQuery UI Menu 1.10.4pre
* http://jqueryui.com
*
* Copyright 2013 jQuery Foundation and ot... | kartach/netaktiv | media/foundry/3.1/scripts/ui/menu.js | JavaScript | gpl-2.0 | 16,939 |
// Copyright (c) 2011 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.
// Extension Speech Input api test.
// browser_tests --gtest_filter="ExtensionSpeechInputApiTest.*"
chrome.test.runTests([
function testSpeechInput... | aYukiSekiguchi/ACCESS-Chromium | chrome/test/data/extensions/api_test/speech_input/start_error/test.js | JavaScript | bsd-3-clause | 1,279 |
/* ------------------------------------------------------------------------------
*
* # Fixed Columns extension for Datatables
*
* Specific JS code additions for datatable_extension_fixed_columns.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ------------------------------------------------------------... | windlightXphp/instep | web/js/pages/datatables_extension_fixed_columns.js | JavaScript | bsd-3-clause | 4,273 |
version https://git-lfs.github.com/spec/v1
oid sha256:af70d1465cbe870a7f22f60bc612a1e91fa6c85ae675cca03cb8f93b2e0f2414
size 2295
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.4.0-beta.4/i18n/angular-locale_jmc.js | JavaScript | mit | 129 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.cellx = factory());
}(this, (function () { 'use strict';
var ErrorLogger = {
_handler: null,
/**
* @typesign (handler:... | sashberd/cdnjs | ajax/libs/cellx/1.7.22/cellx.js | JavaScript | mit | 65,007 |
/*
Leaflet 1.0.1+ffcfcc1, a JS library for interactive maps. http://leafletjs.com
(c) 2010-2016 Vladimir Agafonkin, (c) 2010-2011 CloudMade
*/
(function (window, document, undefined) {
var L = {
version: "1.0.1+ffcfcc1"
};
function expose() {
var oldL = window.L;
L.noConflict = function () {
window.L ... | openwebcc/ba | www/html/lib/Leaflet/leaflet-src.js | JavaScript | gpl-3.0 | 372,964 |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | kalebecalixto/webEntregas | webEntregas/public_html/modelos/ADI_Bin/utilitarios/FCKeditor/editor/lang/sk.js | JavaScript | apache-2.0 | 18,822 |
/*!
* ngTagsInput v2.3.0
* http://mbenford.github.io/ngTagsInput
*
* Copyright (c) 2013-2015 Michael Benford
* License: MIT
*
* Generated at 2015-03-24 00:49:44 -0300
*/
(function() {
'use strict';
var KEYS = {
backspace: 8,
tab: 9,
enter: 13,
escape: 27,
space: 32,
up: 38,
down... | sanjeevtripurari/falcon | falcon-ui/app/js/directives/ng-tags-input.js | JavaScript | apache-2.0 | 41,182 |
// We can't use goog.color or goog.color.alpha because they interally use a hex
// string representation that encodes each channel in a single byte. This
// causes occasional loss of precision and rounding errors, especially in the
// alpha channel.
goog.provide('ol.Color');
goog.provide('ol.color');
goog.require('g... | bill-chadwick/ol3 | src/ol/color/color.js | JavaScript | bsd-2-clause | 8,618 |
/* Magic Mirror
* Node Helper: Calendar
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var NodeHelper = require("node_helper");
var validUrl = require("valid-url");
var CalendarFetcher = require("./calendarfetcher.js");
module.exports = NodeHelper.create({
// Override start method.
start: funct... | plangdon/OnTheWall | modules/default/calendar/node_helper.js | JavaScript | mit | 2,155 |
function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function _typeof(obj) {
return typeof obj;
};
} else {
_typeof = function _typeof(obj) {
return obj && typeof Symbol === "function" && obj.constructor ==... | cdnjs/cdnjs | ajax/libs/carbon-components/10.50.0/umd/globals/js/mixins/create-component.js | JavaScript | mit | 6,554 |
// Generated by CoffeeScript 1.11.1
(function() {
var Adapter, MinifyJS, W, convert, path, sourcemaps,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prot... | liuyuanquan/starzone | src/node_modules/accord/lib/adapters/minify-js/2.x.js | JavaScript | gpl-3.0 | 2,291 |
OC.L10N.register(
"files_sharing",
{
"Cancel" : "Diddymu",
"Shared by" : "Rhannwyd gan",
"Password" : "Cyfrinair",
"Name" : "Enw",
"Download" : "Llwytho i lawr"
},
"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;");
| sakukode/owncloud-custom | apps/files_sharing/l10n/cy_GB.js | JavaScript | agpl-3.0 | 270 |
jQuery(document).ready(function($) {
// languages form
// fills the fields based on the language dropdown list choice
$('#lang_list').change(function() {
value = $(this).val().split('-');
selected = $("select option:selected").text().split(' - ');
$('#lang_slug').val(value[0]);
$('#lang_locale').val(value[1]... | cobianzo/cobianzo2 | www/wp-content/plugins/polylang/js/admin.js | JavaScript | apache-2.0 | 907 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'sourcearea', 'fr', {
toolbar: 'Source'
} );
| doodelicious/resource-server | resource-server-content/src/main/webapp/rs/ckeditor/4.3.2/_source/plugins/sourcearea/lang/fr.js | JavaScript | apache-2.0 | 218 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-3.js
* @description Array.prototype.indexOf - element to be retrieved is own data property that overrides an inherited data property on an Array
*/
function testcase() {
try {
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-3.js | JavaScript | bsd-3-clause | 495 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js
* @description Object.isFrozen returns true when all own properties of 'O' are not writable and not configurable, and 'O' is not extensible
*/
function testcase() {
var obj = {};
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js | JavaScript | bsd-3-clause | 837 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js
* @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test setting the... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js | JavaScript | bsd-3-clause | 850 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* let F be the empty string if flags is undefined
*
* @path ch15/15.10/15.10.4/S15.10.4.1_A4_T3.js
* @description Use undefined properties of object as flags of RegExp
*/
__re = new RegExp({}.p, {}.q);
//CHECK#2
if (__re.multiline !== false) {
$E... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.10/15.10.4/S15.10.4.1_A4_T3.js | JavaScript | bsd-3-clause | 710 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-8.js
* @description Array.prototype.filter - no observable effects occur if len is 0
*/
function testcase() {
var accessed = false;
function callbackfn(val, idx, obj) {
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-8.js | JavaScript | bsd-3-clause | 601 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Nested function are admitted
*
* @path ch13/13.2/S13.2_A2_T1.js
* @description Nesting level is two
*/
var __JEDI="jedi";
function __FUNC(){
function __GUNC(){
return arguments[0];
};
return __GUNC;
};
//////////////////... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch13/13.2/S13.2_A2_T1.js | JavaScript | bsd-3-clause | 602 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Check ToUint32(length) for non Array objects
*
* @path ch15/15.4/15.4.4/15.4.4.7/S15.4.4.7_A4_T2.js
* @description length = 4294967295
*/
var obj = {};
obj.push = Array.prototype.push;
obj.length = 4294967295;
//CHECK#1
var push = obj.push("x", "... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.7/S15.4.4.7_A4_T2.js | JavaScript | bsd-3-clause | 1,363 |
Meteor.startup(function() {
RocketChat.settings.add('GoogleNaturalLanguage_Enabled', false, {
type: 'boolean',
group: 'Message',
section: 'Google Natural Language',
public: true,
i18nLabel: 'Enabled'
});
RocketChat.settings.add('GoogleNaturalLanguage_ServiceAccount', '', {
type: 'string',
group: 'Messa... | pachox/Rocket.Chat | packages/rocketchat-google-natural-language/server/settings.js | JavaScript | mit | 504 |
'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
;(function (window, linkify) {
var linkifyElement = function ... | BenjaminVanRyseghem/cdnjs | ajax/libs/jQuery-linkify/2.0.2/linkify-element.js | JavaScript | mit | 5,088 |
// Generated by CoffeeScript 1.9.3
(function() {
module.exports = require('./2.x');
}).call(this);
| BostonGlobe/slush-globegraphic | template/node_modules/gulp-stylus/node_modules/accord/lib/adapters/minify-js/index.js | JavaScript | mit | 102 |
/*!
* Flickity PACKAGED v2.0.10
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
* or Flickity Commercial License for commercial use
*
* http://flickity.metafizzy.co
* Copyright 2017 Metafizzy
*/
/**
* Bridget makes jQuery widgets
* v2.0.1
* MIT license
*/
/* jshint browser... | a25kk/frazil | src/frazil.sitetheme/frazil/sitetheme/resources/dist/scripts/flickity.pkgd.js | JavaScript | mit | 119,465 |
/**
*
* Creator of typical test AnimationClips / KeyframeTracks
*
* @author Ben Houston / http://clara.io/
* @author David Sarno / http://lighthaus.us/
*/
THREE.AnimationClipCreator = function() {
};
THREE.AnimationClipCreator.CreateRotationAnimation = function( period, axis ) {
var times = [ 0, ... | masterfish2015/my_project | 半导体物理/js/three/examples/js/AnimationClipCreator.js | JavaScript | mit | 2,861 |
/*
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... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/LayoutTests/dom/xhtml/level3/core/domimplementationregistry13.js | JavaScript | gpl-3.0 | 3,433 |
/**
* 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... | dennishuo/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/gpu-donut-chart.js | JavaScript | apache-2.0 | 2,348 |
// META: title=FormData: has
test(function() {
assert_equals(create_formdata(['key', 'value1'], ['key', 'value2']).has('key'), true);
}, 'testFormDataHas');
test(function() {
assert_equals(create_formdata(['key', 'value1'], ['key', 'value2']).has('nil'), false);
}, 'testFormDataHasEmpty... | scheib/chromium | third_party/blink/web_tests/external/wpt/xhr/formdata/has.any.js | JavaScript | bsd-3-clause | 643 |