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 |
|---|---|---|---|---|---|
// Generated by CoffeeScript 1.9.3
(function() {
var iframe_template, utils;
utils = require('./utils');
iframe_template = "<!DOCTYPE html>\n<html>\n<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <script src=\... | Jorginho211/TFG | web/node_modules/sockjs/lib/iframe.js | JavaScript | gpl-3.0 | 1,235 |
/**
* @param func
* @return {Observable<R>}
* @method let
* @owner Observable
*/
export function letProto(func) {
return func(this);
}
//# sourceMappingURL=let.js.map | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/rxjs/_esm2015/operator/let.js | JavaScript | apache-2.0 | 175 |
AT.prototype.atSepHelpers = {
sepText: function(){
return T9n.get(AccountsTemplates.texts.sep, markIfMissing=false);
},
}; | foysalit/SpaceTalk | packages/useraccounts-core/lib/templates_helpers/at_sep.js | JavaScript | mit | 138 |
/*
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <stevenlevithan.com>
* MIT license
*
* Includes enhancements by Scott Trenda <scott.trenda.net>
* and Kris Kowal <cixar.com/~kris.kowal/>
*
* Accepts a date, a mask, or a date and a mask.
* Returns a formatted version of the given date.
* The date default... | j-mcnally/teenage_mutant_ninja_graphs | vendor/assets/javascripts/libs/date.format.js | JavaScript | mit | 4,117 |
app.controller("LayersLayergroupSimpleController", [ "$scope", function($scope) {
angular.extend($scope, {
center: {
lat: 39,
lng: -100,
zoom: 3
},
layers: {
baselayers: {
... | ronnpang1/otocopy | www/lib/angular-leaflet-directive-master/examples/js/controllers/LayersLayergroupSimpleController.js | JavaScript | mit | 1,967 |
import React from 'react/addons';
import ContainerListItem from './ContainerListItem.react';
var ContainerList = React.createClass({
componentWillMount: function () {
this.start = Date.now();
},
render: function () {
var containers = this.props.containers.map(container => {
return (
<Contai... | moxiegirl/kitematic | src/components/ContainerList.react.js | JavaScript | apache-2.0 | 517 |
/*! jQuery UI - v1.8.24 - 2012-09-28
* https://github.com/jquery/jquery-ui
* Includes: jquery.ui.datepicker-ka.js
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
jQuery(function(a){a.datepicker.regional.ka={closeText:"แแแฎแฃแ แแ",prevText:"< แฌแแแ",nextText:"แจแแแแแแ >",currentText:"แแฆแแก",monthNames:["แแแแแ... | jolay/intelisis3 | sites/all/modules/jquery_update/replace/ui/ui/minified/i18n/jquery.ui.datepicker-ka.min.js | JavaScript | gpl-2.0 | 1,368 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.5
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? t... | dlueth/cdnjs | ajax/libs/ag-grid/5.0.0-alpha.5/lib/gridApi.js | JavaScript | mit | 25,090 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... | Jorginho211/TFG | web/node_modules/material-ui/svg-icons/content/content-paste.js | JavaScript | gpl-3.0 | 1,035 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/localization/vi/MathML.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0... | dongli/mathjax-rails | vendor/mathjax/unpacked/localization/vi/MathML.js | JavaScript | mit | 3,166 |
/* vtt.js - v0.12.1 (https://github.com/mozilla/vtt.js) built on 21-03-2015 */
/**
* Copyright 2013 vtt.js Contributors
*
* 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://ww... | RickEyre/vtt.js-dist | vtt.js | JavaScript | mpl-2.0 | 138,701 |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... | ShopwareHackathon/shopware_search_optimization | themes/Backend/ExtJs/backend/canceled_order/store/articles.js | JavaScript | agpl-3.0 | 1,931 |
(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... | keicheng/cdnjs | ajax/libs/keen-js/3.4.1/keen.js | JavaScript | mit | 186,623 |
๏ปฟ/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Latvian language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the ... | monkeythecoder/wp_lisder | wp-content/plugins/wp-online-store/admin/ckeditor/_source/lang/lv.js | JavaScript | gpl-2.0 | 27,055 |
๏ปฟ/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("a11yhelp","id",{title:"Instruksi Accessibility",contents:"Bantuan. Tekan ESC untuk menutup dialog ini.",legend:[{name:"Umum",ite... | YAFNET/YAFNET | yafsrc/YetAnotherForum.NET/Scripts/ckeditor/plugins/plugins/a11yhelp/dialogs/lang/id.js | JavaScript | apache-2.0 | 4,041 |
VectorCanvas.prototype.createPath = function (config) {
var node;
if (this.mode === 'svg') {
node = this.createSvgNode('path');
node.setAttribute('d', config.path);
if (this.params.borderColor !== null) {
node.setAttribute('stroke', this.params.borderColor);
}
if (this.params.borderWidth ... | krasnyuk/e-liquid-MS | wwwroot/assets/js/jqvmap/src/VectorCanvas/createPath.js | JavaScript | mit | 2,230 |
/**
* jQuery plugin wrapper for TinySort
* Does not use the first argument in tinysort.js since that is handled internally by the jQuery selector.
* Sub-selections (option.selector) do not use the jQuery selector syntax but regular CSS3 selector syntax.
* @summary jQuery plugin wrapper for TinySort
* @version 2.2.... | sajochiu/cdnjs | ajax/libs/tinysort/2.2.2/jquery.tinysort.min.js | JavaScript | mit | 912 |
//// [inheritedConstructorWithRestParams2.ts]
class IBaseBase<T, U> {
constructor(x: U) { }
}
interface IBase<T, U> extends IBaseBase<T, U> { }
class BaseBase2 {
constructor(x: number) { }
}
declare class BaseBase<T, U> extends BaseBase2 implements IBase<T, U> {
constructor(x: T, ...y: U[]);
constru... | sassson/TypeScript | tests/baselines/reference/inheritedConstructorWithRestParams2.js | JavaScript | apache-2.0 | 1,838 |
// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = require('./_iobject')
, defined = require('./_defined');
module.exports = function(it){
return IObject(defined(it));
}; | migua1204/jikexueyuan | ๆๅฎขๅญฆ้ข/nodeBaidu/node_modules/core-js/modules/_to-iobject.js | JavaScript | apache-2.0 | 213 |
// Copyright 2008 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | LeoLombardi/tos-laimas-compass | tos-laimas-compass-win32-x64/resources/app/node_modules/closure-util/.deps/library/b06c979ecae7d78dd1ac4f7b09adec643baac308/closure/goog/ui/submenu_test.js | JavaScript | mit | 20,504 |
// [Name] SVGLinearGradientElement-dom-x1-attr.js
// [Expected rendering result] green ellipse, no red visible - and a series of PASS messages
description("Tests dynamic updates of the 'x1' attribute of the SVGLinearGradientElement object")
createSVGTestCase();
var ellipseElement = createSVGElement("ellipse");
ellips... | scheib/chromium | third_party/blink/web_tests/svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-x1-attr.js | JavaScript | bsd-3-clause | 1,554 |
MessageFormat.locale.es = function ( n ) {
if ( n === 1 ) {
return "one";
}
return "other";
};
| Ergosign/grunt-swagger-docs-onepage | test/fixtures/libs/messageformat/locale/es.js | JavaScript | mit | 105 |
"format register";
System.register("angular2/src/mock/animation_builder_mock", ["angular2/src/core/di", "angular2/src/animate/animation_builder", "angular2/src/animate/css_animation_builder", "angular2/src/animate/animation", "angular2/src/animate/browser_details"], true, function(require, exports, module) {
var glob... | mchiba52/mystocks-angularv2 | node_modules/angular2/bundles/testing.dev.js | JavaScript | apache-2.0 | 88,227 |
'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.writabl... | jgcopple/GarySchwantz | wp-content/themes/square-child/foundation/node_modules/gulp-autoprefixer/node_modules/postcss/lib/declaration.js | JavaScript | gpl-2.0 | 3,125 |
/**
* Require unassigned functions to be named inline
*
* Types: `Boolean` or `Object`
*
* Values:
* - `true`
* - `Object`:
* - `allExcept`: array of quoted identifiers
*
* #### Example
*
* ```js
* "requireNamedUnassignedFunctions": { "allExcept": ["describe", "it"] }
* ```
*
* ##### Valid
*
* `... | oavasquez/ingeneria_software | web-project/node_modules/jscs/lib/rules/require-named-unassigned-functions.js | JavaScript | mit | 4,284 |
function X2JS(_1){
"use strict";
var _2="1.1.2";
_1=_1||{};
_3();
function _3(){
if(_1.escapeMode===undefined){
_1.escapeMode=true;
}
if(_1.attributePrefix===undefined){
_1.attributePrefix="_";
}
if(_1.arrayAccessForm===undefined){
_1.arrayAccessForm="none";
}
if(_1.emptyNodeForm===undefined){
_1.emptyNodeForm="text";
... | retrobot/zurbebay | zips/x2js-v1.1.2/xml2json.min.js | JavaScript | mit | 5,729 |
'use strict';
var path = require('path');
exports.name = 'cssmin';
//
// Output a config for the furnished block
// The context variable is used both to take the files to be treated
// (inFiles) and to output the one(s) created (outFiles).
// It aslo conveys whether or not the current process is the last of the pipe
... | frangucc/gamify | www/sandbox/pals/node_modules/grunt-usemin/lib/config/cssmin.js | JavaScript | mit | 828 |
/*
* jquery.inputmask.numeric.extensions.js
* http://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2014 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.1.26
*/
(function (factory) {if (typeof define === 'function' && define.amd) {... | froala/cdnjs | ajax/libs/jquery.inputmask/3.1.26/inputmask/jquery.inputmask.numeric.extensions.js | JavaScript | mit | 16,256 |
import "../arrays/merge";
import "../core/rebind";
import "layout";
d3.layout.hierarchy = function() {
var sort = d3_layout_hierarchySort,
children = d3_layout_hierarchyChildren,
value = d3_layout_hierarchyValue;
// Recursively compute the node depth and value.
// Also converts to a standard hierarc... | spindance/serviced-precomp | web/ui/static/thirdparty/d3-3.3.6/src/layout/hierarchy.js | JavaScript | apache-2.0 | 2,793 |
/*! (C) WebReflection Mit Style License */
(function(e,t,n){if(n in e)return;var r=0,i=e.clearTimeout,s=e.setTimeout,o=Element.prototype,u=t.getOwnPropertyDescriptor,a=t.defineProperty,f=function(){document.dispatchEvent(new CustomEvent("readystatechange"))},l=function(e,t){i(r),r=s(f,10)},c=function(e){var t=u(o,e),n=... | tmthrgd/pagespeed-libraries-cdnjs | packages/document-register-element/0.2.2/dre-ie8-upfront-fix.js | JavaScript | mit | 919 |
/*
YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('oop', function(Y) {
/**
Adds object inheritance and manipulation utilities to the YUI instance. This
module is required by most YUI components.
@module oop
**/
var L ... | zuverza/se | sites/all/libraries/yui/build/oop/oop.js | JavaScript | gpl-2.0 | 12,939 |
tinymce.addI18n('fi',{
"Cut": "Leikkaa",
"Header 2": "Otsikko 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Selaimesi ei tue leikekirjan suoraa k\u00e4ytt\u00e4mist\u00e4. Ole hyv\u00e4 ja k\u00e4yt\u00e4 n\u00e4pp\u00e4imist\u00f6n Ctrl+X j... | criquier/OpenEcoles | web/bundles/stfalcontinymce/vendor/tinymce/langs/fi.js | JavaScript | mit | 6,439 |
/*!
* FileInput Czech Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see http://github.com/kartik-v/bootstrap-fileinput
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
... | javiomoreno/Cachama | web/sb-admin/bower_components/bootstrap-fileinput/js/fileinput_locale_cz.js | JavaScript | bsd-3-clause | 3,292 |
/**
@module ember
@submodule ember-htmlbars
*/
import Ember from 'ember-metal/core';
import EmberStringUtils from 'ember-runtime/system/string';
import { SafeString, escapeExpression } from 'htmlbars-util';
/**
Mark a string as safe for unescaped output with Ember templates. If you
return HTML from a helper, use ... | udhayam/ember.js | packages/ember-htmlbars/lib/utils/string.js | JavaScript | mit | 1,043 |
/**
* @license Highmaps JS v5.0.1 (2016-10-26)
*
* (c) 2011-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function(root, factory) {
if (typeof module === 'object' && module.exports) {
module.exports = root.document ?
factory(root) :
factory;
... | hare1039/cdnjs | ajax/libs/highmaps/5.0.1/js/highmaps.src.js | JavaScript | mit | 812,097 |
(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/keen-js/3.2.0/keen-tracker.js | JavaScript | mit | 66,915 |
/*
* jQuery UI Effects Pulsate 1.7.2
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Effects/Pulsate
*
* Depends:
* effects.core.js
*/
(function($) {
$.effects.pulsate = functio... | glenn-edgar/lua_frame_work | web_pages/development-bundle/ui/effects.pulsate.js | JavaScript | mit | 1,505 |
var config = require('../config'),
_ = require('underscore'),
path = require('path'),
when = require('when'),
api = require('../api'),
mailer = require('../mail'),
errors = require('../errorHandling'),
storage = require('../s... | joeljacobson/ghost | core/server/controllers/admin.js | JavaScript | mit | 12,937 |
describe("Ext.dom.Element_scroll", function() {
var el;
afterEach(function(){
Ext.destroy(el);
el = null;
});
function expectLeft(left) {
expect(el.dom.scrollLeft).toBe(left);
}
function expectTop(top) {
expect(el.dom.scrollTop).toBe(to... | applifireAlgo/ZenClubApp | zenws/src/main/webapp/ext/packages/sencha-core/test/specs/dom/Element_scroll.js | JavaScript | gpl-3.0 | 5,088 |
๏ปฟ/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'wsc', 'km', {
btnIgnore: 'แแทแแแแแถแแแแแแผแ',
btnIgnoreAll: 'แแทแแแแแถแแแแแแผแ แแถแแแขแแ',
btnReplace: 'แแแแฝแ',
btnReplaceAll: 'แแแแฝแแแถแแแขแแ',
btnUndo... | janusnic/dj-21v | unit_15/mysite/public/static/ckeditor/ckeditor/plugins/wsc/lang/km.js | JavaScript | mit | 1,772 |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... | filippov70/map.org | www/jslib/extjs/src/dom/AbstractHelper.js | JavaScript | lgpl-3.0 | 11,000 |
define(
"dojo/cldr/nls/hu/hebrew", //begin v1.x content
{
"months-format-abbr": [
"Tisri",
"Hesvรกn",
"Kiszlรฉv",
"Tรฉvรฉsz",
"Svรกt",
"รdรกr I",
"รdรกr",
"Niszรกn",
"Ijรกr",
"Szivรกn",
"Tamuz",
"รv",
"Elul"
],
"months-format-abbr-leap": "รdรกr II",
"months-format-wide": [
"Tisri",
"Hesvรกn",
"K... | niug/DirClia | web/dojo/dojo/cldr/nls/hu/hebrew.js.uncompressed.js | JavaScript | mit | 3,050 |
/**
* @license AngularJS v1.5.9
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular) {'use strict';
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Any commits to this file should be reviewed with security in mind. *
* Changes to thi... | ohmygodvt95/wevivu | vendor/assets/components/angular-sanitize/angular-sanitize.js | JavaScript | mit | 27,003 |
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.initConfig({
jshint: {
options: { jshintrc: true },
all: ['*.js', 'lib/*.js', 'test/*.js']
}
});
grunt.registerTask('default', ['jshint']);
};
| victzero/wanzi | wanzi/node_modules/connect-mongo/Gruntfile.js | JavaScript | gpl-2.0 | 289 |
๏ปฟ/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","no",{move:"Klikk og dra for รฅ flytte",label:"%1 widget"}); | samnemo94/SchoolSystem | vendor/ckeditor/ckeditor/plugins/widget/lang/no.js | JavaScript | bsd-3-clause | 242 |
/**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: 1.0.4
* Revision: 1120
*
* Copyright (c) 2009-2012 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
... | vousk/jsdelivr | files/jqplot/1.0.4/plugins/jqplot.cursor.js | JavaScript | mit | 47,196 |
// SpryDOMUtils.js - version 0.13 - Spry Pre-Release 1.7
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// 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... | vousk/jsdelivr | files/spry/1.7/js/sprydomutils.js | JavaScript | mit | 29,611 |
๏ปฟ/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'pt-br', {
confirmCleanup: 'O texto que vocรช deseja colar parece ter sido copiado do Word. Vocรช gostaria de remover a formataรงรฃo ant... | ramda/jsdelivr | files/ckeditor/4.3.0/plugins/pastefromword/lang/pt-br.js | JavaScript | mit | 475 |
module.exports={title:"Bulma",slug:"bulma",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Bulma icon</title><path d="M11.25 0l-6 6 -1.5 10.5 7.5 7.5 9 -6 -6 -6 4.5 -4.5 -7.5 -7.5Z"/></svg>',get path(){return this.svg.match(/<path\s+d="([^"]*)/)[1]},source:"https://github.com/jgthms/b... | cdnjs/cdnjs | ajax/libs/simple-icons/4.9.0/bulma.min.js | JavaScript | mit | 341 |
var assert = require('assert')
var UINT32 = require('..').UINT32
describe('and method', function () {
describe('0&1', function () {
it('should return 0', function (done) {
var u = UINT32(0).and( UINT32(1) )
assert.equal( u.toNumber(), 0 )
done()
})
})
describe('1&2', function () {
... | Phalanstere/WritersStudio | writers_studio-win32-ia32/resources/app/node_modules/cuint/test/UINT32_and-test.js | JavaScript | mit | 1,129 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _rest = require('./internal/rest');
var _rest2 = _interopRequireDefault(_rest);
var _initialParams = require('./internal/initialParams');
var _initialParams2 = _interopRequireDefault(_initialParams);
function _interopRequireDefau... | FOrmyown/LmWebsite | website/node_modules/async/constant.js | JavaScript | mit | 1,805 |
/*
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | darkoverlordofdata/asteroids | web/frameworks/runtime-src/proj.androidstudio/web/src/main/assets/script/extension/jsb_cocos2d_extension.js | JavaScript | mit | 8,433 |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const HTMLElement = require("./HTMLElement.js");
const impl = utils.implSymbol;
const mixin = utils.mixin;
const WindowEventHandlers = require("./WindowEventHandlers.js");
function HTMLBodyElement() {
throw new Typ... | ElvisLouis/code | work/js/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js | JavaScript | gpl-2.0 | 4,335 |
/*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) IBM Corp. 2009 All rights reserved.
*
* 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 r... | WAPMADRID/server | wapmadrid/node_modules/grunt-node-inspector/node_modules/node-inspector/front-end/ResourceView.js | JavaScript | gpl-2.0 | 4,287 |
/**
* 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 ... | jeffro-/jeffro-.github.io | youreeverything/node_modules/react/lib/ReactMultiChild.js | JavaScript | apache-2.0 | 12,019 |
/* skelJS v0.4 | (c) n33 | skeljs.org | MIT licensed */
skel.registerPlugin("panels",function(){var b={config:{baseZIndex:1E4,useTransform:!0,transformBreakpoints:null,speed:250,panels:{},overlays:{}},cache:{panels:{},overlays:{},body:null,window:null,pageWrapper:null,defaultWrapper:null,fixedWrapper:null,activePanel:n... | AKSW/Sparqlify-Website | www/www/js/skel-panels.min.js | JavaScript | apache-2.0 | 16,451 |
/**
* Provides live preview facilities for the event date format fields, akin
* to (and using the same ajax mechanism as) the date format preview in WP's
* general settings screen.
*/
jQuery( document ).ready( function( $ ) {
// Whenever the input field for a date format changes, update the matching
// live previ... | pdpfsug/wp_raga10 | wp_raga10/wp-content/plugins/the-events-calendar/vendor/tickets/common/src/resources/js/admin-date-preview.js | JavaScript | agpl-3.0 | 1,173 |
var which = require('which');
var spawnSync = require('child_process').spawnSync;
module.exports.detect = function(gulp) {
var DART_SDK = false;
try {
which.sync('dart');
if (process.platform === 'win32') {
DART_SDK = {
ANALYZER: 'dartanalyzer.bat',
DARTDOCGEN: 'dartdoc.bat',
... | resalisbury/angular | tools/build/dart.js | JavaScript | apache-2.0 | 1,355 |
๏ปฟ/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","et",{euro:"Euromรคrk",lsquo:"Alustav รผhekordne jutumรคrk",rsquo:"Lรตpetav รผhekordne jutumรคrk",ldquo:"Alustav kahekordne jutumรคrk",rdquo:"... | DeadLockMk1/Yogurt | yogurt/protected/extensions/booster/assets/ckeditor/plugins/specialchar/dialogs/lang/et.js | JavaScript | gpl-2.0 | 4,488 |
๏ปฟCKEDITOR.plugins.setLang("autoembed","en-au",{embeddingInProgress:"Trying to embed pasted URL...",embeddingFailed:"This URL could not be automatically embedded."}); | maiconpinto/cakephp-adminlte-theme | webroot/bower_components/ckeditor/plugins/autoembed/lang/en-au.js | JavaScript | mit | 167 |
// ramda.js
// https://github.com/CrossEye/ramda
// (c) 2013-2014 Scott Sauyet and Michael Hurley
// Ramda may be freely distributed under the MIT license.
// Ramda
// -----
// A practical functional library for Javascript programmers. Ramda is a collection of tools to make it easier to
// use Javascr... | neveldo/cdnjs | ajax/libs/ramda/0.5.0/ramda.js | JavaScript | mit | 171,861 |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
*/
YUI.add('dataschema-json', function(Y) {
/**
* Provides a DataSchema implementation which can be used to work with JSON data.
*
* @module dataschema
... | blackstark/site | www/sugar/jssource/src_files/include/javascript/yui3/build/dataschema/dataschema-json.js | JavaScript | gpl-2.0 | 11,142 |
/**
* @fileoverview Rule to spot scenarios where a newline looks like it is ending a statement, but is not.
* @author Glen Mailer
* @copyright 2015 Glen Mailer
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------... | Phalanstere/WritersStudio | writers_studio-win32-ia32/resources/app/node_modules/eslint/lib/rules/no-unexpected-multiline.js | JavaScript | mit | 1,803 |
YUI.add('color-base', function (Y, NAME) {
/**
Color provides static methods for color conversion.
Y.Color.toRGB('f00'); // rgb(255, 0, 0)
Y.Color.toHex('rgb(255, 255, 0)'); // #ffff00
@module color
@submodule color-base
@class Color
@since 3.8.0
**/
var REGEX_HEX = /^#?([\da-fA-F]{2})([\da-fA-F]{2})([\da... | sajochiu/cdnjs | ajax/libs/yui/3.9.1/color-base/color-base.js | JavaScript | mit | 10,438 |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _postcss = require('postcss');
var _clone = require('../clone');
var _clone2 = _interopRequireDefault(_clone);
var _hasAllProps = r... | synchronit/synchronit_website | zensum/node_modules/postcss-merge-longhand/dist/lib/decl/border-base.js | JavaScript | apache-2.0 | 3,293 |
/**
* @license AngularJS v1.3.10
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
var $sanitizeMinErr = angular.$$minErr('$sanitize');
/**
* @ngdoc module
* @name ngSanitize
* @description
*
* # ngSanitize
*
* The `ngSanitize` module p... | walgheraibi/StemCells | ui/js/bower_components/textAngular/src/textAngular-sanitize.js | JavaScript | mit | 26,988 |
module.exports = collect
function collect (stream) {
if (stream._collected) return
stream._collected = true
stream.pause()
stream.on("data", save)
stream.on("end", save)
var buf = []
function save (b) {
if (typeof b === "string") b = new Buffer(b)
if (Buffer.isBuffer(b) && !b.length) return
... | nikste/visualizationDemo | zeppelin-web/node/npm/node_modules/fstream/lib/collect.js | JavaScript | apache-2.0 | 1,652 |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
// vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisa... | thegillis/from_rails_to_phoenix | widget_market_rails/app/assets/javascripts/application.js | JavaScript | mit | 695 |
YUI.add('escape', function(Y) {
/**
Provides utility methods for escaping strings.
@module escape
@class Escape
@static
@since 3.3.0
**/
var HTML_CHARS = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
'/': '/',
'`': '`'
},... | drewfreyling/cdnjs | ajax/libs/yui/3.4.1pr1/escape/escape.js | JavaScript | mit | 2,360 |
import React, {useState} from 'react';
import {
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
Platform,
Linking,
} from 'react-native';
import AutoHeightWebView from 'react-native-autoheight-webview';
import {
autoHeightHtml0,
autoHeightHtml1,
autoHeightScript,
autoWidthHtml0,
autoWidthHtml1,... | iou90/react-native-autoheight-webview | demo/App.js | JavaScript | isc | 4,845 |
"use strict";
import clear from "rollup-plugin-clear";
import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import typescript from "rollup-plugin-typescript2";
import screeps from "rollup-plugin-screeps";
let cfg;
const dest = process.env.DEST;
if (!dest) {
console.log(... | thaelina/Screeps-ThaeOS | rollup.config.js | JavaScript | isc | 850 |
import { timeout as d3_timeout } from 'd3-timer';
export function uiFlash(context) {
var _flashTimer;
var _duration = 2000;
var _iconName = '#iD-icon-no';
var _iconClass = 'disabled';
var _text = '';
var _textClass;
function flash() {
if (_flashTimer) {
_flashTimer... | morray/iD | modules/ui/flash.js | JavaScript | isc | 2,966 |
"use strict";
const http_1 = require("http");
const WebSocketServer = require("ws");
const express = require("express");
const dgram = require("dgram");
const readUInt64BE = require("readuint64be");
const buffer_1 = require("buffer");
const _ = require("lodash");
// Health Insurrance:
process.on("uncaughtException", fu... | CraigglesO/peer-tracker | ts-node/b80e7f10257a0a2b7f29aee28a53e164f19fc5f2/98a6883f88ed207a422bce14e041cea9032231df.js | JavaScript | isc | 23,105 |
var parseString = require('xml2js').parseString;
module.exports = function(req, res, next){
if (req.is('xml')){
var data = '';
req.setEncoding('utf8');
req.on('data', function(chunk){
data += chunk;
});
req.on('end', function(){
if (!data){
return next();
}
parseSt... | shcoder-ru/rest-req-res | middleware/xml-parser.js | JavaScript | isc | 602 |
"use strict";
var CustomError = require('custom-error-instance');
var inventory = require('./inventory');
var menu = require('./menu');
var OrderError = CustomError('OrderError');
module.exports = function() {
var done = false;
var factory = {};
var store = {};
/**
... | Gi60s/IT410 | restaurant/order.js | JavaScript | isc | 2,025 |
const test = require('tape')
const helpers = require('../test/helpers')
const bindFunc = helpers.bindFunc
const unary = require('./unary')
test('unary helper', t => {
const f = bindFunc(unary)
const err = /unary: Argument must be a Function/
t.throws(f(undefined), err, 'throws with undefined')
t.throws(f(nu... | evilsoft/crocks | src/helpers/unary.spec.js | JavaScript | isc | 917 |
export const DEFAULTS = {
API_BASE_URI: 'http://localhost:3000/axway',
granularity: 'monthly',
startDate: '2010-01-01',
cacheExpirySeconds: 300//5 minutes
};
export class Settings {
/**
* @param {string} setting
* @returns {*}
*/
getSetting(setting) {
return DEFAULTS[set... | scopevale/carpers-paradise | src/client/js/utils/Settings.js | JavaScript | isc | 616 |
'use strict';
var DB = require('./lib/database');
var rc_util = require('./lib/utility.js');
var modelsFactory = require('./lib/models.js');
var selective = require('./program').selective;
var Promise = require('bluebird');
module.exports = function(dbUrl, commander, lastCrawl) {
return new Promise(function(resolve,... | bankonme/rippled-network-crawler | src/prior.js | JavaScript | isc | 775 |
import {takeEvery} from 'redux-saga'
import {call, put, take, fork, select, cancel} from 'redux-saga/effects'
import * as Actions from './actions/actions'
let ws = null
const getUsername = state => state.username
function* createWebSocket(url) {
ws = new WebSocket(url)
let deferred, open_deferred, close_def... | anyley/chat-sinatra-react | frontend/src/sagas.js | JavaScript | isc | 4,180 |
import React from 'react';
const isArray = x => Array.isArray(x);
const isString = x => typeof x === 'string' && x.length > 0;
const isSelector = x => isString(x) && (startsWith(x, '.') || startsWith(x, '#'));
const isChildren = x => /string|number|boolean/.test(typeof x) || isArray(x);
const startsWith = (string, sta... | Jador/react-hyperscript-helpers | src/index.js | JavaScript | isc | 3,497 |
/**
* Created by Stefan on 9/19/2017
*/
/**
* Created by Stefan Endres on 08/16/2017.
*/
'use strict'
var http = require('http'),
https = require('https'),
url = require('url'),
util = require('util'),
fs = require('fs'),
path = require('path'),
sessions = require('./sessions'),
EventE... | endresstefan/light-http-server | lib/server.js | JavaScript | isc | 8,582 |
'use strict';
import path from 'path';
import webpack, { optimize, HotModuleReplacementPlugin, NoErrorsPlugin } from 'webpack';
export default {
devtool: 'eval-cheap-module-source-map',
entry: [
'webpack-hot-middleware/client',
'./app/js/bootstrap'
],
output: {
path: path.join(__dirname, 'dist'),
filename... | hyphenbash/movies-search | webpack.config.js | JavaScript | isc | 668 |
'use strict';
var expect = chai.expect;
function run(scope,done) {
done();
}
describe('SendCtrl', function(){
var rootScope, scope, controller_injector, dependencies, ctrl,
sendForm, network, timeout, spy, stub, mock, res, transaction, data;
beforeEach(module("rp"));
beforeEach(inject(function($rootSc... | yxxyun/ripple-client | test/unit/tabs/sendControllerSpec.js | JavaScript | isc | 17,667 |
"use strict";
(function (ConflictType) {
ConflictType[ConflictType["IndividualAttendeeConflict"] = 0] = "IndividualAttendeeConflict";
ConflictType[ConflictType["GroupConflict"] = 1] = "GroupConflict";
ConflictType[ConflictType["GroupTooBigConflict"] = 2] = "GroupTooBigConflict";
ConflictType[ConflictTyp... | eino-makitalo/ews-javascript-npmbuild | js/Enumerations/ConflictType.js | JavaScript | mit | 481 |
export default function applyLocationOffset(rect, location, isOffsetBody) {
var top = rect.top;
var left = rect.left;
if (isOffsetBody) {
left = 0;
top = 0;
}
return {
top: top + location.top,
left: left + location.left,
height: rect.height,
width: r... | antpost/antpost-client | node_modules/@progress/kendo-popup-common/dist/es/apply-location-offset.js | JavaScript | mit | 390 |
KB.component('task-move-position', function (containerElement, options) {
function getSelectedValue(id) {
var element = KB.dom(document).find('#' + id);
if (element) {
return parseInt(element.options[element.selectedIndex].value);
}
return null;
}
function get... | lianguan/kanboard | assets/js/components/task-move-position.js | JavaScript | mit | 5,050 |
const AES = require('./aesjs');
function encrypt(text, key) {
key = new TextEncoder().encode(key);
const textBytes = AES.utils.utf8.toBytes(text);
const aesCtr = new AES.ModeOfOperation.ctr(key);
const encryptedBytes = aesCtr.encrypt(textBytes);
return AES.utils.hex.fromBytes(encryptedBytes);
}
function dec... | cheminfo-js/visualizer-helper | util/aes.js | JavaScript | mit | 653 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _index = require('../../isSameWeek/index.js');
var _index2 = _interopRequireDefault(_index);
var _index3 = require('../_lib/convertToFP/index.js');
var _index4 = _interopRequireDefault(_index3);
function _interopRequireDefault(obj)... | lucionei/chamadotecnico | chamadosTecnicosFinal-app/node_modules/date-fns/fp/isSameWeekWithOptions/index.js | JavaScript | mit | 621 |
angular.module('EggApp', ['ngRoute'], function($routeProvider) {
$routeProvider
.when('/', {
templateUrl: '/app/view/search.html',
controller: 'SearchController'
})
.when('/show/:id', {
templateUrl: '/app/view/show.html',
controller: 'ShowContr... | kamilbiela/bowereggs-frontend | app/app.js | JavaScript | mit | 402 |
var Phaser = require('phaser-unofficial');
/**
* Wall class.
* @param {object} game
* @param {number} x
* @param {number} y
*/
Wall = function (game, x, y) {
Phaser.Sprite.call(this, game, x, y, 'paddle');
this.game.physics.arcade.enable(this);
this.width = 200;
this.height = this.game.world.boun... | cognizo/bogey-pong | lib/wall.js | JavaScript | mit | 581 |
exports.definition = {
/**
* Add custom methods to your Model`s Records
* just define a function:
* ```js
* this.function_name = function(){
* //this == Record
* };
* ```
* This will automatically add the new method to your Record
*
* @class Definition
* @name Custom Record Me... | PhilWaldmann/openrecord | lib/base/methods.js | JavaScript | mit | 843 |
/* ----------------------------------
* PUSH v2.0.0
* Licensed under The MIT License
* inspired by chris's jquery.pjax.js
* http://opensource.org/licenses/MIT
* ---------------------------------- */
!function () {
var noop = function () {};
// Pushstate cacheing
// ==================
var isScrolling;
... | vladikoff/ratchet | js/push.js | JavaScript | mit | 12,122 |
/*****************************************************
* Copyright (c) 2014 Colby Brown *
* This program is released under the MIT license. *
* For more information about the MIT license, *
* visit http://opensource.org/licenses/MIT *
*************************************... | brobo/mumshoppe-dep | public/js/volunteer.app.js | JavaScript | mit | 8,235 |
import { exec, getById } from "../database/database";
import Gender from "../entities/gender";
export default class GenderController {
constructor() {}
static getById(id, as_object = true) {
let gender = null;
let results = getById(id,
`
SELECT
t1.id,
t1.identifier as name
FR... | milk-shake/electron-pokemon | app/js/controllers/genderController.js | JavaScript | mit | 485 |
'use strict';
var format = require('util').format
, scripts = require('./scripts')
, loadScriptSource = require('./load-script-source')
// Ports: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp
function ignore(cb) { ... | thlorenz/debugium | lib/inspector/InspectorDebuggerAgent.js | JavaScript | mit | 5,597 |
/* eslint no-console: 0 */
'use strict';
const fs = require('fs');
const mkdirp = require('mkdirp');
const rollup = require('rollup');
const nodeResolve = require('rollup-plugin-node-resolve');
const commonjs = require('rollup-plugin-commonjs');
const uglify = require('rollup-plugin-uglify');
const src = 'src';
con... | marcandrews/angular2-rollup-investigation | rollup-aot.config.js | JavaScript | mit | 2,085 |
function checkHeadersSent(res, cb) {
return (err, results) => {
if (res.headersSent) {
if (err) {
return cb(err)
}
return null
}
cb(err, results)
}
}
exports.finish = function finish(req, res, next) {
const check = checkHeadersSent.bind(null, res)
if (req.method === 'GET')... | cannoneyed/tmm-glare | server/webUtil/routing.js | JavaScript | mit | 1,653 |
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
var testCase = require('../deps/nodeunit').testCase,
debug = require('util').debug,
inspect = require('util').inspect,
nodeunit = require('../deps/nodeunit'),
gleak = require('../tools/glea... | zencephalon/deftdraftjs | node_modules/mongoose/node_modules/mongodb/test/insert_test.js | JavaScript | mit | 29,311 |
const createImmutableEqualsSelector = require('./customSelectorCreator');
const compare = require('../util/compare');
const exampleReducers = require('../reducers/exampleReducers');
/**
* Get state function
*/
const getSortingState = exampleReducers.getSortingState;
const getPaginationState = exampleReducers.getPagi... | ysaaron/reselect-demo | src/selector/exampleSelector.js | JavaScript | mit | 1,908 |
var stream = require('readable-stream')
var util = require('util')
var fifo = require('fifo')
var toStreams2 = function(s) {
if (s._readableState) return s
var wrap = new stream.Readable().wrap(s)
if (s.destroy) wrap.destroy = s.destroy.bind(s)
return wrap
}
var Parallel = function(streams, opts) {
if (... | mafintosh/parallel-multistream | index.js | JavaScript | mit | 2,398 |