code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
// Copyright 2012 Mark Cavage, Inc. All rights reserved.
var crypto = require('crypto');
var http = require('http');
var sprintf = require('util').format;
var assert = require('assert-plus');
var mime = require('mime');
var once = require('once');
var errors = require('./errors');
var httpDate = require('./http_dat... | pdehaan/node-restify | lib/response.js | JavaScript | mit | 6,999 |
/*
* Video.js Hotkeys
* https://github.com/ctd1500/videojs-hotkeys
*
* Copyright (c) 2015 Chris Dougherty
* Licensed under the Apache-2.0 license.
*/
;(function(root, factory) {
if (typeof window !== 'undefined' && window.videojs) {
factory(window.videojs);
} else if (typeof define === 'function' && defi... | seogi1004/cdnjs | ajax/libs/videojs-hotkeys/0.2.22/videojs.hotkeys.js | JavaScript | mit | 12,768 |
/**
* sails.io.js
* ------------------------------------------------------------------------
* JavaScript Client (SDK) for communicating with Sails.
*
* Note that this script is completely optional, but it is handy if you're
* using WebSockets from the browser to talk to your Sails server.
*
* For tips and docu... | balderdashy/angularSails | lib/sails.io.js | JavaScript | mit | 29,820 |
'use strict'
const addNestedValue = function (pojo, name, value) {
const recurse = function recurse (pojo, keys, value) {
value = decodeURIComponent(value)
const key = decodeURIComponent(keys.shift())
const next = keys[0]
if (next === '') { // key is an array
pojo[key] = pojo[key] || []
p... | ga-wdi-boston/css_layout_with_bootstrap | lib/add-nested-value.js | JavaScript | mit | 686 |
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2017
* @version 2.0.9
*
* Additional enhancements for Select2 widget extension for Yii 2.0.
*
* Author: Kartik Visweswaran
* For more JQuery plugins visit http://plugins.krajee.com
* For more Yii related demos visit http://demos.krajee.com... | Pgans/yii2a-devices | vendor/kartik-v_dhdc/yii2-widget-select2/assets/js/select2-krajee.js | JavaScript | gpl-3.0 | 5,874 |
// --
// Core.UI.Datepicker.js - Datepicker
// Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
// --
"... | noritnk/otrs | var/httpd/htdocs/js/Core.UI.Datepicker.js | JavaScript | agpl-3.0 | 8,372 |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright © 2020 Massachusetts Institute of Technology. All rights reserved.
/*
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
* Statement of Changes:
* - Changed the source to set the field visibility to match
* the input visibility when appending... | ewpatton/appinventor-sources | appinventor/blocklyeditor/src/input.js | JavaScript | apache-2.0 | 3,027 |
var indexSectionsWithContent = {
"General": {
"Symbols": false,
"Numbers": false,
"A": true,
"B": true,
"C": true,
"D": true,
"E": true,
"F": true,
"G": true,
"H": true,
"I": true,
"J": true,
"K": true,
"L": true,
"M": true,
... | charybdeBE/Cytomine-core | web-app/lib/OpenLayers-2.13.1/doc/apidocs/javascript/searchdata.js | JavaScript | apache-2.0 | 3,701 |
module.exports = {
EDGE_ID_SEPARATOR: '-'
};
| davkal/scope | client/app/scripts/constants/naming.js | JavaScript | apache-2.0 | 48 |
//// [file.tsx]
import React = require('react');
const obj = {};
const obj1 = {
x: 2
}
const obj3 = {
y: true,
overwrite: "hi"
}
interface Prop {
x: number
y: boolean
overwrite: string
}
class OverWriteAttr extends React.Component<Prop, {}> {
render() {
return <div>Hello</div>;
... | basarat/TypeScript | tests/baselines/reference/tsxSpreadAttributesResolution8.js | JavaScript | apache-2.0 | 1,702 |
"use strict";
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
_Object$defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var headingRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresenta... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/aria-query/lib/etc/roles/literal/headingRole.js | JavaScript | apache-2.0 | 1,085 |
var cdb = require('cartodb.js');
var EditFieldModel = require('../../../../../javascripts/cartodb/common/edit_fields/edit_field_model');
var DateFieldView = require('../../../../../javascripts/cartodb/common/edit_fields/date_field/date_field_view');
var moment = require('moment');
describe('common/edit_fields/date_fie... | nyimbi/cartodb | lib/assets/test/spec/cartodb/common/edit_fields/date_field_view.spec.js | JavaScript | bsd-3-clause | 3,477 |
define(["./wrapperToString"], function(wrapperToString) {
return wrapperToString;
});
| tomek-f/garbage | require-js-amd/require-zepto-lodash/static/js/lib/lodash-amd/chain/toString.js | JavaScript | mit | 88 |
import React from 'react'
import Types from './Types'
import States from './States'
import Variations from './Variations'
const MessageExamples = () => (
<div>
<Types />
<States />
<Variations />
</div>
)
export default MessageExamples
| Semantic-Org/Semantic-UI-React | docs/src/examples/collections/Message/index.js | JavaScript | mit | 255 |
// flow-typed signature: fbda940229f112d2b99768e331ad3724
// flow-typed version: <<STUB>>/devtron_v^1.4.0/flow_v0.37.4
/**
* This is an autogenerated libdef stub for:
*
* 'devtron'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* co... | EmmaLa/GifScrapper | flow-typed/npm/devtron_vx.x.x.js | JavaScript | mit | 1,181 |
/*!
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a... | extend1994/cdnjs | ajax/libs/bootstrap-select/1.13.0/js/i18n/defaults-eu.min.js | JavaScript | mit | 823 |
"use strict";
exports.__esModule = true;
exports.default = void 0;
var _ExecutionEnvironment = require("fbjs/lib/ExecutionEnvironment");
var _invariant = _interopRequireDefault(require("fbjs/lib/invariant"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Cop... | cdnjs/cdnjs | ajax/libs/react-native-web/0.17.7/cjs/exports/Dimensions/index.js | JavaScript | mit | 2,882 |
'use strict';
import Flux from 'flux';
export default new Flux.Dispatcher();
| mitchbox/react-seed | app/dispatcher/app-dispatcher.js | JavaScript | mit | 79 |
/*!
* Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need a copy of ... | SteveSchafer-Innovent/innovent-pentaho-birt-plugin | js-lib/expanded/cdf/js/addIns/colTypes/clippedText/clippedText.js | JavaScript | epl-1.0 | 1,769 |
//
// Demonstrate shiftOut with a 7 segment display
//
// read in the BoneScript library
var b = require('bonescript');
// define used pins
var sData = "P9_18";
var sClock = "P9_22";
var sLatch = "P9_17";
var sClear = "P9_15";
// define other global variables
var digit = 0;
var segments = [ 0xC0, 0xF9, 0xA4, 0xB0, ... | maaydogmus/bone101 | examples/shiftout.js | JavaScript | lgpl-3.0 | 1,243 |
/*
* Copyright 2012 Amadeus s.a.s.
* 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 i... | simonarbuckle/ariatemplates | test/node/npm_start.js | JavaScript | apache-2.0 | 4,164 |
/**
* Coder for Raspberry Pi
* A simple platform for experimenting with web stuff.
* http://goo.gl/coder
*
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | jmp407/coderJmp | coder-base/static/apps/wifi/js/index.js | JavaScript | apache-2.0 | 7,807 |
define(
({
commonCore: {
common: {
add: "Ekle",
edit: "Düzenle",
save: "Kaydet",
next: "Sonraki",
cancel: "İptal",
back: "Geri",
apply: "Uygula",
close: "Kapat",
open: "Aç",
start: "Başlangıç",
loading: "Yükleniyor",
disabledAdmin: "Bu özellik Yönetici tarafından ... | kcigeospatial/SHA-MAP21_Strategies | src/app/storymaps/common/_resources/nls/tr/core.js | JavaScript | apache-2.0 | 5,248 |
describe("chorus.views.TableauWorkfileContent", function() {
beforeEach(function() {
this.model = backboneFixtures.workfile.tableau();
this.view = new chorus.views.TableauWorkfileContent({ model : this.model });
});
});
| kevin-alpine/chorus-models-upgrade | spec/javascripts/views/workfiles/tableau_workfile_content_view_spec.js | JavaScript | apache-2.0 | 244 |
'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (String.prototype.matchAll) {
try {
''.matchAll(RegExp.prototype);
} catch (e) {
return String.prototype.matchAll;
}
}
return implementation;
};
| BigBoss424/portfolio | v8/development/node_modules/string.prototype.matchall/polyfill.js | JavaScript | apache-2.0 | 271 |
var step = '<font class="fontSize">'
+'<p>Test Purpose: </p>'
+'<p>Verifies the csp-self of CSP worked well.</p>'
+'<p>Expected Result: </p>'
+'<p>Test passes if a "Pass" displayed.</p>'
+'</font>';
| haoxli/web-testing-service | wts/tests/usecase/steps/CSP/res/csp-self/step.js | JavaScript | bsd-3-clause | 257 |
var HeaderViewModel = require('../../../../javascripts/cartodb/dashboard/header_view_model');
var Router = require('../../../../javascripts/cartodb/dashboard/router');
var cdb = require('cartodb.js');
var sharedTests = require('../common/views/dashboard_header/shared_for_view_model');
describe('dashboard/header_view_m... | future-analytics/cartodb | lib/assets/test/spec/cartodb/dashboard/header_view_model.spec.js | JavaScript | bsd-3-clause | 3,001 |
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'chrome://resources/js/jstemplate_compiled.js';
import {addSingletonGetter, addWebUIListener} from 'chrome://resources/js/cr.m.js';
import {ge... | chromium/chromium | components/sync/driver/resources/traffic_log.js | JavaScript | bsd-3-clause | 2,796 |
var App = {};
App.Task = Backbone.Model.extend({
idAttribute: "_id",
});
App.Tasks = Backbone.Collection.extend({
model: App.Task,
url: '/api/tasks'
});
App.TasksView = Backbone.View.extend({
el: $("#tasks"),
initialize: function() {
this.task_form = _.template($('#task_form').html());
this.tasks_... | chandleryou/nodeUbuntu | learning/nodejsbook.io.examples/hour24/example02/public/javascripts/application.js | JavaScript | mit | 724 |
import Actions, { reducer, INITIAL_STATE } from '../../App/Redux/GithubRedux'
test('request', () => {
const username = 'taco'
const state = reducer(INITIAL_STATE, Actions.userRequest(username))
expect(state.fetching).toBe(true)
expect(state.username).toBe(username)
expect(state.avatar).toBeNull()
})
test('... | nonameolsson/ignite-ir-boilerplate | boilerplate/Tests/Redux/GithubReduxTest.js | JavaScript | mit | 761 |
/*! Raven.js 3.23.1 (84edddc) | github.com/getsentry/raven-js */
/*
* Includes TraceKit
* https://github.com/getsentry/TraceKit
*
* Copyright 2018 Matt Robenolt and other contributors
* Released under the BSD license
* https://github.com/getsentry/raven-js/blob/master/LICENSE
*
*/
(function(f){if(typeof expor... | joeyparrish/cdnjs | ajax/libs/raven.js/3.23.1/plugins/vue.js | JavaScript | mit | 2,374 |
require('../../example/src/features/block-scope')();
| kkoehler/es6ify | test/bundle/run-block-scope.js | JavaScript | mit | 53 |
<%= importStatements %>
export default Model.extend({
<%= attrs %>
});
| gabz75/ember-cli-deploy-redis-publish | node_modules/ember-cli-legacy-blueprints/blueprints/model/files/__root__/__path__/__name__.js | JavaScript | mit | 74 |
/**
* jQuery Galleriffic plugin
*
* Copyright (c) 2008 Trent Foley (http://trentacular.com)
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
* Much thanks to primary contributer Ponticlaro (http://www.ponticlaro.com)
*/
;(function($) {
// Globally keep track of all ima... | namwoody/SAAZINDIAN.COM | wp-content/plugins/photospace/jquery.galleriffic.js | JavaScript | gpl-2.0 | 32,755 |
/* Copyright (c) Business Objects 2006. All rights reserved. */
var L_bobj_crv_MainReport = "Hlavn\u00ED sestava";
// Viewer Toolbar tooltips
var L_bobj_crv_FirstPage = "P\u0159echod na prvn\u00ED str\u00E1nku";
var L_bobj_crv_PrevPage = "P\u0159echod na p\u0159edchoz\u00ED str\u00E1nku";
var L_bobj_crv_NextPage = "P\... | johndavedecano/tanghalangpasigenyo | aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/strings_cs.js | JavaScript | gpl-3.0 | 9,044 |
require('./marker/MarkAreaModel');
require('./marker/MarkAreaView');
require('../echarts').registerPreprocessor(function (opt) {
// Make sure markArea component is enabled
opt.markArea = opt.markArea || {};
});
| mo-norant/FinHeartBel | website/node_modules/echarts/lib/component/markArea.js | JavaScript | gpl-3.0 | 246 |
/*!
* 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(['jquery.sap.global','sap/ui/core/Control','./library'],function(q,C,l){"use strict";var F=C.extend("sap.ui.ux3.FacetFil... | and1985129/digitalofficemobile | www/lib/ui5/sap/ui/ux3/FacetFilter.js | JavaScript | apache-2.0 | 689 |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | kotarondo/PersHA.js | test/node/test/simple/test-event-emitter-check-listener-leaks.js | JavaScript | bsd-3-clause | 3,078 |
import tagTester from './_tagTester.js';
import { isIE11 } from './_stringTagBug.js';
import { ie11fingerprint, mapMethods } from './_methodFingerprint.js';
export default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');
| ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/underscore/modules/isMap.js | JavaScript | mit | 231 |
import React from "react";
let Home = () => <div>You are home</div>;
export default Home;
| pshrmn/curi | examples/react/transitions/src/components/Home.js | JavaScript | mit | 92 |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... | cdnjs/cdnjs | ajax/libs/blockly/7.20211209.4/msg/ta.js | JavaScript | mit | 49,237 |
var getType = function (path) {
var index = path.lastIndexOf('.');
var ext = index < path.length ? path.substring(index + 1) : '';
switch (ext) {
case 'js':
return 'application/javascript';
case 'css':
return 'text/css';
case 'html':
return 'text/h... | tmkasun/product-cep | modules/distribution/repository/conf/ues/jaggeryapps/store/modules/mime.js | JavaScript | apache-2.0 | 595 |
/**
* @license Angular 2.0.0-rc.3
* (c) 2010-2016 Google, Inc. https://angular.io/
* License: MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : ... | evandor/skysail-webconsole | webconsole.client/client/dist/lib/@angular/common/bundles/common.umd.js | JavaScript | apache-2.0 | 195,776 |
/*
* jPlayerVideo Plugin for jQuery JavaScript Library
* http://www.jplayer.org
*
* Copyright (c) 2009 - 2014 Happyworm Ltd
* Licensed under the MIT license.
* http://opensource.org/licenses/MIT
*
* Author: Mark J Panaghiston
* Version: 2.9.2
* Date: 14th December 2014
*/
/* Support for Zepto 1.0 compiled w... | RanjithkumarAnkam/BC | web/themes/clean-ui/vendors/cleanhtmlvideoplayer/src/jquery.cleanvideoplayer.js | JavaScript | bsd-3-clause | 162,608 |
"use strict";
var _Object$keys = require("babel-runtime/core-js/object/keys")["default"];
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtim... | bohanapp/PropertyFinder | node_modules/babel-types/lib/index.js | JavaScript | mit | 13,529 |
var a = {
name() {
return "Suyash";
}
};
var b = {
name() {
return super.name() + " Verma";
}
};
Object.setPrototypeOf(b, a);
expect(b.name()).toBe("Suyash Verma");
| hulkish/babel | packages/babel-plugin-transform-object-super/test/fixtures/object-super/simple.js | JavaScript | mit | 184 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | lacanoid/nodes | static/lib/ace/theme-chrome.js | JavaScript | gpl-2.0 | 5,308 |
/* -*- 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/. */
gTestfile = 'lexical-010.js';
/**... | sam/htmlunit-rhino-fork | testsrc/tests/ecma_2/Exceptions/lexical-010.js | JavaScript | mpl-2.0 | 1,335 |
/* -*- 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/. */
gTestfile = 'regress-6359.js';
/*... | lv7777/egit_test | testsrc/tests/js1_2/regexp/regress-6359.js | JavaScript | mpl-2.0 | 1,921 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var gTestfile = 'regress-446026-01... | sam/htmlunit-rhino-fork | testsrc/tests/js1_5/Scope/regress-446026-01.js | JavaScript | mpl-2.0 | 1,159 |
var validate = require("..")
var test = require("tap").test
var path = require("path")
var fs = require("fs")
test("validate-npm-package-name", function (t) {
// Traditional
t.deepEqual(validate("some-package"), {validForNewPackages: true, validForOldPackages: true})
t.deepEqual(validate("example.com"), {valid... | vpistis/openshift-etherpad-lite | src/node_modules/npm/node_modules/init-package-json/node_modules/validate-npm-package-name/test/index.js | JavaScript | apache-2.0 | 3,351 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
/**
* @fileoverview Container that decorates its children.
*/
base.require('base.events');
base.require('ui');
base.exportTo('ui', f... | android-ia/platform_external_chromium-trace | trace-viewer/src/ui/container_that_decorates_its_children.js | JavaScript | bsd-3-clause | 2,855 |
xs = 'c.js'
| chrisdickinson/beefy | test/fixtures/multi-bundle/c.js | JavaScript | mit | 12 |
module.exports={A:{A:{"2":"H E G B A WB","16":"C"},B:{"2":"D u g I J"},C:{"2":"0 1 2 3 4 5 6 UB x H E G C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r s t y K SB RB","16":"F L"},D:{"2":"0 1 2 3 4 5 6 F L H E G C B u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r s... | mytkdals93/golfpass | public/framework/node_modules/caniuse-lite/data/features/testfeat.js | JavaScript | mit | 809 |
ace.define("ace/mode/applescript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var AppleScriptHighlightRul... | scharwerk/scharwerk | vendor/assets/bower_components/ace-builds/src-noconflict/mode-applescript.js | JavaScript | mit | 9,577 |
jtbc.console.manage = {
obj: null,
parent: jtbc.console,
param: [],
ready: function()
{
var tthis = this;
tthis.parent.lib.initMainCommon(tthis);
}
}.ready(); | jetiben/jtbc | php/v3.0(C)/universal/upload/common/assets/js/jtbc.console.manage.js | JavaScript | mit | 178 |
initSidebarItems({"struct":[["Range","Sample values uniformly between two bounds."]],"trait":[["SampleRange","The helper trait for types that have a sensible way to sample uniformly between two values. This should not be used directly, and is only to facilitate `Range`."]]}); | ssgrn/Rust-Matrix-Computations | target/doc/rand/distributions/range/sidebar-items.js | JavaScript | mit | 276 |
var five = require("../lib/johnny-five.js");
function Bug( servos ) {
var part, k;
this.isMoving = false;
// Initialize list of body parts
this.parts = [ "front", "left", "right", "rear" ];
// Servo positions
this.history = [];
// Interval id table
this.intervals = {
fwd: null,
rev: null
... | rockbot/vektor | sonar-scan/node_modules/johnny-five/eg/bug.js | JavaScript | mit | 3,700 |
$(function() {
$("#datepicker").datepicker();
$('#remove').click(function() {
$('#remove_me').remove()
})
var increment = function(index, oldText) {
return parseInt(oldText || 0) + 1;
}
$('#change_me')
.change(function(event) {
$('#changes').text($(this).val())
})
.bind('input',... | ryansch/poltergeist | spec/support/public/test.js | JavaScript | mit | 1,201 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'pt', {
copy: 'Copiar',
copyError: 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. P... | bachnxhedspi/web_tieng_anh_1 | xcrud/editors/ckeditor/plugins/clipboard/lang/pt.js | JavaScript | mit | 669 |
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file ... | liayn/TYPO3.CMS | typo3/sysext/recordlist/Resources/Public/JavaScript/LinkBrowser.js | JavaScript | gpl-2.0 | 4,103 |
/*
* 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 ... | hbeatty/incubator-trafficcontrol | traffic_portal/app/src/common/modules/form/origin/edit/FormEditOriginController.js | JavaScript | apache-2.0 | 2,857 |
/* Copyright 2014 Mozilla 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 required by applicable law or agreed... | nirdoshyadav/pdf.js | src/core/ps_parser.js | JavaScript | apache-2.0 | 7,555 |
/*globals describe, it, before, beforeEach, afterEach */
/*jshint expr:true*/
var testUtils = require('../../utils'),
should = require('should'),
// Stuff we are testing
PermissionModel = require('../../../server/models').Permission,
context = testUtils.context.admin;
describe('... | mshanemc/shane-blog-testing | core/test/integration/model/model_permissions_spec.js | JavaScript | mit | 6,116 |
var class_mix_e_r_p_1_1_net_1_1_api_1_1_core_1_1_fiscal_year_selector_view_controller =
[
[ "FiscalYearSelectorViewController", "class_mix_e_r_p_1_1_net_1_1_api_1_1_core_1_1_fiscal_year_selector_view_controller.html#a900fb78eeba304ad666983a4b911e1ed", null ],
[ "Count", "class_mix_e_r_p_1_1_net_1_1_api_1_1_core... | gjms2000/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_api_1_1_core_1_1_fiscal_year_selector_view_controller.js | JavaScript | gpl-2.0 | 2,088 |
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_sales_tax_id_by_sales_tax_code_procedure =
[
[ "GetSalesTaxIdBySalesTaxCodeProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_sales_tax_id_by_sales_tax_code_procedure.html#a9c99efc308cd6912705d7c45b62d654d", null ],
[ "Get... | mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_sales_tax_id_by_sales_tax_code_procedure.js | JavaScript | gpl-3.0 | 1,717 |
version https://git-lfs.github.com/spec/v1
oid sha256:dd7b0b90ceb9e536dc97a1f4f703305d5a9ac696677c296ecfad499934dd848b
size 701
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/datasource-xmlschema/datasource-xmlschema-min.js | JavaScript | mit | 128 |
version https://git-lfs.github.com/spec/v1
oid sha256:e011306e9245f38c33ee39c6bc45f37fa2cc629b99afca02438ffc07eeeb1d06
size 236
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/yql-nodejs/yql-nodejs-min.js | JavaScript | mit | 128 |
/*!
SlickNav Responsive Mobile Menu
(c) 2014 Josh Cope
licensed under MIT
*/
;(function ($, document, window) {
var
// default settings object.
defaults = {
label: 'MENU',
duplicate: true,
duration: 200,
easingOpen: 'swing',
easingClose: 'swing',
closedSymbol: '►',
openedSymbol: '▼',
p... | piresashwin/wordpress-custom-theme | wp-content/timber_HTML/timber_HTML/HTML/js/jquery.slicknav.js | JavaScript | gpl-2.0 | 11,178 |
Proj4js.defs["EPSG:26837"] = "+proj=tmerc +lat_0=42.83333333333334 +lon_0=-70.16666666666667 +k=0.999966667 +x_0=900000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"; | landryb/georchestra | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG26837.js | JavaScript | gpl-3.0 | 182 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* VariableDeclaration within "try-catch" statement is allowed
*
* @path ch12/12.2/S12.2_A6_T2.js
* @description Declaring variables within "try-catch" statement
*/
/////////////... | popravich/typescript | tests/Fidelity/test262/suite/ch12/12.2/S12.2_A6_T2.js | JavaScript | apache-2.0 | 956 |
tinyMCEPopup.requireLangPack();
function init() {
tinyMCEPopup.resizeToInnerSize();
document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bg... | Geta/SEO.Sitemaps | samples/Quicksilver/EPiServer.Reference.Commerce.Manager/Apps/Core/Controls/Editors/TinyMCE/tinymce/plugins/table/js/row.js | JavaScript | apache-2.0 | 7,513 |
(function() {
'use strict';
/**
* (en)jvmMemoryChartDirective
* @ko jvmMemoryChartDirective
* @group Directive
* @name jvmMemoryChartDirective
* @class
*/
angular.module('pinpointApp').directive('jvmMemoryChartDirective', ['$timeout',
function ($timeout) {
return {
t... | krishnakanthpps/pinpoint | web/src/main/webapp/features/jvmMemoryChart/jvm-memory-chart.directive.js | JavaScript | apache-2.0 | 8,807 |
/*!
* OOjs UI v0.23.5
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2017 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2017-10-12T21:25:50Z
*/
( function ( OO ) {
'use strict';
/**
* Namespace for all classes, static methods and s... | tholu/cdnjs | ajax/libs/oojs-ui/0.23.5/oojs-ui.js | JavaScript | mit | 736,058 |
/*
* Copyright (C) 2010 Google 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 conditio... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/Source/WebCore/inspector/front-end/NetworkItemView.js | JavaScript | gpl-3.0 | 4,060 |
//// [higherOrderMappedIndexLookupInference.ts]
// @strict
function f1(a: <T>() => keyof T, b: <U>() => keyof U) {
a = b;
b = a;
}
function f2(a: <T, K extends keyof T>() => T[K], b: <U, L extends keyof U>() => U[L]) {
a = b;
b = a;
}
function f3(a: <T>() => { [K in keyof T]: T[K] }, b: <U>() => { [... | weswigham/TypeScript | tests/baselines/reference/higherOrderMappedIndexLookupInference.js | JavaScript | apache-2.0 | 773 |
$(function() {
$('.open-download').click(function(event) {
event.preventDefault();
$('.download, .close-download').show();
$('.open-download').hide();
});
$('.close-download').click(function(event) {
event.preventDefault();
$('.download, .close-download').hide();
... | chirilo/airmozilla | airmozilla/main/static/main/js/download.js | JavaScript | bsd-3-clause | 366 |
/**
* Disallows space before `()` or `{}` in anonymous function expressions.
*
* Type: `Object`
*
* Values: `"beforeOpeningRoundBrace"` and `"beforeOpeningCurlyBrace"` as child properties.
* Child properties must be set to `true`.
*
* #### Example
*
* ```js
* "disallowSpacesInAnonymousFunctionExpression": {
... | maocubillos/pnt2015 | src/bower_components/bootstrap/node_modules/grunt-jscs/node_modules/jscs/lib/rules/disallow-spaces-in-anonymous-function-expression.js | JavaScript | mit | 3,550 |
'use strict';
var fs = require('fs');
var path = require('path');
var Writer = require('broccoli-caching-writer');
function ConfigLoader (inputTree, options) {
if (!(this instanceof ConfigLoader)) {
return new ConfigLoader(inputTree, options);
}
Writer.apply(this, arguments);
this.options = option... | zanemayo/ember-cli | lib/broccoli/broccoli-config-loader.js | JavaScript | mit | 1,350 |
FullCalendar.globalLocales.push(function () {
'use strict';
var frCa = {
code: 'fr',
buttonText: {
prev: 'Précédent',
next: 'Suivant',
today: "Aujourd'hui",
year: 'Année',
month: 'Mois',
week: 'Semaine',
day: 'Jour',
list: 'Mon planning',
},
weekText:... | unaio/una | upgrade/files/11.0.4-12.0.0.B1/files/plugins_public/fullcalendar/locale/fr-ca.js | JavaScript | mit | 477 |
// Copyright 2017 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.
// This benchmark is based on the six-speed benchmark build output.
// Copyright 2014 Kevin Decker <https://github.com/kpdecker/six-speed/>
new Benchma... | weolar/miniblink49 | v8_7_5/test/js-perf-test/SixSpeed/super_spread/babel.js | JavaScript | apache-2.0 | 1,961 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var immutable_1 = require("immutable");
function addToFilesOption(incoming) {
if (!incoming.get("watch")) {
return incoming;
}
var serverPaths = [];
var fromServeStatic = incoming
.get("serveStatic", immutable_1... | ConnorFieldUser/ConnorFieldUser.github.io | node_modules/browser-sync/dist/cli/transforms/addToFilesOption.js | JavaScript | apache-2.0 | 1,693 |
export class Foo {
};
export class Bar extends Foo {
constructor() {
super();
}
};
export var test = new Bar();
| bjlxj2008/traceur-compiler | test/instantiate/inheritance.js | JavaScript | apache-2.0 | 122 |
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aXRlbWdyb3VwLmpzIiwic291cmNlUm9vdCI6Im5nOi8vcHJpbWVuZy9hcGkvIiwic291cmNlcyI6WyJzZWxlY3RpdGVtZ3JvdXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNlbGVjdEl0ZW0gfSBmcm9tICcuL3NlbGVjdGl0ZW0nO1xuXG5leHBvcn... | cdnjs/cdnjs | ajax/libs/primeng/9.1.3/esm2015/api/selectitemgroup.js | JavaScript | mit | 454 |
/*
This file is part of Ext JS 4
Copyright (c) 2011 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 the p... | BiellconDigital/wiltons-backend | web/m_admin/js/vendors/ux/ajax/SimXhr.js | JavaScript | gpl-2.0 | 2,946 |
var registerStepDefinition = function(regexp, bodyFunc) {
var argumentsFromFunc = function(stepName) {
var match = regexp.exec(stepName);
if (match) {
var arguments = new Packages.java.util.ArrayList();
var s = match[0];
for (var i = 1; i < match.length; i++) {
... | demos74dx/cucumber-jvm | rhino/src/main/resources/cucumber/runtime/rhino/dsl.js | JavaScript | mit | 1,563 |
!function(t){t.fn.datepicker.dates.et={days:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev","Pühapäev"],daysShort:["Püh","Esm","Tei","Kol","Nel","Ree","Lau","Sun"],daysMin:["P","E","T","K","N","R","L","P"],months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","Septem... | silasakk/kpcomic | themes/admin/assets/plugins/bundle/documentation/assets/plugins/bootstrap-datepicker/js/locales/bootstrap-datepicker.et.min.js | JavaScript | mit | 492 |
if (!global.traceur)
require('traceur');
module.exports = {
Loader: require('./loader'),
System: require('./system')
};
| sid0818/traceur-compiler | third_party/es6-module-loader/index.js | JavaScript | apache-2.0 | 126 |
//// [tests/cases/compiler/declFileMethods.ts] ////
//// [declFileMethods_0.ts]
export class c1 {
/** This comment should appear for foo*/
public foo() {
}
/** This is comment for function signature*/
public fooWithParameters(/** this is comment about a*/a: string,
/** this is comment f... | plantain-00/TypeScript | tests/baselines/reference/declFileMethods.js | JavaScript | apache-2.0 | 15,463 |
/*!
* Ext JS Library 3.0.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.data.GroupingStore
* @extends Ext.data.Store
* A specialized store implementation that provides for grouping records by one of the available fields. This
* is usually use... | sguazt/dcsj-sharegrid-portal | web/resources/scripts/ext/src/data/GroupingStore.js | JavaScript | gpl-3.0 | 4,875 |
'use strict';
module.exports = readdirAsync;
const maybe = require('call-me-maybe');
const DirectoryReader = require('../directory-reader');
let asyncFacade = {
fs: require('fs'),
forEach: require('./for-each'),
async: true
};
/**
* Returns the buffered output from an asynchronous {@link DirectoryReader},
*... | BigBoss424/portfolio | v8/development/node_modules/@mrmlnc/readdir-enhanced/lib/async/index.js | JavaScript | apache-2.0 | 1,107 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
*
* @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js
* @description Type(Primitive(x)) is different from Type(Primitive(y)) a... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js | JavaScript | bsd-3-clause | 758 |
if (window.testRunner)
testRunner.dumpAsText();
document.getElementById("result1").innerHTML += ("Я" == "\u042F") ? "PASS" : "FAIL";
| crosswalk-project/blink-crosswalk-efl | LayoutTests/fast/encoding/external-script-charset.js | JavaScript | bsd-3-clause | 139 |
/*! tablesorter (FORK) - updated 05-26-2017 (v2.28.12)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === '... | holtkamp/cdnjs | ajax/libs/jquery.tablesorter/2.28.12/js/jquery.tablesorter.combined.js | JavaScript | mit | 228,038 |
/*
* FooTable v3 - FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome.
* @version 3.1.6
* @link http://fooplugins.com
* @copyright Steven Usher & Brad Vincent 2015
* @license Released under the GPLv3 license.
*/
(function($, F){
F.Editing = F.Component.extend(/** @lends FooTable... | joeyparrish/cdnjs | ajax/libs/jquery-footable/3.1.6/footable.editing.js | JavaScript | mit | 30,399 |
'use strict';
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.writable = true; Object.definePrope... | seogi1004/cdnjs | ajax/libs/slim.js/2.9.1/Slim.js | JavaScript | mit | 57,744 |
/**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | railscook/etherpad | etherpad/src/etherpad/control/scriptcontrol.js | JavaScript | apache-2.0 | 1,910 |
/*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('io-queue', function(Y) {
/**
Extends IO to implement Queue for synchronous
transaction processing.
@module io
@submodule io-queue
@for IO
**/
var io = Y.io._map['io:0'] || ... | sergiomt/zesped | src/webapp/js/yui/io-queue/io-queue-debug.js | JavaScript | agpl-3.0 | 3,547 |
/*! DataTables styling wrapper for FixedColumns
* ©2018 SpryMedia Ltd - datatables.net/license
*/
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net-dt', 'datatables.net-fixedcolumns'], function ( $ ) {
return factory( $, window, document );
... | brucevsked/vskeddemolist | vskeddemos/mavenproject/springboot2list/springboot2d3/src/main/resources/static/static/js/plugins/dataTables/FixedColumns-3.2.5/js/fixedColumns.dataTables.js | JavaScript | mit | 854 |
// 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... | appalachianstate/moodle | report/competency/amd/src/grading_popup.js | JavaScript | gpl-3.0 | 5,237 |