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 |
|---|---|---|---|---|---|
// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/****... | MrRaindrop/incubator-weex | ios/playground/bundlejs/vue/style/style-item.js | JavaScript | apache-2.0 | 3,888 |
//// [inheritanceMemberAccessorOverridingAccessor.ts]
class a {
get x() {
return "20";
}
set x(aValue: string) {
}
}
class b extends a {
get x() {
return "20";
}
set x(aValue: string) {
}
}
//// [inheritanceMemberAccessorOverridingAccessor.js]
var __extends = (thi... | mihailik/TypeScript | tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js | JavaScript | apache-2.0 | 1,503 |
import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js';
import Point from '../src/ol/geom/Point.js';
import VectorLayer from '../src/ol/layer/Vector.js';
import VectorSource from '../src/ol/source/Vector.js';
import View from '../src/ol/View.js';
import {Fill, RegularShape, Stroke, Style} from '... | adube/ol3 | examples/regularshape.js | JavaScript | bsd-2-clause | 2,662 |
module.exports.middleware = function(req, res, next) {
req.rootUrl = function() {
var port = req.app.settings.port;
res.locals.requested_url = req.protocol + '://' + req.hostname + (port == 80 || port == 443 ? '' : ':' + port);
return req.protocol + "://" + req.get('host');
};
req.fullPath = function... | andrewvy/slack-pongbot | lib/url.js | JavaScript | isc | 387 |
// add_test.js
/* globals add */
describe('Addition', function () {
it('should add numbers', function () {
expect(add(2, 4)).toBe(6)
expect(add(2, 4)).not.toBe(2)
})
})
| dmitriz/baseline-utils | demo/min-karma-function_test.js | JavaScript | mit | 182 |
const common = require('../../../../lib/common');
const commands = require('../../../schema').commands;
const table = 'actions';
const message1 = `Adding table: ${table}`;
const message2 = `Dropping table: ${table}`;
module.exports.up = (options) => {
const connection = options.connection;
return connection.s... | dingotiles/ghost-for-cloudfoundry | versions/3.3.0/core/server/data/migrations/versions/2.14/1-add-actions-table.js | JavaScript | mit | 998 |
/*! jQuery UI - v1.10.4 - 2014-06-22
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var a,o,r,l,h,... | camperjz/trident | plugins_public/jquery-ui/jquery.ui.effect-explode.min.js | JavaScript | mit | 985 |
var WOLF_WIDTH = 55;
var WOLF_HEIGHT = 37;
var WOLF_Y_OFFSET = 5;
function Wolf(x, y, direction) {
LandEnemy.call(this, x, y, direction, 'wolf', [0, 1], [2, 3], 150);
this.sprite.body.setSize(WOLF_WIDTH, WOLF_HEIGHT, 0, WOLF_Y_OFFSET);
}
Wolf.spawn = function(spawnSettings, group) {
spawnSettings.forEach(functi... | nickchulani99/ITE-445 | final/alien/js/LandEnemy.js | JavaScript | mit | 561 |
/**
* @author mrdoob / http://mrdoob.com/
*/
function WebGLBufferRenderer( gl, extensions, info, capabilities ) {
var isWebGL2 = capabilities.isWebGL2;
var mode;
function setMode( value ) {
mode = value;
}
function render( start, count ) {
gl.drawArrays( mode, start, count );
info.update( count, m... | SpinVR/three.js | src/renderers/webgl/WebGLBufferRenderer.js | JavaScript | mit | 1,103 |
import Ember from 'ember';
import { module, test } from 'qunit';
import startApp from '../helpers/start-app';
import destroyModal from '../helpers/destroy-modal';
import getToastMessage from '../helpers/toast-message';
var application;
module('Acceptance: Account Activation', {
beforeEach: function() {
applicat... | leture/Misago | misago/emberapp/tests/acceptance/activate-test.js | JavaScript | gpl-2.0 | 6,118 |
'use strict';
var async = require('async'),
db = require('./database'),
topics = require('./topics'),
categories = require('./categories'),
posts = require('./posts'),
plugins = require('./plugins'),
batch = require('./batch');
(function(ThreadTools) {
ThreadTools.delete = function(tid, uid, callback) {
t... | mario56/nodebb-cn-mongo | src/threadTools.js | JavaScript | gpl-3.0 | 4,819 |
/*!
*
* Super simple wysiwyg editor v0.8.16
* https://summernote.org
*
*
* Copyright 2013- Alan Hong. and other contributors
* summernote may be freely distributed under the MIT license.
*
* Date: 2020-02-19T09:12Z
*
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === '... | rhomicom-systems-tech-gh/Rhomicom-ERP-Web | self/cs/plugins/summernote/lang/summernote-ca-ES.js | JavaScript | gpl-3.0 | 9,499 |
(function() {var implementors = {};
implementors["dbus"] = [];
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
| servo/doc.servo.org | implementors/dbus/objpath/trait.PropertyROHandler.js | JavaScript | mpl-2.0 | 281 |
/*
Built by: build_media_element_js.rake
from https://github.com/johndyer/mediaelement.git
revision: ceeb1a7f41b2557c4f6a865cee5564c82039201d
YOU SHOULDN'T EDIT ME DIRECTLY
*/
define(['jquery'], function (jQuery){
/*!
*
* MediaElement.js
* HTML5 <video> and <audio> shim and player
* http://med... | shidao-fm/canvas-lms | public/javascripts/vendor/mediaelement-and-player.js | JavaScript | agpl-3.0 | 158,652 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | alb-i986/selenium | javascript/atoms/inject.js | JavaScript | apache-2.0 | 18,402 |
/*
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... | sgrebnov/cordova-windows | template/cordova/lib/MSBuildTools.js | JavaScript | apache-2.0 | 4,798 |
//>>built
define("dojox/grid/enhanced/plugins/Printer","dojo/_base/declare dojo/_base/html dojo/_base/Deferred dojo/_base/lang dojo/_base/sniff dojo/_base/xhr dojo/_base/array dojo/query dojo/DeferredList ../_Plugin ../../EnhancedGrid ./exporter/TableWriter".split(" "),function(k,g,p,e,l,q,m,n,r,s,t,u){k=k("dojox.grid.... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/grid/enhanced/plugins/Printer.js | JavaScript | apache-2.0 | 3,621 |
/*
* jQuery Plugin: Tokenizing Autocomplete Text Entry
* Version 1.6.2
*
* Copyright (c) 2009 James Smith (http://loopj.com)
* Licensed jointly under the GPL and MIT licenses,
* choose which one suits your project best!
*
*/
;(function ($) {
var DEFAULT_SETTINGS = {
// Search settings
method: "GET",
... | younisd/domjudge | www/js/jquery.tokeninput.js | JavaScript | gpl-2.0 | 39,820 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'button', 'sq', {
selectedLabel: '%1 (Përzgjedhur)'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/button/lang/sq.js | JavaScript | gpl-2.0 | 246 |
L.Polyline.Measure = L.Draw.Polyline.extend({
addHooks: function() {
L.Draw.Polyline.prototype.addHooks.call(this);
if (this._map) {
this._markerGroup = new L.LayerGroup();
this._map.addLayer(this._markerGroup);
this._markers = [];
this._map.on('click'... | sephiroth6/nodeshot | nodeshot/ui/default/static/ui/lib/js/leaflet.measurecontrol-customized.js | JavaScript | gpl-3.0 | 5,309 |
/*
* re-quote.js
*
* Copyright (C) 2009-13 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A ... | rstudio/shiny-server | lib/core/re-quote.js | JavaScript | agpl-3.0 | 656 |
define(
//begin v1.x content
{
"months-format-narrow": [
"E",
"F",
"M",
"A",
"M",
"J",
"J",
"A",
"S",
"O",
"N",
"D"
],
"field-weekday": "día de la semana",
"dateFormatItem-yyQQQQ": "QQQQ 'de' yy",
"dateFormatItem-yQQQ": "QQQ y",
"dateFormatItem-yMEd": "EEE d/M/y",
"dateFormatItem-MMMEd": ... | sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dojo/cldr/nls/es/gregorian.js | JavaScript | apache-2.0 | 3,916 |
steal("jquerypp/event/hover", 'funcunit/syn', 'funcunit/qunit', function ($, Syn) {
module("jquerypp/dom/hover")
test("hovering", function () {
$("#qunit-test-area").append("<div id='hover'>Content<div>")
var hoverenters = 0,
hoverinits = 0,
hoverleaves = 0,
delay = 15;
$("#hover").bind("hoverinit", ... | willametteuniversity/webcirc2 | static/jquerypp/event/hover/hover_test.js | JavaScript | apache-2.0 | 2,166 |
"use strict";
function $__interopRequire(id) {
id = require(id);
return id && id.__esModule && id || {default: id};
}
Object.defineProperties(module.exports, {
__esModule: {value: true},
entries: {
enumerable: true,
get: function() {
return entries;
}
},
keys: {
enumerable: true,
g... | Haeresis/TestCaseAtlas | webapp/src/assets/traceur/dist/commonjs/runtime/polyfills/ArrayIterator.js | JavaScript | gpl-2.0 | 2,600 |
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is dis... | macuco/moodlemacuco | Gruntfile.js | JavaScript | gpl-3.0 | 15,185 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Contains utility methods to extract text content from HTML.
* @supported IE 10+, Chrome 26+, Firefox 22+, Safari 7.1+, Opera 15+
*/
goog.provide('goog.html.textExtractor');
goog.require('goog.... | scheib/chromium | third_party/google-closure-library/closure/goog/html/textextractor.js | JavaScript | bsd-3-clause | 4,176 |
define({
root: ({
_widgetLabel: "Demo",
label1: "Ich bin ein Demo-Widget.",
label2: "Dies ist konfigurierbar."
}),
"ar": 0,
"cs": 0,
"da": 0,
"de": 0,
"el": 0,
"es": 0,
"et": 0,
"fi": 0,
"fr": 0,
"he": 0,
"it": 0,
"ja": 0,
"ko": 0,
"lt": 0,
"lv": 0,
"nb": 0,
"nl": 0,
... | cmccullough2/cmv-wab-widgets | wab/2.3/widgets/samplewidgets/Demo/nls/de/strings.js | JavaScript | mit | 443 |
/* -*- 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/. */
/*
* Date: 26 November 2000
*
*... | sam/htmlunit-rhino-fork | testsrc/tests/ecma_3/RegExp/15.10.4.1-2.js | JavaScript | mpl-2.0 | 3,091 |
/*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function () {
angular.module('piwikApp.filter').filter('htmldecode', htmldecode);
htmldecode.$inject = ['piwik'];
/**
* Be aware that this filter can cau... | befair/soulShape | wp/soulshape.earth/piwik/plugins/CoreHome/angularjs/common/filters/htmldecode.js | JavaScript | agpl-3.0 | 686 |
/*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Matt Lilek <webkit@mattlilek.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 must... | RLovelett/qt | src/3rdparty/webkit/WebCore/inspector/front-end/ElementsPanel.js | JavaScript | lgpl-2.1 | 45,561 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(function(){"use strict";var T={};T.render=function(r,c){var s=c.isInline()||this.hasControlData;if(!s){r.write("<div");r... | and1985129/digitalofficemobile | www/lib/ui5/sap/ui/core/tmpl/TemplateControlRenderer.js | JavaScript | apache-2.0 | 516 |
// Copyright 2018 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.
// Flags: --allow-natives-syntax
(function() {
function foo(p) { return p.catch(); }
%PrepareFunctionForOptimization(foo);
foo(Promise.resolve(1)... | zero-rp/miniblink49 | v8_7_5/test/mjsunit/compiler/promise-prototype-catch.js | JavaScript | apache-2.0 | 872 |
/*
* 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 ... | jeffmart/incubator-trafficcontrol | traffic_portal/app/src/modules/public/login/LoginController.js | JavaScript | apache-2.0 | 1,916 |
import { j as _inherits, k as _createSuper, c as _classCallCheck, T as Type, b as _createClass, R as Range, N as Node, g as YAMLSemanticError, l as _get, m as _getPrototypeOf, Y as YAMLSyntaxError, C as Char, e as _defineProperty, P as PlainValue } from './PlainValue-b8036b75.js';
var BlankLine = /*#__PURE__*/function... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/yaml/browser/dist/parse-cst.js | JavaScript | apache-2.0 | 54,633 |
version https://git-lfs.github.com/spec/v1
oid sha256:d57f539203e9219f4c43532d12ca16d51ce822bf08d658cabd06aa84fc61dda2
size 661
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.5.4/cldr/nls/sv/number.js | JavaScript | mit | 128 |
'use strict';
var Promise = require('../../lib/ext/promise');
var conf = require('ember-cli-internal-test-helpers/lib/helpers/conf');
var ember = require('../helpers/ember');
var fs = require('fs-extra');
var outputFile = Promise.denodeify(fs.outputFile);
var path ... | lazybensch/ember-cli | tests/acceptance/generate-test.js | JavaScript | mit | 16,507 |
module.exports={A:{A:{"1":"A B","2":"I C G E SB"},B:{"1":"D g q K"},C:{"1":"0 1 2 F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W","2":"3 QB OB NB"},D:{"1":"0 1 2 6 9 K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W CB RB AB","16":"F H I C... | keeyanajones/Samples | streamingProject/twitch/bots/NodeJsChatBot/node_modules/caniuse-lite/data/features/css-optional-pseudo.js | JavaScript | mit | 787 |
import Ember from 'ember';
import { module, test } from 'qunit';
import Confirmation from 'ember-validations/validators/local/confirmation';
import Mixin from 'ember-validations/mixin';
import buildContainer from '../../../helpers/build-container';
var model, Model, options, validator;
var get = Ember.get;
var set = E... | meszike123/ember-validations | tests/unit/validators/local/confirmation-test.js | JavaScript | mit | 2,746 |
'use strict';
const existsSync = require('exists-sync');
const path = require('path');
const LiveReloadServer = require('./server/livereload-server');
const ExpressServer = require('./server/express-server');
const RSVP = require('rsvp');
const Task = require('../models/task');
const Watcher = require('../models/watch... | gabz75/ember-cli-deploy-redis-publish | node_modules/ember-cli/lib/tasks/serve.js | JavaScript | mit | 2,076 |
/*
Copyright (c) 2011 Eli Grey, http://eligrey.com
This file is based on:
https://github.com/eligrey/FileSaver.js/blob/master/FileSaver.js ,
licensed under X11/MIT.
See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md
This file is part of SwitchySharp.
SwitchySharp is free software: you can redist... | FrankLiu/nscrapy | plugin/SwitchySharp/assets/libs/FileSaver.js | JavaScript | apache-2.0 | 9,450 |
(function(__global) {
var isWorker = typeof window == 'undefined' && typeof self != 'undefined' && typeof importScripts != 'undefined';
var isBrowser = typeof window != 'undefined' && typeof document != 'undefined';
var isWindows = typeof process != 'undefined' && typeof process.platform != 'undefined' && !!proc... | ApprecieOpenSource/Apprecie | public/a/node_modules/es6-module-loader/src/wrapper-start.js | JavaScript | mit | 2,575 |
import { Animation } from '../animations/animation';
import { isPresent } from '../util/util';
import { PageTransition } from './page-transition';
const /** @type {?} */ DURATION = 500;
const /** @type {?} */ EASING = 'cubic-bezier(0.36,0.66,0.04,1)';
const /** @type {?} */ OPACITY = 'opacity';
const /** @type {?} */ T... | ortroyaner/GithubFinder | node_modules/ionic-angular/es2015/transitions/transition-ios.js | JavaScript | mit | 8,705 |
'use strict';
var gulp = tars.packages.gulp;
var cache = tars.packages.cache;
var plumber = tars.packages.plumber;
var notifier = tars.helpers.notifier;
var browserSync = tars.packages.browserSync;
var staticFolderName = tars.config.fs.staticFolderName;
/**
* Move fonts-files to dev directory
*/
module.exports = f... | mik639/TZA | tars/tasks/other/move-fonts.js | JavaScript | mit | 923 |
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_salesperson =
[
[ "Add", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_salesperson.html#a09c5124ac0346ca253954882b2baf692", null ],
[ "AddOrEdit", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_salesperson.html#a84c644b0aa4e0... | gjms2000/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_salesperson.js | JavaScript | gpl-2.0 | 3,133 |
t = db.capped1;
t.drop();
db.createCollection("capped1" , {capped:true, size:1024 });
v = t.validate();
assert( v.valid , "A : " + tojson( v ) ); // SERVER-485
t.save( { x : 1 } )
assert( t.validate().valid , "B" )
| barakav/robomongo | src/third-party/mongodb/jstests/capped1.js | JavaScript | gpl-3.0 | 220 |
// Copyright 2015 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.
// Flags: --allow-natives-syntax --harmony-do-expressions
function f(x) {
switch (x) {
case 1: return "one";
case 2: return "two";
case d... | macchina-io/macchina.io | platform/JS/V8/v8/test/mjsunit/regress/regress-osr-in-case-label.js | JavaScript | apache-2.0 | 502 |
// Squarified Treemaps by Mark Bruls, Kees Huizing, and Jarke J. van Wijk
// Modified to support a target aspect ratio by Jeff Heer
d3.layout.treemap = function() {
var hierarchy = d3.layout.hierarchy(),
round = Math.round,
size = [1, 1], // width, height
padding = null,
pad = d3_layout_treema... | zziuni/d3 | src/layout/treemap.js | JavaScript | bsd-3-clause | 6,511 |
version https://git-lfs.github.com/spec/v1
oid sha256:cdaff690080dec73e2f9044eb89e1426fd2645ea6d8b253cd51cd992717b8a06
size 1772
| yogeshsaroya/new-cdnjs | ajax/libs/codemirror/5.1.0/mode/shell/test.js | JavaScript | mit | 129 |
/**
* Authentication controller.
*
* Here we just bind together the Docs.Auth and AuthForm component.
*/
Ext.define('Docs.controller.Auth', {
extend: 'Ext.app.Controller',
requires: [
'Docs.Auth',
'Docs.Comments'
],
refs: [
{
ref: "authHeaderForm",
s... | ckeditor/jsduck | template/app/controller/Auth.js | JavaScript | gpl-3.0 | 2,613 |
Proj4js.defs["EPSG:4933"] = "+proj=longlat +ellps=GRS80 +towgs84=0.0,0.0,0.0,0.0,0.0,0.0,0.0 +no_defs"; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG4933.js | JavaScript | gpl-3.0 | 103 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('estraverse')) :
typeof define === 'function' && define.amd ? define(['estraverse'], factory) :
(global = global || self, global.esquery = factory(global.estraverse));
}(this, (function (e... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/esquery/dist/esquery.lite.js | JavaScript | apache-2.0 | 105,133 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The production x ^= y is the same as x = x ^ y
*
* @path ch11/11.13/11.13.2/S11.13.2_A4.10_T2.2.js
* @description Type(x) is different from Type(y) and both types vary between N... | hippich/typescript | tests/Fidelity/test262/suite/ch11/11.13/11.13.2/S11.13.2_A4.10_T2.2.js | JavaScript | apache-2.0 | 1,611 |
cdb.admin.overlays.LayerSelector = cdb.core.View.extend({
tagName: 'div',
className: 'cartodb-layer-selector-box',
events: {
"click": '_openDropdown',
"dblclick": 'killEvent',
"mousedown": 'killEvent'
},
default_options: {
timeout: 0,
msg: ''
},
initialize: function() {
_... | nyimbi/cartodb | lib/assets/javascripts/cartodb/table/overlays/layer_selector.js | JavaScript | bsd-3-clause | 6,825 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
'use strict';
const React = require('react');
const ReactDOM = require('react-dom');
describe('ReactMou... | jdlehman/react | packages/react-dom/src/__tests__/ReactMountDestruction-test.js | JavaScript | mit | 2,971 |
/**
@module ember-data
*/
import Ember from 'ember';
import Model from "ember-data/model";
var get = Ember.get;
var capitalize = Ember.String.capitalize;
var underscore = Ember.String.underscore;
const { assert } = Ember;
/*
Extend `Ember.DataAdapter` with ED specific code.
@class DebugAdapter
@namespace DS
... | r0zar/ember-rails-stocks | stocks/node_modules/ember-data/addon/-private/system/debug/debug-adapter.js | JavaScript | mit | 3,163 |
define("core_editor/events",["exports","core/event_dispatcher","jquery","core/yui"],(function(_exports,_event_dispatcher,_jquery,_yui){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}
/**
* Javascript events for the `core_editor` subsystem.
*
* @module core_editor/events
... | timhunt/moodle | lib/editor/amd/build/events.min.js | JavaScript | gpl-3.0 | 1,429 |
/*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function () {
describe('startFromFilter', function() {
var startFrom;
beforeEach(module('piwikApp.filter'));
beforeEach(inject(function($inject... | befair/soulShape | wp/soulshape.earth/piwik/plugins/CoreHome/angularjs/common/filters/startfrom.spec.js | JavaScript | agpl-3.0 | 1,121 |
({"replaceDialogText":"Foram substituídas ${0} ocorrências.","eofDialogTextFind":"localizado","eofDialogText":"Última ocorrência ${0}","backwards":"Para trás","replaceButton":"Substituir","replaceLabel":"Substituir por:","matchCase":"Correspondência de maiúsculas/minúsculas","findTooltip":"Introduzir texto a localizar"... | skobbler/AddressHunter | web-app/public/js/dojox/editor/plugins/nls/pt-pt/FindReplace.js | JavaScript | bsd-3-clause | 835 |
/**
* Module dependencies
*/
var fs = require('fs-extra')
, _ = require('lodash')
, path = require('path')
, reportback = require('reportback')();
/**
* Generate a JSON file
*
* @option {String} rootPath
* @option {Object} data
* [@option {Boolean} force=false]
*
* @handlers success
* @handlers error
*... | harindaka/node-mvc-starter | node_modules/sails/node_modules/sails-generate/lib/helpers/jsonfile/index.js | JavaScript | mit | 1,395 |
/*!
* angular-translate - v2.18.0 - 2018-05-17
*
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT
*/
!function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():t()}(0,function(){function e(r,n){"use s... | sashberd/cdnjs | ajax/libs/angular-translate/2.18.0/angular-translate-loader-url/angular-translate-loader-url.min.js | JavaScript | mit | 774 |
/*
* 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/test/components/iterationTest/iterationArrayValueChange_ObjectFromAttribute_PassThroughValue/iterationArrayValueChange_ObjectFromAttribute_PassThroughValueController.js | JavaScript | apache-2.0 | 919 |
// Copyright 2009 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | zero-rp/miniblink49 | v8_7_5/test/mjsunit/indexed-accessors.js | JavaScript | apache-2.0 | 3,743 |
/**
* An assortment of Windows Store app-related tools.
*
* @module winstore
*
* @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.
*/... | prop/titanium_mobile | node_modules/windowslib/lib/winstore.js | JavaScript | apache-2.0 | 12,463 |
/*jslint node:true, vars:true, bitwise:true, unparam:true */
/*jshint unused:true */
/*global */
/*
* Author: Zion Orent <zorent@ics.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* ... | yoyojacky/upm | examples/javascript/grovemoisture.js | JavaScript | mit | 2,103 |
module.exports={"title":"CSS3","hex":"1572B6","source":"http://www.w3.org/html/logo/","svg":"<svg aria-labelledby=\"simpleicons-css3-icon\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title id=\"simpleicons-css3-icon\">CSS3 icon</title><path d=\"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438... | cdnjs/cdnjs | ajax/libs/simple-icons/1.9.9/css3.js | JavaScript | mit | 508 |
/* eslint no-console: 0 */
var _ = require('underscore');
var files = require('./files.js');
var Console = require('./console.js').Console;
// This file implements "upgraders" --- functions which upgrade a Meteor app to
// a new version. Each upgrader has a name (registered in upgradersByName).
//
// You can test upg... | arunoda/meteor | tools/upgraders.js | JavaScript | mit | 6,784 |
module.exports={title:"Fortinet",slug:"fortinet",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Fortinet icon</title><path d="M0 9.785h6.788v4.454H0zm8.666-6.33h6.668v4.453H8.666zm0 12.637h6.668v4.454H8.666zm8.522-6.307H24v4.454h-6.812zM2.792 3.455C1.372 3.814.265 5.404 0 7.425v.506h... | cdnjs/cdnjs | ajax/libs/simple-icons/4.25.0/fortinet.min.js | JavaScript | mit | 675 |
var _ = require('underscore');
var os = require('os');
var utils = require('./utils.js');
/* Meteor's current architecture scheme defines the following virtual
* machine types, which are defined by specifying what is promised by
* the host enviroment:
*
* browser.w3c
* A web browser compliant with modern stand... | lpinto93/meteor | tools/utils/archinfo.js | JavaScript | mit | 10,422 |
module.exports = {
justNow: "ligenu",
secondsAgo: "{{time}} sekunder siden",
aMinuteAgo: "et minut siden",
minutesAgo: "{{time}} minutter siden",
anHourAgo: "en time siden",
hoursAgo: "{{time}} timer siden",
aDayAgo: "i går",
daysAgo: "{{time}} dage siden",
aWeekAgo: "en uge siden",
weeksAgo: "{{tim... | joegesualdo/dotfiles | npm-global/lib/node_modules/npm/node_modules/tiny-relative-date/translations/da.js | JavaScript | mit | 998 |
( function ( mw, $ ) {
mw.page = {};
// Client profile classes for <html>
// Allows for easy hiding/showing of JS or no-JS-specific UI elements
$( 'html' )
.addClass( 'client-js' )
.removeClass( 'client-nojs' );
$( function () {
// Initialize utilities as soon as the document is ready (mw.util.$content,
... | BRL-CAD/web | wiki/resources/mediawiki.page/mediawiki.page.startup.js | JavaScript | bsd-2-clause | 826 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-77gs.js
* @description Strict mode - checking access to strict function caller from non-strict function (non-strict function declaration called by strict Function constructor)
* @noStrict
*/
function... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-77gs.js | JavaScript | bsd-3-clause | 476 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch10/10.6/10.6-11-b-1.js
* @description Arguments Object has index property '0' as its own property, it shoulde be writable, enumerable, configurable and does not invoke the setter defined on Object.prototype[0] (Step 11.b)
*/
function t... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch10/10.6/10.6-11-b-1.js | JavaScript | bsd-3-clause | 1,560 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The [[Value]] property of the newly constructed object
* is set by following steps:
* 1. Call ToNumber(year)
* 2. Call ToNumber(month)
* 3. If date is supplied use ToNumber(date)
* 4. If hours is supplied use ToNumber(hours)
* 5. If minutes is su... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js | JavaScript | bsd-3-clause | 1,950 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Number.MIN_VALUE has the attribute DontEnum
*
* @path ch15/15.7/15.7.3/15.7.3.3/S15.7.3.3_A4.js
* @description Checking if enumerating Number.MIN_VALUE fails
*/
//CHECK#1
for(var x in Number) {
if(x === "MIN_VALUE") {
$ERROR('#1: Number.MIN_... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.7/15.7.3/15.7.3.3/S15.7.3.3_A4.js | JavaScript | bsd-3-clause | 475 |
/******/ (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... | jeromelebleu/foundation-sites | dist/js/plugins/foundation.sticky.js | JavaScript | mit | 34,861 |
//
// [The "BSD license"]
// Copyright (c) 2012 Terence Parr
// Copyright (c) 2012 Sam Harwell
// Copyright (c) 2014 Eric Vergnaud
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
... | alberto-chiesa/grunt-jsl10n | tasks/antlr4/atn/ParserATNSimulator.js | JavaScript | mit | 74,098 |
(function() {
'use strict';
Polymer({
is: 'iron-overlay-backdrop',
properties: {
/**
* Returns true if the backdrop is opened.
*/
opened: {
reflectToAttribute: true,
type: Boolean,
value: false,
observer: '_openedChanged'
}
},
liste... | axinging/chromium-crosswalk | third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js | JavaScript | bsd-3-clause | 2,415 |
'use strict';
$(function () {
//Simple implementation of direct chat contact pane toggle (TEMPORARY)
$('[data-widget="chat-pane-toggle"]').click(function(){
$("#myDirectChat").toggleClass('direct-chat-contacts-open');
});
/* ChartJS
* -------
* Here we will create a few charts using ChartJS
*/
... | johan--/ember-admin-dashboards | vendor/AdminLTE/dist/js/pages/dashboard2.js | JavaScript | mit | 9,137 |
/*!
* Bootstrap v3.2.0 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
/* ================================================... | Czarnodziej/final-omnislash | web/assetic/bootstrap_js.js | JavaScript | mit | 62,681 |
/*global $:false*/
define([
"manager",
"constants",
"lang",
"generator"
], function(manager, C, L, generator) {
"use strict";
/**
* @name Composite
* @description JS code for the Composite Data Type.
* @see DataType
* @namespace
*/
/* @private */
var MODULE_ID = "data-type-Composite";
var LANG = L... | vivekmalikymca/generatedata | plugins/dataTypes/Composite/Composite.js | JavaScript | gpl-3.0 | 1,444 |
define(["../SimpleTheme", "./common"], function(SimpleTheme, themes){
themes.Minty = new SimpleTheme({
colors: [
"#80ccbb",
"#539e8b",
"#335f54",
"#8dd1c2",
"#68c5ad"
]
});
return themes.Minty;
});
| avz-cmf/zaboy-middleware | www/js/dojox/charting/themes/Minty.js | JavaScript | gpl-3.0 | 220 |
define(
({
"preview": "Anteprima"
})
);
| avz-cmf/zaboy-middleware | www/js/dojox/editor/plugins/nls/it/Preview.js | JavaScript | gpl-3.0 | 41 |
// 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.
class MyArray extends Array { }
Object.prototype[Symbol.species] = MyArray;
delete Array[Symbol.species];
__v_1 = Math.pow(2, 31);
__v_2 = [];
__v_2[__v... | weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-crbug-592340.js | JavaScript | apache-2.0 | 418 |
import Vue from 'vue'
describe('Options render', () => {
it('basic usage', () => {
const vm = new Vue({
render (h) {
const children = []
for (let i = 0; i < this.items.length; i++) {
children.push(h('li', { staticClass: 'task' }, [this.items[i].name]))
}
return h('... | new4/Vue4Fun | vue-2.5.16/test/unit/features/options/render.spec.js | JavaScript | mit | 1,164 |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("easyimage","it",{commands:{fullImage:"Immagine a dimensione intera",sideImage:"Immagine laterale",altText:"Cambia testo alternat... | stweil/TYPO3.CMS | typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Contrib/plugins/easyimage/lang/it.js | JavaScript | gpl-2.0 | 450 |
/*! jQuery UI - v1.9.2 - 2014-06-04
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Jú... | haakonsk/O2-Framework | var/www/js/jquery-ui/jquery-ui-1.9.2/vader/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js | JavaScript | mit | 833 |
var test = require("testling")
, sinon = require("sinon")
, some = require("../../").someSync
, createItem = require("..").createItem
test("some calls each iterator", function (t) {
var item = createItem()
, iterator = sinon.spy(function (v) {
if (v === "b1") {
retur... | xinyzhang9/xinyzhang9.github.io | spirits2/node_modules/iterators/test/sync/some.js | JavaScript | mit | 1,336 |
ej.addCulture( "ug", {
name: "ug",
englishName: "Uyghur",
nativeName: "ئۇيغۇرچە",
language: "ug",
isRTL: true,
numberFormat: {
"NaN": "سان ئەمەس",
negativeInfinity: "مەنپىي چەكسىزلىك",
positiveInfinity: "مۇسبەت چەكسىزلىك",
percent: {
pattern: ["-n%","n%"]
},
currency: {
pattern: ["$-n","$n"],
... | Asaf-S/jsdelivr | files/syncfusion-ej-global/15.1.41/i18n/ej.culture.ug.js | JavaScript | mit | 7,278 |
/**
* 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 law or ag... | oaastest/azure-xplat-cli | lib/util/authentication/accessTokenCloudCredentials.js | JavaScript | apache-2.0 | 1,385 |
//// [optionalPropertiesInClasses.ts]
interface ifoo {
x?:number;
y:number;
}
class C1 implements ifoo {
public y:number;
}
class C2 implements ifoo { // ERROR - still need 'y'
public x:number;
}
class C3 implements ifoo {
public x:number;
public y:number;
}
//// [optionalPropertiesInClasses.js]
var C1 = ... | AbubakerB/TypeScript | tests/baselines/reference/optionalPropertiesInClasses.js | JavaScript | apache-2.0 | 539 |
import * as module from './export-referrer-checker.py';
if ('DedicatedWorkerGlobalScope' in self &&
self instanceof DedicatedWorkerGlobalScope) {
postMessage(module.referrer);
} else if (
'SharedWorkerGlobalScope' in self &&
self instanceof SharedWorkerGlobalScope) {
onconnect = e => {
e.ports[0].po... | scheib/chromium | third_party/blink/web_tests/external/wpt/workers/modules/resources/static-import-same-origin-referrer-checker-worker.js | JavaScript | bsd-3-clause | 355 |
/*! UIkit 3.0.0-beta.6 | http://www.getuikit.com | (c) 2014 - 2016 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(gl... | ahocevar/cdnjs | ajax/libs/uikit/3.0.0-beta.6/js/uikit.js | JavaScript | mit | 161,667 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const Hook = require("./Hook");
const HookCodeFactory = require("./HookCodeFactory");
class AsyncSeriesWaterfallHookCodeFactory extends HookCodeFactory {
content({ onError, onResult, onDone }) {
return... | convox/convox.github.io | webpack/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js | JavaScript | apache-2.0 | 1,187 |
'use strict';
function create (env, entries, settings, treatments, profile, devicestatus) {
var express = require('express'),
app = express( )
;
var wares = require('../middleware/')(env);
// set up express app with our options
app.set('name', env.name);
app.set('version', env.version);
// app.se... | johnyburd/cgm-remote-monitor | lib/api/index.js | JavaScript | agpl-3.0 | 1,687 |
// Copyright 2006 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... | metamolecular/closure-library | closure/goog/structs/circularbuffer.js | JavaScript | apache-2.0 | 5,746 |
// 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... | bsdelf/jerryscript | tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-011.js | JavaScript | apache-2.0 | 691 |
/**
* 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/models/yarn-node.js | JavaScript | apache-2.0 | 1,348 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/optable/CombDiacritMarks.js
*
* Copyright (c) 2010-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | benjaminvialle/Markus | vendor/assets/javascripts/MathJax_lib/jax/element/mml/optable/CombDiacritMarks.js | JavaScript | mit | 1,080 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of so... | tancredi/draw | www/js/vendor/ace/theme-dreamweaver.js | JavaScript | mit | 5,077 |
function WPATH(s) {
var index = s.lastIndexOf("/");
var path = -1 === index ? "tony.section/" + s : s.substring(0, index) + "/tony.section/" + s.substring(index + 1);
return path;
}
module.exports = []; | brentonhouse/brentonhouse.alloy | test/apps/testing/ALOY-833/_generated/mobileweb/alloy/widgets/tony.section/styles/widget.js | JavaScript | apache-2.0 | 215 |