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 |
|---|---|---|---|---|---|
/*jslint browser: true, plusplus: true, vars: true, indent: 2 */
window.loadIndieConfig = (function () {
'use strict';
// Indie-Config Loading script
// by Pelle Wessman, voxpelli.com
// MIT-licensed
// http://indiewebcamp.com/indie-config
var config, configFrame, configTimeout,
callbacks = [],
ha... | Lancey6/woodwind | woodwind/static/indieconfig.js | JavaScript | bsd-2-clause | 2,009 |
/**
* Copyright (c) 2014-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.
*
* @emails onca... | Daniel15/jest | packages/jest-runtime/src/__tests__/instrumentation-test.js | JavaScript | bsd-3-clause | 1,109 |
cdb.geo.ui.Annotation = cdb.core.View.extend({
className: "cartodb-overlay overlay-annotation",
defaults: {
minZoom: 0,
maxZoom: 40,
style: {
textAlign: "left",
zIndex: 5,
color: "#ffffff",
fontSize: "13",
fontFamilyName: "Helvetica",
boxColor: "#333333",
boxO... | CartoDB/cartodb.js | src/geo/ui/annotation.js | JavaScript | bsd-3-clause | 8,814 |
// Generated by CoffeeScript 1.4.0
(function() {
"use strict";
var CTCPHandler, exports, _ref,
__slice = [].slice;
var exports = (_ref = window.irc) != null ? _ref : window.irc = {};
/*
* Handles CTCP requests such as VERSION, PING, etc.
*/
CTCPHandler = (function() {
CTCPHandler.DELIMITER =... | diddledan/circ | package/bin/irc/ctcp_handler.js | JavaScript | bsd-3-clause | 3,122 |
webshims.register('form-native-extend', function($, webshims, window, doc, undefined, options){
"use strict";
var Modernizr = window.Modernizr;
var modernizrInputTypes = Modernizr.inputtypes;
if(!Modernizr.formvalidation || webshims.bugs.bustedValidity){return;}
var typeModels = webshims.inputTypes;
var runTest =... | GuanyemBarcelona/apoyos | js/vendor/js-webshim/dev/shims/combos/29.js | JavaScript | agpl-3.0 | 23,472 |
window.onload = function() {
/*
* Network
* Demonstration of using the Moebio Framework and its random network generator
* to create a random network and display it on the canvas. Uses the
*
*/
var network;
var N_NODES = 2000; // Number of nodes to put in visualization
var P_RELATION = 0.0006; /... | micahstubbs/moebio_framework | examples/network/network.js | JavaScript | mit | 2,659 |
module.exports = (function(Nodal) {
'use strict';
const async = require('async');
let expect = require('chai').expect;
describe('Nodal.API', function() {
let schemaPost = {
table: 'posts',
columns: [
{name: 'id', type: 'serial'},
{name: 'title', type: 'string'},
{nam... | nsipplswezey/nodal | test/tests/api.js | JavaScript | mit | 3,168 |
/**
* Copyright 2015 Telerik AD
*
* 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 ... | burkeholland/itunes-artist-search | app/components/kendo-ui-core/src/js/cultures/kendo.culture.es-GT.js | JavaScript | mit | 3,015 |
import _ from 'lodash'
import cx from 'classnames'
import React, { PropTypes } from 'react'
import {
customPropTypes,
getElementType,
getUnhandledProps,
META,
} from '../../lib'
/**
* A card can contain a description with one or more paragraphs
*/
function CardDescription(props) {
const { children, classN... | vageeshb/Semantic-UI-React | src/views/Card/CardDescription.js | JavaScript | mit | 1,070 |
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const http2 = require('http2');
let client;
let req;
const server = http2.createServer();
server.on('stream', common.mustCall((stream) => {
stream.on('error', common.mustCall(() => {
client.close();
st... | enclose-io/compiler | lts/test/parallel/test-http2-stream-destroy-event-order.js | JavaScript | mit | 669 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.datepicker
* @description Module for the datepicker component.
*/
angular.module('material.components.datepicke... | phiphamuet/meanCopy | public/lib/angular-material/modules/js/datepicker/datepicker.js | JavaScript | mit | 104,733 |
var $ = require('jquery');
var BrandingUpdater = function($branding) {
this.$branding = $branding;
};
BrandingUpdater.prototype = {
move: function($branding) {
$branding.detach().prependTo($('.sidebar-wrapper'));
},
run: function() {
var $branding = this.$branding;
try {
... | edwar/repositio.com | static/jet/js/src/layout-updaters/branding.js | JavaScript | mit | 707 |
//= require ./adjacent_pages
pageflow.AdjacentPreparer = pageflow.Object.extend({
initialize: function(adjacentPages) {
this.adjacentPages = adjacentPages;
},
attach: function(events) {
this.listenTo(events, 'page:change', this.schedule);
},
schedule: function(page) {
clearTimeout(this.schedule... | luatdolphin/pageflow | app/assets/javascripts/pageflow/slideshow/adjacent_preparer.js | JavaScript | mit | 1,214 |
define(["app/app",
"mixins/CustomErrorRoute"], function(App) {
"use strict";
App.TimelineCommentsRoute = Ember.Route.extend(App.CustomErrorRoute, {
queryParams: {
offset: {
refreshModel: true
}
},
model: function(params) {
return this.store.findOneQuery('timeline', pa... | epicmonkey/pepyatka-html | public/js/app/routes/TimelineCommentsRoute.js | JavaScript | mit | 611 |
'use strict';
// Load modules
// Declare internals
const internals = {};
exports.mergeOptions = function (parent, child, ignore) {
ignore = ignore || [];
const options = {};
Object.keys(parent || {}).forEach((key) => {
if (ignore.indexOf(key) === -1) {
options[key] = parent[key]... | fahidRM/aqua-couch-test | node_modules/lab/lib/utils.js | JavaScript | mit | 598 |
var ATrue;
(function (ATrue) {
ATrue[ATrue["IsTrue"] = 1] = "IsTrue";
ATrue[ATrue["IsFalse"] = 0] = "IsFalse";
})(ATrue || (ATrue = {}));
if (false) {
console.info('unreachable');
}
else if (true) {
console.info('reachable');
}
else {
console.info('unreachable');
}
function branch(a) {
if (a ===... | enclose-io/compiler | lts/test/fixtures/source-map/typescript-throw.js | JavaScript | mit | 576 |
module.exports = {
name: '<b:append>',
test: [
{
name: 'nothing happen if no reference',
test: function(){
var a = createTemplate('<span/>');
var b = createTemplate('<b:include src="#' + a.templateId + '"><b:append ref="foo">x</b:append></b:include>');
assert(text(b) === tex... | fateevv/basisjs | test/spec/template/b-include/b-append.js | JavaScript | mit | 2,543 |
'use strict';
var async = require('async');
var S = require('string');
var db = require('../database');
var user = require('../user');
var utils = require('../utils');
var plugins = require('../plugins');
module.exports = function (Messaging) {
Messaging.newMessageCutoff = 1000 * 60 * 3;
Messaging.getMessageField... | sdonaghey03/hia-forum | src/messaging/data.js | JavaScript | mit | 4,633 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
Result of String conversion from Object value is conversion
from primitive value
es5id: 9.8_A5_T2
description: Some objects convert to String by implicit transformat... | PiotrDabkowski/Js2Py | tests/test_cases/language/expressions/concatenation/S9.8_A5_T2.js | JavaScript | mit | 2,739 |
/*!
* bootstrap-fileinput v5.0.2
* http://plugins.krajee.com/file-input
*
* Glyphicon (default) theme configuration for bootstrap-fileinput.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2019, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD-3-Clause
* https://github.com/kartik-v/bootstrap-filei... | extend1994/cdnjs | ajax/libs/bootstrap-fileinput/5.0.2/themes/gly/theme.js | JavaScript | mit | 2,224 |
jQuery(function ($) {
if ( pagenow == 'edit-wpp_popup' ) {
$('.add-new-h2').addClass('button');
$('#wpbody .wrap').wrapInner('<div id="wpp-col-left" />');
$('#wpbody .wrap').wrapInner('<div id="wpp-cols" />');
$('#wpp-col-right').removeClass('hidden').prependTo('#wpp-cols');
$('#wpp-col-left > .icon32... | sinned/tadashop | wp-content/plugins/m-wp-popup/js/wpp-popup-admin.js | JavaScript | gpl-2.0 | 1,629 |
/*!
{
"name": "Flexbox (tweener)",
"property": "flexboxtweener",
"tags": ["css"],
"polyfills": ["flexie"],
"notes": [{
"name": "The _inbetween_ flexbox",
"href": "http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/"
}]
}
!*/
define(['Modernizr', 'testAllProps'], function( Modernizr, testAllProps ) {... | JanetteA/dsmsales | sites/all/libraries/modernizr/feature-detects/css/flexboxtweener.js | JavaScript | gpl-2.0 | 404 |
/**
* @license Highcharts JS v7.0.3 (2019-02-06)
* Advanced Highstock tools
*
* (c) 2010-2019 Highsoft AS
* Author: Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
... | blue-eyed-devil/testCMS | externals/highcharts/modules/stock-tools.src.js | JavaScript | gpl-3.0 | 136,919 |
/**
* @defgroup js_controllers_grid_users_user_form User form javascript
*/
/**
* @file js/controllers/grid/settings/user/form/UserDetailsFormHandler.js
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2000-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the ... | hmorrin/uk.ac.nsamr.journal | jsamr/lib/pkp/js/controllers/grid/settings/user/form/UserDetailsFormHandler.js | JavaScript | gpl-3.0 | 2,662 |
'use strict';
exports.__esModule = true;
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writab... | NodeVision/NodeVision | node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/operators/timeout.js | JavaScript | gpl-3.0 | 4,939 |
describe('text.label', function () {
'use strict';
var fixture = document.getElementById('fixture');
afterEach(function () {
fixture.innerHTML = '';
});
describe('aria-labelledby', function () {
it('should join text with a single space', function () {
fixture.innerHTML = '<div id="monkeys">monkeys</div><d... | jasonkarns/axe-core | test/commons/text/label.js | JavaScript | mpl-2.0 | 4,729 |
load(libdir + 'asserts.js');
assertEq(Array.prototype.toSource.call([1, 'hi']), '[1, "hi"]');
assertEq(Array.prototype.toSource.call({1: 10, 0: 42, length: 2}), "[42, 10]");
assertEq(Array.prototype.toSource.call({1: 10, 0: 42, length: 1}), "[42]");
assertThrowsInstanceOf(() => Array.prototype.toSource.call("someStrin... | cstipkovic/spidermonkey-research | js/src/jit-test/tests/basic/array-tosource.js | JavaScript | mpl-2.0 | 496 |
(function (module) {
mifosX.controllers = _.extend(module, {
CashierFundsAllocationSettlementController: function (scope, routeParams, route, location, dateFilter, resourceFactory) {
scope.formData = {};
scope.formData.txnDate = new Date();
scope.settle = routeParams.sett... | dtsuran/community-app | app/scripts/controllers/organization/cashmgmt/CashierFundsAllocationSettlementController.js | JavaScript | mpl-2.0 | 2,787 |
/**
* Copyright (c) 2015 "Fronteer LTD"
* Grasshopper Event Engine
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any late... | fronteerio/grasshopper | node_modules/gh-series/lib/internal/patterns/cambridge/termweek.js | JavaScript | agpl-3.0 | 2,696 |
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../eachYearOfInterval/index.js';
import convertToFP from '../_lib/convertToFP/index.js';
var eachYearOfInterval = convertToFP(fn, 1);
export default eachYearOfInterval; | BigBoss424/portfolio | v8/development/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js | JavaScript | apache-2.0 | 278 |
define(function(require) {
var $ = require("jquery");
var justep = require("$UI/system/lib/justep");
var WindowContainer = require("$UI/system/components/justep/windowContainer/windowContainer");
var templateService = require("$UI/system/templates/common/js/templateService");
var Component = require("$UI/system/li... | glustful/WeX5 | UI2/system/templates/common/fieldConfig.js | JavaScript | apache-2.0 | 4,394 |
/* jshint globalstrict:false, strict:false, unused : false */
/* global assertEqual, assertFalse */
// //////////////////////////////////////////////////////////////////////////////
// / @brief recovery tests for views
// /
// / @file
// /
// / DISCLAIMER
// /
// / Copyright 2010-2012 triagens GmbH, Cologne, Germany
//... | wiltonlazary/arangodb | tests/js/server/recovery/view-arangosearch-link-drop.js | JavaScript | apache-2.0 | 2,909 |
/*
* PhantomJS Runner QUnit Plugin 1.2.0
*
* PhantomJS binaries: http://phantomjs.org/download.html
* Requires PhantomJS 1.6+ (1.7+ recommended)
*
* Run with:
* phantomjs runner.js [url-of-your-qunit-testsuite]
*
* e.g.
* phantomjs runner.js http://localhost/qunit/test/index.html
*/
/*global phantom:fal... | TWOUDIA/bootstrap_player | tests/runner.js | JavaScript | apache-2.0 | 4,797 |
//// [privacyGloImport.ts]
module m1 {
export module m1_M1_public {
export class c1 {
}
export function f1() {
return new c1;
}
export var v1 = c1;
export var v2: c1;
}
module m1_M2_private {
export class c1 {
}
export fun... | domchen/typescript-plus | tests/baselines/reference/privacyGloImport.js | JavaScript | apache-2.0 | 11,743 |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | mkusher/TypeScript | tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.js | JavaScript | apache-2.0 | 1,246 |
/**
* @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
*/
export default [
[
['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'],
... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/en-KN.js | JavaScript | apache-2.0 | 678 |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2013 Google Inc.
* https://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/l... | zrdev/zrdev.github.io | blockly/core/widgetdiv.js | JavaScript | apache-2.0 | 3,865 |
import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { TodoStoreService } from '../../services/todo-store.service';
import template from './todo-list.template.html';
@Component({
selector: 'todo-list',
template: template
})
export class TodoListComponent {
constructor... | gabrielmancini/interactor | src/demo/angular2_es2015/app/components/todo-list/todo-list.component.js | JavaScript | bsd-2-clause | 1,077 |
/* eslint-disable no-underscore-dangle */
import { v4 as uuidv4 } from 'uuid';
import {
BaseSequenceBlock,
BaseSequenceChild,
BaseInsertionControl,
} from './BaseSequenceBlock';
import { escapeHtml as h } from '../../../utils/text';
/* global $ */
export class StreamBlockValidationError {
constructor(nonBlo... | jnns/wagtail | client/src/components/StreamField/blocks/StreamBlock.js | JavaScript | bsd-3-clause | 12,002 |
/*! Copyright (c) 2016, Salesforce.com, Inc.
* 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 co... | prestonfff/Argus | ArgusWeb/app/js/config.js | JavaScript | bsd-3-clause | 2,221 |
/**
* Copyright 2014-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 ... | Jyrno42/react | src/renderers/shared/reconciler/ReactEmptyComponent.js | JavaScript | bsd-3-clause | 1,743 |
// Mocha (https://mochajs.org/) JavaScript tests for the calculator in site.js.
describe("Calculator", function () {
var calculator;
before(function () {
// Runs before all tests in this block.
});
after(function () {
// Runs after all tests in this block.
});
beforeEach(func... | backendeveloper/ASP.NET-MVC-Boilerplate | Source/MVC6/Boilerplate.Web.Mvc6.Sample/Test/site-test.js | JavaScript | mit | 1,923 |
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, render: render });
function preload() {
// Phaser can load Text files.
// It does this using an XMLHttpRequest.
// If loading a file from outside of the domain in which the game is running
... | seacloud9/ds.fracVader | scripts/phaser/examples/loader/load text file.js | JavaScript | mit | 810 |
angular.module('angular-jwt.jwt', [])
.service('jwtHelper', function() {
this.urlBase64Decode = function(str) {
var output = str.replace(/-/g, '+').replace(/_/g, '/');
switch (output.length % 4) {
case 0: { break; }
case 2: { output += '=='; break; }
case 3: { output += '='; ... | mohamadir/15-minutes | temp/node_modules/angular-jwt/src/angularJwt/services/jwt.js | JavaScript | mit | 1,539 |
var Mode = require('./mode');
var Polynomial = require('./Polynomial');
var math = require('./math');
var QRMaskPattern = {
PATTERN000 : 0,
PATTERN001 : 1,
PATTERN010 : 2,
PATTERN011 : 3,
PATTERN100 : 4,
PATTERN101 : 5,
PATTERN110 : 6,
PATTERN111 : 7
};
var QRUtil = {
PATTERN_POSITION_TABLE : [
[],
... | skyvow/wux | src/qrcode/qr.js/lib/util.js | JavaScript | mit | 7,037 |
/**
* @dgService ngdocFileReader
* @description
* This file reader will pull the contents from a text file (by default .ngdoc)
*
* The doc will initially have the form:
* ```
* {
* content: 'the content of the file',
* startingLine: 1
* }
* ```
*/
module.exports = function ngdocFileReader() {
return {... | uistyleguide/uistyleguide.github.io | node_modules/dgeni-packages/ngdoc/file-readers/ngdoc.js | JavaScript | mit | 602 |
/*
* ------------------------------------------
* 标签列表模块实现文件
* @version 1.0
* @author genify(caijf@corp.netease.com)
* ------------------------------------------
*/
NEJ.define([
'base/klass',
'base/element',
'util/tab/view',
'util/template/tpl',
'pro/module/module'
], function(_k,_e,_t,_l,_... | NEYouFan/nej-toolkit | test/cases/nej_0.1.0/webapp/src/html/module/setting/tab/index.js | JavaScript | mit | 1,741 |
'use strict';
module.exports = require('./lib/extIP'); | tajddin/voiceplay | node_modules/external-ip/index.js | JavaScript | mit | 54 |
version https://git-lfs.github.com/spec/v1
oid sha256:2d445c32b8da04f4b401b315c26c9e56c080a4aa38414551b4b8b809aad7df28
size 100012
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.14.1/graphics-vml/graphics-vml.js | JavaScript | mit | 131 |
import { Vector3 } from './Vector3.js';
import { Sphere } from './Sphere.js';
/**
* @author bhouston / http://clara.io
* @author WestLangley / http://github.com/WestLangley
*/
function Box3( min, max ) {
this.min = ( min !== undefined ) ? min : new Vector3( + Infinity, + Infinity, + Infinity );
this.max = ( max... | sasha240100/three.js | src/math/Box3.js | JavaScript | mit | 9,781 |
/**
@license
* @pnp/odata v1.1.5-4 - pnp - provides shared odata functionality and base classes
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2018 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https:github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
(functio... | cdnjs/cdnjs | ajax/libs/pnp-odata/1.1.5-4/odata.es5.umd.js | JavaScript | mit | 32,377 |
$data.ServiceBase.extend('$data.JayStormAPI.FunctionImport', {
/*addEntity: (function(name, fullname, namespace){
return function(success, error){
var self = this;
this.context.Entities.filter(function(it){ return it.FullName === this.fullname; }, { fullname: fullname }).length(funct... | gerzhan/jaydata | ContextAPI/contextapi-api.js | JavaScript | gpl-2.0 | 23,437 |
class Forcescheduler {
constructor(Base, dataService) {
let ForceschedulerInstance;
return (ForceschedulerInstance = class ForceschedulerInstance extends Base {
constructor(object, endpoint) {
super(object, endpoint);
}
});
}
}
angular.module('bb... | cmouse/buildbot | www/data_module/src/classes/forcescheduler.service.js | JavaScript | gpl-2.0 | 396 |
// Copyright 2013 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 ... | victorzhao/miniblink49 | v8_4_5/test/mjsunit/harmony/array-findindex.js | JavaScript | gpl-3.0 | 8,606 |
define('app/controllers/datapoints', ['app/models/datapoint', 'ember'],
//
// Datapoints Controller
//
// @returns Class
//
function (Datapoint) {
'use strict';
// Cache an array of null datapoints to
// display when there is no data
var EMPTY_DATAPOINTS = [];... | munkiat/mist.io | src/mist/io/static/js/app/controllers/datapoints.js | JavaScript | agpl-3.0 | 534 |
tinymce.addI18n('zh_CN',{
"Cut": "\u526a\u5207",
"Heading 5": "\u6807\u98985",
"Header 2": "\u6807\u98982",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u5bf9\u526a\u8d34\u677f\u7684\u8bbf\u95ee\... | NewGr8Player/jpress | jpress/jpress-web-core/src/main/webapp/static/tinymce/langs/zh_CN.js | JavaScript | lgpl-3.0 | 9,304 |
/*!
* Bootstrap v3.3.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9cc0baa232277d5dcc77)
* Config saved to config.json and https:... | kenhys/redpen | redpen-server/src/main/webapp/js/bootstrap.js | JavaScript | apache-2.0 | 66,924 |
var group___s_p_i__events =
[
[ "ARM_SPI_EVENT_DATA_LOST", "group___s_p_i__events.html#ga8e63d99c80ea56de596a8d0a51fd8244", null ],
[ "ARM_SPI_EVENT_MODE_FAULT", "group___s_p_i__events.html#ga7eaa229003689aa18598273490b3e630", null ],
[ "ARM_SPI_EVENT_TRANSFER_COMPLETE", "group___s_p_i__events.html#gaabdfc9... | LabAixBidouille/EmbeddedTeam | courses/examples/CMSIS/CMSIS/Documentation/Driver/html/group___s_p_i__events.js | JavaScript | apache-2.0 | 358 |
/**
* Sitespeed.io - How speedy is your site? (https://www.sitespeed.io)
* Copyright (c) 2014, Peter Hedenskog, Tobias Lidskog
* and other contributors
* Released under the Apache 2.0 License
*/
'use strict';
var path = require('path'),
util = require('../util/util'),
fs = require('fs'),
inspect = req... | yesman82/sitespeed.io | lib/analyze/gpsi.js | JavaScript | apache-2.0 | 2,754 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty
*
* @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js
* @description Execute /[^"]*... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js | JavaScript | apache-2.0 | 1,377 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have
* been stored. The substrings are ... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A2_T12.js | JavaScript | apache-2.0 | 1,920 |
Package.describe({
name: "telescope:settings",
summary: "Telescope settings package",
version: "0.25.6",
git: "https://github.com/TelescopeJS/Telescope.git"
});
Package.onUse(function(api) {
var both = ['server', 'client'];
api.versionsFrom(['METEOR@1.0']);
api.use([
'telescope:lib@0.25.6',
't... | eyaltoledano/streamhuntio | packages/telescope-settings/package.js | JavaScript | mit | 1,102 |
angular.module('bucketList', ['ionic', 'bucketList.controllers', 'bucketList.services'])
.run(function ($ionicPlatform) {
$ionicPlatform.ready(function () {
if (window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleDefault();
}
... | andrejoe/DON | prod/client/www/js/app.js | JavaScript | mit | 2,024 |
import Section from './_section';
import { CARD_TYPE } from './types';
import { shallowCopyObject } from '../utils/copy';
export const CARD_MODES = {
DISPLAY: 'display',
EDIT: 'edit'
};
const CARD_LENGTH = 1;
const DEFAULT_INITIAL_MODE = CARD_MODES.DISPLAY;
export default class Card extends Section {
construc... | atonse/mobiledoc-kit | src/js/models/card.js | JavaScript | mit | 1,257 |
/**
* Inline development version. Only to be used while developing since it uses document.write to load scripts.
*/
/*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */
/*globals $code */
(function(exports) {
"use strict";
var html = "", baseDir;
var modules = {}, expos... | oncebuilder/OnceBuilder | libs/tinymce/js/tinymce/plugins/spellchecker/plugin.dev.js | JavaScript | mit | 3,032 |
/*
Language: PowerShell
Description: PowerShell is a task-based command-line shell and scripting language built on .NET.
Author: David Mohundro <david@mohundro.com>
Contributors: Nicholas Blumhardt <nblumhardt@nblumhardt.com>, Victor Zhou <OiCMudkips@users.noreply.github.com>, Nicolas Le Gall <contact@nlegall.fr>
Websi... | ealbertos/dotfiles | vscode.symlink/extensions/bierner.markdown-preview-github-styles-0.2.0/node_modules/highlight.js/lib/languages/powershell.js | JavaScript | mit | 8,194 |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.cs');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Přidat komentář";
Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you."; // untranslated
Bloc... | RubyRios/Pet | public/js/blockly/msg/js/cs.js | JavaScript | mit | 29,842 |
var debug = require('ghost-ignition').debug('admin:serviceworker'),
path = require('path');
// Route: index
// Path: /ghost/sw.js|sw-registration.js
// Method: GET
module.exports = function adminController(req, res) {
debug('serviceworker called');
var sw = path.join(__dirname, '..', '..', '..', 'built', ... | chadwallacehart/cwh.com-ghost | versions/1.21.5/core/server/web/admin/serviceworker.js | JavaScript | mit | 523 |
// const MongoClient = require('mongodb').MongoClient;
const {MongoClient, ObjectID} = require('mongodb');
MongoClient.connect('mongodb://localhost:27017/TodoApp', (err, db) => {
if (err) {
return console.log('Unable to connect to MongoDB server');
}
console.log('Connected to MongoDB server');
// db.colle... | ajchaii/CloudDev | user-model/playground/mongodb-update.js | JavaScript | gpl-3.0 | 852 |
/**----------------------------------------------------------------------------------
* [ Title ] The common JS in System AccessControl.
* [ Invoke ] var jsAccessControl = new JSAccessControl("#ff0000","#ffffff","#eeeeee");
*----------------------------------------------------------------------------------*/
//Colo... | tzou24/BPS | BPS/WebRoot/sysmanager/user/common.js | JavaScript | apache-2.0 | 8,006 |
(function() {
window.WallTime || (window.WallTime = {});
window.WallTime.data = {
rules: {"CR":[{"name":"CR","_from":"1979","_to":"1980","type":"-","in":"Feb","on":"lastSun","at":"0:00","_save":"1:00","letter":"D"},{"name":"CR","_from":"1979","_to":"1980","type":"-","in":"Jun","on":"Sun>=1","at":"0:00",... | DebalinaDey/AuraDevelopDeb | aura-resources/src/main/resources/aura/resources/walltime-js/olson/walltime-data_America-Costa_Rica.js | JavaScript | apache-2.0 | 1,072 |
/**
* 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 ... | chandu0101/sri-relay | relay-mobile-examples/lib/writeRelayQueryPayload.js | JavaScript | apache-2.0 | 1,094 |
var MenuBuilder;
var builder = require("menu-builder");
module.exports = MenuBuilder = builder.extend({
buildDOM: function() {
this.on("new:node", this.buildNode);
this.on("new:button", this.buildButton);
this.on("new:menu", this.buildMenu);
return builder.prototype.buildDOM.call(this);
... | maovt/p3_web | public/js/msa/src/menu/menubuilder.js | JavaScript | mit | 936 |
/**
* (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import H from './Globals.js';
import './Utilities.js';
import './Series.js';
import './SvgRenderer.js';
import onSeriesMixin from '../mixins/on-series.js';
var addEvent = H.addEvent,
each = H.each,
merge = H.merge,
... | seogi1004/cdnjs | ajax/libs/highcharts/6.1.4/es-modules/parts/FlagsSeries.js | JavaScript | mit | 19,942 |
/*
Language: JSON
Description: JSON (JavaScript Object Notation) is a lightweight data-interchange format.
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Website: http://www.json.org
Category: common, protocols
*/
function json(hljs) {
const LITERALS = {
literal: 'true false null'
};
const ALLOWED_COMMEN... | ealbertos/dotfiles | vscode.symlink/extensions/bierner.markdown-preview-github-styles-0.2.0/node_modules/highlight.js/lib/languages/json.js | JavaScript | mit | 1,417 |
(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... | extend1994/cdnjs | ajax/libs/dashjs/2.6.8/dash.mss.debug.js | JavaScript | mit | 113,217 |
/* global it, describe, maxTimeout*/
define(["tests/Core", "chai", "Tone/component/CrossFade", "Tone/core/Master", "Tone/signal/Signal",
"Recorder", "Tone/component/Panner", "Tone/component/LFO", "Tone/component/Gate",
"Tone/component/Follower", "Tone/component/Envelope", "Tone/component/Filter", "Tone/component/EQ3... | nickells/Tone.js | test/tests/Components.js | JavaScript | mit | 30,333 |
/* eslint max-statements: 0 */
// Support for functions returning promise
"use strict";
var objectMap = require("es5-ext/object/map")
, primitiveSet = require("es5-ext/object/primitive-set")
, ensureString = require("es5-ext/object/validate-stringifiable-value")
, toShortString = require("es5-ext/to-shor... | evilz/evilz.github.io | node_modules/memoizee/ext/promise.js | JavaScript | mit | 4,373 |
if(true) {
console.log(true);
}
| jimenglish81/ember-suave | tests/fixtures/rules/require-space-after-keywords/bad/if.js | JavaScript | mit | 34 |
'use strict';
module.exports = {
'GET /api/example': function (req, res) {
setTimeout(function () {
res.json({
success: true,
data: ['foo', 'bar'],
});
}, 500);
},
};
| iWantMoneyMore/ykj | ykj-web/mock/example.js | JavaScript | gpl-2.0 | 210 |
//= testdir! | AlexanderDolgan/juliawp | wp-content/themes/node_modules/gulp-rigger/node_modules/rigger/test/input-aliases/local-includedir.js | JavaScript | gpl-2.0 | 12 |
module.exports = function( grunt ) {
'use strict';
var banner = '/**\n * <%= pkg.homepage %>\n * Copyright (c) <%= grunt.template.today("yyyy") %>\n * This file is generated automatically. Do not edit.\n */\n';
require('phplint').gruntPlugin(grunt);
// Project configuration
grunt.initConfig( {
pkg: grunt.fi... | ntamvl/an001 | wp-content/plugins/WP-API-develop/Gruntfile.js | JavaScript | gpl-2.0 | 1,194 |
/*
* Copyright (C) eZ Systems AS. All rights reserved.
* For full copyright and license information view LICENSE file distributed with this source code.
*/
YUI.add('ez-textline-editview-tests', function (Y) {
var viewTest, registerTest, getFieldTest;
viewTest = new Y.Test.Case({
name: "eZ Text Line ... | flovntp/BikeTutorialWebsite | vendor/ezsystems/platform-ui-bundle/Tests/js/views/fields/assets/ez-textline-editview-tests.js | JavaScript | gpl-2.0 | 8,506 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview
*/
/**#@+
@type String
@example
*/
/**
* Contains the dictionary of language entries.
* @namespace
*/
CKEDITOR.lang[ 'sv' ] = {
... | SeeyaSia/www | web/libraries/ckeditor/lang/sv.js | JavaScript | gpl-2.0 | 3,300 |
// Copyright 2014 Runtime.JS project authors
//
// 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 o... | dawangjiaowolaixunshan/runtime | initrd/system/init.js | JavaScript | apache-2.0 | 2,651 |
/*
MediaCenterJS - A NodeJS based mediacenter solution
Copyright (C) 2014 - Jan Smolders
This program 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.
This ... | qhanam/Pangor | js/test/input/special_type_handling/movie-functions_old.js | JavaScript | apache-2.0 | 5,868 |
/**
* 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
* distribut... | kogotko/carburetor | static/horizon/js/horizon.communication.js | JavaScript | apache-2.0 | 2,242 |
(function () {
'use strict';
/* App Module */
var openmrs = angular.module('openmrs', ['motech-dashboard', 'openmrs.services', 'openmrs.controllers',
'ngCookies', 'uiServices']);
openmrs.config(['$stateProvider', function ($stateProvider) {
$stateProvider
.st... | martokarski/modules | openmrs/src/main/resources/webapp/js/app.js | JavaScript | bsd-3-clause | 976 |
// 'catch' - Promise extension
//
// promise.catch(cb)
//
// Same as `then` but accepts only onFail callback
'use strict';
var isCallable = require('es5-ext/lib/Object/is-callable')
, validValue = require('es5-ext/lib/Object/valid-value')
, deferred = require('../../deferred')
, isPromise = require('../../is... | nateyang/grunt-build_js | tasks/libs/deferred/lib/ext/promise/catch.js | JavaScript | mit | 1,113 |
tinyMCE.addI18n('zh-cn.locomotive_media',{"image_desc": "插入媒体"}); | thirus/engine | app/assets/javascripts/tinymce/plugins/locomotive_media/langs/zh-cn.js | JavaScript | mit | 73 |
/* */
'use strict';
var keyMirror = require("./keyMirror");
var ReactMultiChildUpdateTypes = keyMirror({
INSERT_MARKUP: null,
MOVE_EXISTING: null,
REMOVE_NODE: null,
TEXT_CONTENT: null
});
module.exports = ReactMultiChildUpdateTypes;
| thomjoy/turftest | src/jspm_packages/npm/react@0.13.0/lib/ReactMultiChildUpdateTypes.js | JavaScript | mit | 243 |
'use strict';
require('../common');
const assert = require('assert');
function range(n) {
return 'x'.repeat(n + 1).split('').map(function(_, i) { return i; });
}
function timeout(nargs) {
const args = range(nargs);
setTimeout.apply(null, [callback, 1].concat(args));
function callback() {
assert.deepStric... | MTASZTAKI/ApertusVR | plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/test/parallel/test-timers-args.js | JavaScript | mit | 717 |
var tests = {
'postcss-nesting': {
'basic': {
message: 'supports basic usage'
},
'ignore': {
message: 'ignores invalid syntax'
}
}
};
var debug = true;
var dir = './test/fixtures/';
var fs = require('fs');
var path = require('path');
var plugin = require('../');
var test = require('tape'... | edsrupp/eds-mess | node_modules/precss/node_modules/postcss-nesting/test/index.js | JavaScript | mit | 1,399 |
define(['./_createAssigner', './allKeys'], function (_createAssigner, allKeys) {
// Fill in a given object with default properties.
var defaults = _createAssigner(allKeys, true);
return defaults;
});
| ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/underscore/amd/defaults.js | JavaScript | mit | 206 |
Modernizr.addTest("bgpositionxy",function(){return Modernizr.testStyles("#modernizr {background-position: 3px 5px;}",function(o){var n=window.getComputedStyle?getComputedStyle(o,null):o.currentStyle,t="3px"==n.backgroundPositionX||"3px"==n["background-position-x"],i="5px"==n.backgroundPositionY||"5px"==n["background-po... | topshelfdesign/Wordpress | wp-content/themes/tsd_master/bower_components/modernizr/feature-detects/min/css-backgroundposition-xy-min.js | JavaScript | gpl-2.0 | 347 |
# underscore name translator dynalink linker example
/*
* Copyright (c) 2015, Oracle and/or its affiliates. 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 sourc... | dmlloyd/openjdk-modules | nashorn/samples/dynalink/underscore_linker.js | JavaScript | gpl-2.0 | 2,204 |
var Stream = require('stream').Stream,
util = require('util'),
driver = require('websocket-driver'),
API = require('./websocket/api'),
EventTarget = require('./websocket/api/event_target'),
Event = require('./websocket/api/event');
var EventSource = function(request, ... | hackathon-3d/twilson63-repo | node_modules/firebase/node_modules/faye-websocket/lib/faye/eventsource.js | JavaScript | gpl-2.0 | 3,510 |
this.__proto__ = [];
gczeal(2);
gc();
var box = evalcx('lazy');
| michath/ConMonkey | js/src/jit-test/tests/basic/bug642326.js | JavaScript | mpl-2.0 | 65 |
/**
* jQuery plugin for code highlighting based on the ace editor.
*
* Call as $("selector").highlight({mode: "xquery"}). The highlighting mode
* may also be specified by adding a data-language="xquery" to the element
* on which highlight is called.
*
* @author Wolfgang Meier
*/
(function($) {
var me... | ebeshero/mitford | eXist-db/db-2020-07-18/db/apps/shared-resources/resources/scripts/highlight.js | JavaScript | agpl-3.0 | 4,596 |
define([
"TerraMA2WebApp/countries/services/index",
"TerraMA2WebApp/countries/directives/countries-list"
], function(countriesServiceModule, countriesList) {
var moduleName = "terrama2.countries.directive";
angular.module(moduleName, [countriesServiceModule])
.directive("terrama2CountriesList", countriesLi... | ViniciusCampanha/terrama2 | webapp/public/javascripts/angular/countries/directives/index.js | JavaScript | lgpl-3.0 | 349 |