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 |
|---|---|---|---|---|---|
'use strict';
angular.module( 'QualityABTracker.services', [] )
.factory( 'trackerDataService', function( $http ) {
var api = {};
return api;
}) | MattWilliamsDev/at-bat | app/services.js | JavaScript | mit | 149 |
const { WebContentsView, app } = require('electron');
app.whenReady().then(function () {
new WebContentsView({}) // eslint-disable-line
app.quit();
});
| electron/electron | spec-main/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js | JavaScript | mit | 158 |
/**
* @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
*/
const resolve = require('rollup-plugin-node-resolve');
const sourcemaps = require('rollup-plugin-sourcemaps');
cons... | gjungb/angular | packages/service-worker/rollup.config.js | JavaScript | mit | 1,523 |
'use strict';
const sysPath = require('./path');
const fs = require('fs');
const anymatch = require('anymatch');
const promisify = require('micro-promisify');
const modules = require('./modules');
const xBrowserResolve = require('./resolve');
const loadGlobalsAndStyles = require('./load-globs-styles');
const explore =... | audreyalary/Hackathon_28-Nov-16 | node_modules/deppack/lib/deppack.js | JavaScript | mit | 4,996 |
var gremlin = require('../src');
var client = gremlin.createClient();
var script = 'g.V().range(1, 2)';
// Callback style
client.execute(script, function(err, res) {
console.log(err, res);
});
// Stream style
var s = client.stream(script);
s.on('data', function(result) {
console.log(result);
});
s.on('end', ... | jbmusso/gremlin-client | gremlin-client/examples/node-example.js | JavaScript | mit | 426 |
describe('mdListItem directive', function() {
var attachedElements = [];
var $compile, $rootScope;
beforeEach(module('material.components.list', 'material.components.checkbox', 'material.components.switch'));
beforeEach(inject(function(_$compile_, _$rootScope_) {
$compile = _$compile_;
$rootScope = _$r... | gkalpak/material | src/components/list/list.spec.js | JavaScript | mit | 18,401 |
module.exports = function(grunt) {
return grunt.file.readJSON('package.json');
};
| rfink/verdict.js | grunt/conf/pkg.js | JavaScript | mit | 85 |
//>>built
(function(b,a){"object"===typeof exports&&"undefined"!==typeof module&&"function"===typeof require?a(require("../moment")):"function"===typeof define&&define.amd?define("moment/locale/dv",["../moment"],a):a(b.moment)})(this,function(b){var a="\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9 \u078a\u07ac\u0784... | darklilium/Factigis_2 | arcgis_js_api/library/3.17/3.17compact/moment/locale/dv.js | JavaScript | mit | 2,818 |
// example - valid: true
app.controller('MyController', MyController);
function MyController($http,
$q) {
}
// example - valid: true
app.controller('MyController', function($http,
$q) {
});
// example - valid: true
app.controller('MyController', [
... | shardulgo/shardulgo.github.io | site/node_modules/eslint-plugin-angular/examples/one-dependency-per-line.js | JavaScript | mit | 1,860 |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { chainPropTypes, integerPropType, deepmerge } from '@material-ui/util... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.31/legacy/Paper/Paper.js | JavaScript | mit | 6,124 |
// FI lang variables by Tuomo Aura, Ateco.fi
tinyMCE.addToLang('',{
print_desc : 'Tulosta'
});
| pzingg/saugus_elgg | _tinymce/jscripts/tiny_mce/plugins/print/langs/fi.js | JavaScript | gpl-2.0 | 101 |
//>>built
define("dojox/widget/nls/kk/ColorPicker",({redLabel:"r",greenLabel:"д",blueLabel:"ә",hueLabel:"е",saturationLabel:"ң",valueLabel:"п",degLabel:"°",hexLabel:"алтылық",huePickerTitle:"Реңкті іріктеу",saturationPickerTitle:"Қанықтықты іріктеу"}));
| hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/widget/nls/kk/ColorPicker.js | JavaScript | gpl-2.0 | 299 |
( function ( $ ) {
$.kieli = {
loaded: false,
setup: function() {
$.kieli.addMenuLabel();
},
set: function( val ) {
var recent = $.cookie( 'kieli-recent' ) || [];
if ( typeof recent === "string" ) {
recent = recent.split( "," );
}
recent.unshift( val );
recent = recent.slice( 0, 5 );... | SuriyaaKudoIsc/wikia-app-test | extensions/Kieli/ext.kieli.js | JavaScript | gpl-2.0 | 4,621 |
http://jsfiddle.net/fusioncharts/PagLf/ | sguha-work/fiddletest | backup/fiddles/Gauge/Real-time_Gauges/Updating_multiple_pointers_using_named_ID_in_real-time_linear_gauge/url.js | JavaScript | gpl-2.0 | 39 |
import api, { orgId as getOrgId } from '../../services/api';
import {
ORGANIZATION_PRODUCTS_REQUEST,
ORGANIZATION_PRODUCTS_SUCCESS,
ORGANIZATION_PRODUCTS_FAILURE,
} from './OrganizationProductsConstants';
import { apiError } from '../../move_to_foreman/common/helpers';
export const loadOrganizationProducts = (p... | cfouant/katello | webpack/redux/OrganizationProducts/OrganizationProductsActions.js | JavaScript | gpl-2.0 | 764 |
import { Map } from "immutable";
import {
DASHBOARD_QUERY,
DASHBOARD_QUERY_ERROR,
DASHBOARD_QUERY_REQUEST
} from "../actions/dashboard";
const initialState = Map({
loading: false,
error: null,
results: {
drafts: { data: [], more: null },
published: { data: [], more: null },
user_published: { d... | cernanalysispreservation/analysis-preservation.cern.ch | ui/cap-react/src/reducers/dashboard.js | JavaScript | gpl-2.0 | 899 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'el', {
button: 'Πρότυπα',
emptyListMsg: '(Δεν έχουν καθοριστεί πρότυπα)',
insertOption: 'Αντικατάσταση υπάρχοντων περιεχομένων',
opti... | marteenzh/d1 | libraries/templates/lang/el.js | JavaScript | gpl-2.0 | 604 |
define([], function () {
'use strict';
function listenerSession(resolve, timeoutMs) {
var listenerSocket = null;
var serviceName = "7359";
var servers = [];
var timeout;
var stringToSend = "who is EmbyServer?|emby";
function closeListenerSocket() {
... | solabc16/Emby | MediaBrowser.WebDashboard/dashboard-ui/bower_components/emby-apiclient/serverdiscovery-winjs.js | JavaScript | gpl-2.0 | 4,469 |
var status = 0;
var entry;
function start() {
if(cm.getPlayer().getMapId() == 922000000) {
entry = 0;
cm.sendYesNo("Do you wish to quit this stage?");
status++;
}
else if(cm.isQuestStarted(3239)) {
entry = 1;
cm.sendYesNo("Do you want to enter #bToy Factory<Sector 4>#k?");
status++;
}
else {
cm.send... | lightryuzaki/project1 | scripts/npc/2040003.js | JavaScript | gpl-2.0 | 1,279 |
var searchData=
[
['singlecell_2ecpp',['singlecell.cpp',['../singlecell_8cpp.html',1,'']]]
];
| BlueFern/VSMC-SC | doc/html/search/files_4.js | JavaScript | gpl-2.0 | 96 |
/**
* Ironbane Editor
* Developed by Ironbane Team, 2014
* Written By: Jesse Stojan
* Copyright (C) 2014 Ironbane Team
*
* 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 Foundat... | Soganatsu/IBEditor | scripts/ib-sound.js | JavaScript | gpl-2.0 | 867 |
var clac_snd = "/android_asset/www/sound/clac.wav";
var m_clac;
var melange_snd = "/android_asset/www/sound/melange.wav";
var m_melange;
var yeah_snd = "/android_asset/www/sound/oh_yeah.wav";
var m_yeah;
function soundLoaded() {
console.log('play sound.');
}
function isSoundReady() {
return (sound_loaded == 3);
}
... | darken33/drkslide | sources/www/js/sound.js | JavaScript | gpl-3.0 | 781 |
var Modeler = require("../Modeler.js");
var className = 'ElementCreateSubnet';
var ElementCreateSubnet = function(json, parentObj) {
parentObj = parentObj || this;
// Class property definitions here:
Modeler.extend(className, {
CreateSubnet: {
type: "TypeCreateSubnetType",
wsdlDefinition: {
... | holidayextras/wsdl2.js | example/EC2/Element/CreateSubnet.js | JavaScript | gpl-3.0 | 585 |
/*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
/**
* broadcast object is to help maintain a hash for link clicks and ajax calls
* so we can have back button and refresh button working.
*
* @type {object}
*/
var b... | mneudert/piwik | plugins/CoreHome/javascripts/broadcast.js | JavaScript | gpl-3.0 | 27,135 |
/*
Copyright (C) 2014 PencilBlue, LLC
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, or
(at your option) any later version.
This program is... | bitcot/bitcot | plugins/wp_import/controllers/import.js | JavaScript | gpl-3.0 | 2,256 |
// @flow
/**
* Helper to find if a string contains a pattern (case insensitive).
* Handle the null string case.
*/
export default function strContain(str : ?string, pattern : string) : boolean {
return (!!str) && (str.search(new RegExp(pattern, 'i')) !== -1)
}
| MichaelMure/TotallyNotArbore | app/utils/strContain.js | JavaScript | gpl-3.0 | 267 |
// 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... | michael-milette/moodle | reportbuilder/amd/src/editor.js | JavaScript | gpl-3.0 | 3,179 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'notification', 'zh-cn', {
closed: '通知已关闭。'
} );
| KOHEGYCb/CapitalGroup | admin/template/js/ckeditor/plugins/notification/lang/zh-cn.js | JavaScript | gpl-3.0 | 234 |
// Variablendeklaration
var aktuellerhinweistext = 1;
// Funktion, um die Uhr zum Laufen zu bekommen - Zeigt lokale Systemzeit des Client an!
function time() {
var now = new Date();
hours = now.getHours();
minutes = now.getMinutes();
seconds = now.getSeconds();
dayinweek = now.getDay();
day = now.getDate(... | windele/alarmdisplay-ffw | js/alarmdisplay.js | JavaScript | gpl-3.0 | 3,500 |
/**
* Created by PRadostev on 20.02.2015.
*/
L.WFST.include({
gmlFeature: function (layer) {
var featureNode = L.XmlUtil.createElementNS(this.options.typeNSName, {}, {uri: this.options.namespaceUri});
var feature = layer.feature;
for (var propertyName in feature.properties) {
featureNode.appendCh... | fcfahl/WebGIS_Bio | libs/plugins/Leaflet-WFST-master/src/WFST.Helpers.js | JavaScript | gpl-3.0 | 1,358 |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.10.0 (2021-10-11)
*/
!function(){"use strict";var n=tiny... | arv187/PREM-Podium-race-E-manager | tinymce/js/tinymce/plugins/print/plugin.min.js | JavaScript | gpl-3.0 | 808 |
define('ghost-admin/controllers/team/index', ['exports', 'ember-controller', 'ember-computed', 'ember-service/inject'], function (exports, _emberController, _emberComputed, _emberServiceInject) {
exports['default'] = _emberController['default'].extend({
showInviteUserModal: false,
users: (0, _embe... | Elektro1776/latestEarthables | core/client/tmp/broccoli_persistent_filterbabel-output_path-OKbFKF1N.tmp/ghost-admin/controllers/team/index.js | JavaScript | gpl-3.0 | 974 |
import {
UTSessionPing,
UTUserEventPing,
} from "test/schemas/pings";
import {GlobalOverrider} from "test/unit/utils";
import {UTEventReporting} from "lib/UTEventReporting.jsm";
const FAKE_EVENT_PING_PC = {
"event": "CLICK",
"source": "TOP_SITES",
"addon_version": "123",
"user_prefs": 63,
"session_id": "... | AdamHillier/activity-stream | test/unit/lib/UTEventReporting.test.js | JavaScript | mpl-2.0 | 2,778 |
(function(templates){
$.extend( true, templates, {
"Group-skeleton": [
'<div class="filter-group-container {{className}}">',
'',
'<div class="filter-group-header"/>',
'',
'<div class="filter-group-body">',
'<div class="filter-group-items-container">',
'<div class="filter-... | afrjorge/cdf | core-js/src/main/javascript/cdf-legacy/components/filter/js/TreeFilter/templates.js | JavaScript | mpl-2.0 | 12,627 |
function testLength() {
// Test higher dimension shape up to 8D
var shape = [];
for (var i = 0; i < 8; i++) {
shape.push(i+1);
var p = new ParallelArray(shape, function () { return 0; });
// Length should be outermost dimension
assertEq(p.length, shape[0]);
}
}
if (getBuildConfiguration().paral... | SlateScience/MozillaJS | js/src/jit-test/tests/parallelarray/length-2.js | JavaScript | mpl-2.0 | 343 |
/*!
* 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 ... | carlosrusso/cdf | core-js/src/main/javascript/cdf/components/filter/FilterComponent.js | JavaScript | mpl-2.0 | 16,809 |
/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
//--------------------------------------------------------... | kostaspl/SpiderMonkey38 | js/src/tests/js1_5/Regress/regress-355829-02.js | JavaScript | mpl-2.0 | 1,250 |
/*
* Copyright (C) 2017 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas 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, version 3 of the License.
*
* Canvas is distribut... | venturehive/canvas-lms | spec/javascripts/jsx/tinymce_plugins/instructure_links/youtube_apiSpec.js | JavaScript | agpl-3.0 | 1,626 |
/*! Licensed under MIT, https://github.com/sofish/pen */
// Changed on line 166 so we know when menu is on
(function(doc) {
var Pen, FakePen, utils = {};
// type detect
utils.is = function(obj, type) {
return Object.prototype.toString.call(obj).slice(8, -1) === type;
};
// copy props from a obj
utils... | aptivate/alfie | javascript/src/lib/pen-0.0.1.min.js | JavaScript | agpl-3.0 | 10,972 |
(function () {
'use strict';
var chartMod = angular.module('cloudbrain')
chartMod.value('API_URL', 'http://demo.apiserver.cloudbrain.rocks');
//Data Service
chartMod.factory('dataService',['$http','$interval', 'API_URL', function ($http, $interval, API_URL) {
var powerBandPromise = null;
var DATA_SPEED =... | lambdaloop/cloudbrain | cloudbrain/frontend/chart/chart.service.js | JavaScript | agpl-3.0 | 1,222 |
/**
* Filter type for {@link Ext.grid.column.Number number columns}.
*
* Based on Ext.grid.filters.filter.Number.
*/
Ext.define('NetProfile.grid.filters.filter.IPv4', {
extend: 'NetProfile.grid.filters.filter.TriFilter',
alias: 'grid.filter.ipv4',
uses: ['NetProfile.form.field.IPv4'],
type: 'ipv4',
config: {
... | unikmhz/npui | netprofile_core/netprofile_core/static/webshell/grid/filters/filter/IPv4.js | JavaScript | agpl-3.0 | 2,155 |
/*! jQuery.counter.js (jQuery Character and Word Counter plugin)
v2.2 (c) Wilkins Fernandez
MIT License
*/
(function($) {
$.fn.extend({
counter : function(options) {
var defaults = {
type : 'char', // {char || word}
count : 'down', // count {up || down} from or to the goal number
... | MayOneUS/victorykit | vendor/assets/javascripts/jquery.counter.js | JavaScript | agpl-3.0 | 8,813 |
/* */
"format cjs";
/**
* Sinon.JS 1.12.2, 2015/09/10
*
* @author Christian Johansen (christian@cjohansen.no)
* @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
*
* (The BSD License)
*
* Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no
* All rights reserved.
... | EpitaJS/js-class-2016 | jspm_packages/npm/sinon@1.17.3/pkg/sinon-ie-1.12.2.js | JavaScript | unlicense | 4,055 |
/*
* Copyright 2014-2015 Guy Bedford (http://guybedford.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | watilde/jspm-cli | lib/core.js | JavaScript | apache-2.0 | 13,963 |
// DATA_TEMPLATE: empty_table
oTest.fnStart("oLanguage.sUrl");
/* Note that we only test the internal storage of language information pulled form a file here
* as the other language tests will check it goes into the DOM correctly
*/
$(document).ready(function () {
/* Check the default */
var oTable = $('#ex... | tanvirshuvo/abtec | target/ABTeC/resources/assets/advanced-datatable/media/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js | JavaScript | apache-2.0 | 2,443 |
// Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those
// parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required,
// optional or rest) and types, and identical ... | popravich/typescript | tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js | JavaScript | apache-2.0 | 1,529 |
// Copyright 2017 The Kubernetes Dashboard 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 applicabl... | vlal/dashboard | src/app/frontend/replicaset/list/controller.js | JavaScript | apache-2.0 | 1,111 |
/*
Copyright 2016 The LUCI Authors. All rights reserved.
Use of this source code is governed under the Apache License, Version 2.0
that can be found in the LICENSE file.
*/
'use strict';
// Include Gulp & tools we'll use
var gulp = require('gulp');
var luci = require('../gulp-common.js');
var path = require('pa... | luci/luci-go | web/apps/logdog-app/gulpfile.js | JavaScript | apache-2.0 | 556 |
// Copyright 2017 The Kubernetes Dashboard 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 applicabl... | vlal/dashboard | src/test/frontend/pod/list/cardlist_component_test.js | JavaScript | apache-2.0 | 2,247 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.9-2-d-7
description: Object.freeze - 'O' is a RegExp object
---*/
var regObj = new RegExp();
Object.freeze(regObj);
assert(Object.isFrozen(regObj... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/freeze/15.2.3.9-2-d-7.js | JavaScript | apache-2.0 | 360 |
/**
* Visual Blocks Language
*
* Copyright 2012 Google Inc.
* http://blockly.googlecode.com/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... | jadonk/blockly-bonescript | static/generators/javascript/text.js | JavaScript | apache-2.0 | 10,345 |
//>>built
define(
"dojox/editor/plugins/nls/kk/TableDialog", //begin v1.x content
({
insertTableTitle: "Кесте кірістіру",
modifyTableTitle: "Кестені өзгерту",
rows: "Жолдар:",
columns: "Бағандар:",
align: "Туралау:",
cellPadding: "Ұяшық өрісі:",
cellSpacing: "Ұяшық аралығы:",
tableWidth: "Кесте ені:",
backgrou... | cfxram/grails-dojo | web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/kk/TableDialog.js | JavaScript | apache-2.0 | 1,230 |
"use strict";
// {{ scaffold.name }} service
let stackhut = require('./stackhut');
// create each service as either an ES6 class or an object of functions
class Default extends stackhut.Service {
constructor() {
super();
// empty
}
add(x, y){
let res = x + y;
return Promise... | collingreen/stackhut-toolkit | stackhut_toolkit/res/scaffold/nodejs/app.js | JavaScript | apache-2.0 | 422 |
define(['modules/maps/module'], function (module) {
'use strict';
var _mapsCounter = 0;
module.registerDirective('smartMapInstance', function ($q, uiGmapGoogleMapApi, uiGmapIsReady, SmartMapInstances) {
return {
restrict: 'A',
compile: function (tElement, tAttributes) {
... | Orpheus11/nile | web/app/modules/maps/directives/smartMapInstance.js | JavaScript | apache-2.0 | 1,496 |
(function(b){function h(a){return"object"==typeof a?a:{top:a,left:a}}var l=b.scrollTo=function(a,g,f){b(window).scrollTo(a,g,f)};l.defaults={axis:"xy",duration:1.3<=parseFloat(b.fn.jquery)?0:1};l.window=function(){return b(window)._scrollable()};b.fn._scrollable=function(){return this.map(function(){if(this.nodeName&&-... | miketaylr/frontend | src/html/assets/themes/beisel/javascripts/openphoto-theme-full-min.js | JavaScript | apache-2.0 | 37,106 |
(function($) {
'use strict';
/**
* (en)RealtimeChartCtrl
* @ko RealtimeChartCtrl
* @group Controller
* @name RealtimeChartCtrl
* @class
*/
pinpointApp.constant('RealtimeChartCtrlConfig', {
sendPrefix: "applicationName=",
keys: {
CODE: "code",
TYPE: "type",
RESULT: "result",
STATUS: "stat... | KRDeNaT/pinpoint | web/src/main/webapp/features/realtimeChart/realtime-chart.controller.js | JavaScript | apache-2.0 | 15,129 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.7-5-b-36
description: >
Object.defineProperties - value of 'enumerable' property of
'descObj' is 0 (8.10.5 step 3.b)
---*/
var obj = {};
va... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperties/15.2.3.7-5-b-36.js | JavaScript | apache-2.0 | 636 |
/*
* This class provides access to native mapping applications on the device.
*/
function Map() {
};
/*
* Shows a native map on the device with pins at the given positions.
* @param {Array} positions
*/
Map.prototype.show = function(positions) {
var jsonPos = {};
var pos = null;
if (typeof positions == 'obj... | ohdarling/dodo | webOS/js/map.js | JavaScript | bsd-2-clause | 1,138 |
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ================================================================... | daejunpark/jsaf | tests/clone_detector_tests/sproutcore/frameworks/runtime/tests/core/console.js | JavaScript | bsd-3-clause | 920 |
/**
* @preserve
* jquery.layout 1.3.0 - Release Candidate 30.79
* $Date: 2013-01-12 08:00:00 (Sat, 12 Jan 2013) $
* $Rev: 303007 $
*
* Copyright (c) 2013 Kevin Dalman (http://allpro.net)
* Based on work by Fabrizio Balliano (http://www.fabrizioballiano.net)
*
* Dual licensed under the GPL (http://www.gnu.org/licenses/g... | plz821/entCMS | websites/entCMS.HengyiLogisticsWeb/Manage/Scripts/jquery.layout-130.js | JavaScript | bsd-3-clause | 222,365 |
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// portions copyright @2011 Apple Inc.
// License: Licensed under MIT license (see license.js)
// ================... | darkrsw/safe | tests/clone_detector_tests/sproutcore/frameworks/desktop/tests/views/list_item.js | JavaScript | bsd-3-clause | 11,630 |
var cdb = require('cartodb.js');
var $ = require('jquery');
var _ = require('underscore');
var Utils = require('cdb.Utils');
var navigateThroughRouter = require('../common/view_helpers/navigate_through_router');
var pluralizeString = require('../common/view_helpers/pluralize_string');
var DuplicateMap = require('../com... | nuxcode/cartodb | lib/assets/javascripts/cartodb/dashboard/filters_view.js | JavaScript | bsd-3-clause | 13,301 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... | nickhudkins/react-native | packager/react-packager/src/Server/__tests__/Server-test.js | JavaScript | bsd-3-clause | 17,101 |
/*eslint-env mocha*/
/*global assert,it,describe*/
describe("e2e/07-autoxhr/31-xhr-excludes", function() {
var t = BOOMR_test;
var tf = BOOMR.plugins.TestFramework;
it("Should get 2 beacons: 1 onload, 1 xhr (XMLHttpRequest !== null)", function(done) {
this.timeout(3000);
t.ifAutoXHR(
done,
function() {
... | lognormal/boomerang | tests/page-templates/07-autoxhr/31-xhr-excludes.js | JavaScript | bsd-3-clause | 647 |
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xdropWhile from './internal/_xdropWhile.js';
import slice from './slice.js';
/**
* Returns a new list excluding the leading elements of a given list which
* satisfy the supplied predicate function. It passes... | endlessm/chromium-browser | third_party/devtools-frontend/src/node_modules/ramda/es/dropWhile.js | JavaScript | bsd-3-clause | 1,455 |
config_rs1 = {
_id : "rs1",
members : [ { _id:0, host:"localhost:27010", priority:1 }, { _id:1, host:"localhost:27017" } ]
};
rs.initiate(config_rs1);
| LeeRisk/dhtcrawler2 | tools/db-replset/init-rs.js | JavaScript | mit | 166 |
/* globals App: true */
App = {}
| Sanjo/meteor-jasmine | test-app/server/lib/globals.js | JavaScript | mit | 34 |
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Node module: strong-remoting
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
/**
* Expose the `Meta` plugin.
*/
module.exports = Meta;
/**
* Module dependencies.
*/
var Remo... | tsiry95/openshift-strongloop-cartridge | strongloop/node_modules/strong-remoting/ext/meta.js | JavaScript | mit | 1,063 |
/**
* @fileoverview Tests for no-empty-label rule.
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var eslint = require("../../../lib/eslint"),
... | wbecker/eslint | tests/lib/rules/no-empty-label.js | JavaScript | mit | 1,125 |
/**
* bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).
*
* @version v1.14.1
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
... | joeyparrish/cdnjs | ajax/libs/bootstrap-table/1.14.1/locale/bootstrap-table-af-ZA.min.js | JavaScript | mit | 1,176 |
currnode = null;
currrow = null;
// swaps nodes
jQuery.fn.swap = function(b){
b = jQuery(b)[0];
var a = this[0];
var t = a.parentNode.insertBefore(document.createTextNode(''), a);
b.parentNode.insertBefore(a, b);
t.parentNode.insertBefore(b, t);
t.parentNode.removeChild(t);
return this;
};
// parse get... | Claercio/respond | js/plugins/jquery.respondEdit.js | JavaScript | mit | 70,946 |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
it.todo(() => {});
| facebook/jest | e2e/test-todo/__tests__/todoNonString.test.js | JavaScript | mit | 230 |
/* */
System.register(['aurelia-task-queue', './environment', './array-observation', './map-observation', './event-manager', './dirty-checking', './property-observation', './element-observation', 'aurelia-dependency-injection', './computed-observation'], function (_export) {
var TaskQueue, hasObjectObserve, getArray... | zewa666/aurelia-reporter | jspm_packages/github/aurelia/binding@0.6.1/observer-locator.js | JavaScript | mit | 9,866 |
/*
Equation Editor Plugin for CKEditor v4
Version 2.1
This plugin allows equations to be created and edited from within CKEditor.
For more information goto: http://www.codecogs.com/latex/integration/ckeditor_v4/install.php
Copyright CodeCogs 2006-2013
Written by Will Bateman.
Special Thanks to:
- Kyle Jo... | wweggplant/WXEditor | js/vendor/ckeditor/plugins/eqneditor/dialogs/eqneditor.js | JavaScript | mit | 3,211 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr-ca', {
anchor: 'Ancre',
flash: 'Animation Flash',
hiddenfield: 'Champ caché',
iframe: 'IFrame',
unknown: 'Objet incon... | proxygear/exo_cms | vendor/assets/javascripts/ckeditor/plugins/fakeobjects/lang/fr-ca.js | JavaScript | mit | 333 |
exports.up = (pgm) => {
pgm.renameTable('t2', 't2r')
}
| salsita/node-pg-migrate | test/migrations/006_table_rename.js | JavaScript | mit | 57 |
'use strict';
var gulp = require('gulp');
var paths = gulp.paths;
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
gulp.task('lint', function() {
return gulp.src([
paths.src + '/**/*.js'
])
.pipe(jshint())
.pipe(jshint.reporter(stylish))
.pipe(jshint.reporter('fail'... | OroianRares/stock-prices | gulp/coding-standards.js | JavaScript | mit | 531 |
// since it is a class both letter are capitilized
// player class. Shows the image that the player is, the height and width
//also the shape of it
game.PlayerEntity = me.Entity.extend({
init: function(x, y, settings) {
//leads to set super fuction below
//use these fucntions to orgainize code
this.setSuper(x, y... | JoshuaG12998/Awesomenauts | js/entities/entities.js | JavaScript | mit | 11,618 |
var animalAppControllers = angular.module('HomelessController', []);
animalApp.controller('HomelessController', function($scope) {
}); | OlegSvyryd/animalsRepo | site/js/controllers/HomelessController.js | JavaScript | mit | 135 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'eo', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Priskriba Titolo',
cssClassInputLabel: 'Stilfolioklasoj',
edit: 'Redakti Div'... | proxygear/exo_cms | vendor/assets/javascripts/ckeditor/plugins/div/lang/eo.js | JavaScript | mit | 659 |
import r from 'restructure';
import { LookupTable } from './aat';
let BslnSubtable = new r.VersionedStruct('format', {
0: { // Distance-based, no mapping
deltas: new r.Array(r.int16, 32)
},
1: { // Distance-based, with mapping
deltas: new r.Array(r.int16, 32),
mappingData: new LookupTable(r.uint16)
... | diegomura/react-pdf | packages/fontkit/src/tables/bsln.js | JavaScript | mit | 749 |
var Substance = require('substance');
var Tool = Substance.Surface.Tool;
var _ = require("substance/helpers");
var CiteTool = Tool.extend({
name: "cite",
update: function(surface, sel) {
this.surface = surface; // IMPORTANT!
// Set disabled when not a property selection
if (!surface.isEnabled() || sel... | jure/lens-writer | legacy/cite_tool.js | JavaScript | mit | 2,099 |
/**
* Returns true if targetString ends with substring. Otherwise, returns false.
* @param {string} targetString
* @param {string} substring
* @returns {boolean}
*/
function endsWith(targetString, substring) {
return targetString.endsWith(substring);
}
module.exports = endsWith;
| BlakeGuilloud/ganon | lib/endsWith.js | JavaScript | mit | 289 |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.dtl.html"]){dojo._hasResource["dojox.dtl.html"]=true;dojo.provide("dojox.dtl.html");dojo.depre... | Goldcap/TAHealth | web/js/dojo/dojox/dtl/html.js | JavaScript | mit | 521 |
version https://git-lfs.github.com/spec/v1
oid sha256:c53d0bfa3a80a45737c7e7b26b6d39d855b48b5c6095d9418e70969b0680e922
size 30050
| yogeshsaroya/new-cdnjs | ajax/libs/mathjax/2.1/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js | JavaScript | mit | 130 |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M14 3.25l-10 10V17h3.75l10-10L14 3.25zM6.92 15H6v-.92l8-8 .92.92-8 8zM20.71 4.04c.39-.39.39-1.02 0-1.41L18.37.29a.9959.9959 0 0 0-1.41 0L15 2.25 18.75 6l1.96-1.96z" /><path fillOpacity... | lgollut/material-ui | packages/material-ui-icons/src/BorderColorOutlined.js | JavaScript | mit | 394 |
/**
* Copyright 2014 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/kendo-flat-themes-site | public/libs/kendo-ui-core/src/js/cultures/kendo.culture.en-NZ.js | JavaScript | mit | 2,944 |
/*
Copyright (c) 2013 William Malone (www.williammalone.com)
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, modify, merg... | sojs/BlocksJS | archive/0.5.29/js/game.js | JavaScript | mit | 24,863 |
define([
'aeris/util',
'aeris/api/models/aerisapimodel'
], function(_, AerisApiModel) {
/**
* @publicApi
* @class Advisory
* @namespace aeris.api.models
* @extends aeris.api.models.AerisApiModel
*
* @constructor
* @override
*/
var Advisory = function(opt_attrs, opt_options) {
var opt... | MikeLockz/exit-now-mobile | www/lib/aerisjs/examples/amd/bower_components/aerisjs/examples/amd/bower_components/aerisjs/src/api/models/advisory.js | JavaScript | mit | 797 |
/**
* @license
* v1.2.10-5
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
import { extend, objectDefinedNotNull, getAttrValueFromString, jsS, hOP, c... | sufuf3/cdnjs | ajax/libs/pnp-sp-clientsvc/1.2.10-5/sp-clientsvc.es5.js | JavaScript | mit | 46,025 |
import React from 'react';
import MediaBox from '../src/MediaBox';
export default
<MediaBox src="assets/sample-1.jpg" caption="A demo media box1" width="650"/>;
| jhernandezme/react-materialize | examples/MediaBox.js | JavaScript | mit | 162 |
Object.defineProperty(exports, "__esModule", { value: true });
var observable_1 = require("../../../data/observable");
var style_1 = require("../../styling/style");
exports.Style = style_1.Style;
exports.unsetValue = new Object();
var symbolPropertyMap = {};
var cssSymbolPropertyMap = {};
var inheritableProperties = ne... | gdtdpt/nativescript-sqlite-migration | MigrationTest/node_modules/tns-core-modules/ui/core/properties/properties.js | JavaScript | mit | 38,758 |
/**
* @license Highcharts JS v7.1.3 (2019-08-14)
*
* Dot plot series type for Highcharts
*
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.ex... | sufuf3/cdnjs | ajax/libs/highcharts/7.1.3/modules/dotplot.src.js | JavaScript | mit | 5,905 |
#!/usr/bin/env node
/*global require, global*/
var test = require('tape');
var Promise = require('bluebird');
var util = require('base-widget/spec/util');
var cli = require('../lib/cli');
var Slap = require('../lib/ui/Slap');
test("cli", function (t) {
Promise.using(cli({screen: util.screenFactory()}), function (s... | freakynit/slap | spec/cli.js | JavaScript | mit | 541 |
import React, { Component } from 'react'
import { Dropdown } from 'semantic-ui-react'
const options = [
{ key: 'English', text: 'English', value: 'English' },
{ key: 'French', text: 'French', value: 'French' },
{ key: 'Spanish', text: 'Spanish', value: 'Spanish' },
{ key: 'German', text: 'German', value: 'Germ... | code-vagabond/journey_planner | src/components/dep_station.js | JavaScript | mit | 1,167 |
import _curry2 from './internal/_curry2.js';
/**
* Divides the first parameter by the second and returns the remainder. Note
* that this function preserves the JavaScript-style behavior for modulo. For
* mathematical modulo see [`mathMod`](#mathMod).
*
* @func
* @memberOf R
* @since v0.1.1
* @category Math
*... | CrossEye/ramda | source/modulo.js | JavaScript | mit | 824 |
angular.module('controller.settingctrl', [])
.controller('SettingCtrl', function($scope, $rootScope, Util, Purchase, $ionicHistory, $translate,
$ionicSideMenuDelegate, $ionicPopup, $location) {
var menuContent = null;
var strOkay = "OK";
var strCancel... | WizardFactory/TodayWeather | tw.ios/www/js/controller.settingctrl.js | JavaScript | mit | 7,549 |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.ui.form.Footer = Class.extend({
init: function(opts) {
var me = this;
$.extend(this, opts);
this.make();
this.make_assignments();
this.make_attachments();
this.make_tags();
this.make_comments(... | gangadharkadam/smrtfrappe | frappe/public/js/frappe/form/footer.js | JavaScript | mit | 2,744 |
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
var config = {
map: {
'*': {
configurable: 'Magento_ConfigurableProduct/js/configurable'
}
}
}; | FPLD/project0 | vendor/magento/module-configurable-product/view/frontend/requirejs-config.js | JavaScript | gpl-2.0 | 231 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'cs', {
euro: 'Znak eura',
lsquo: 'Počáteční uvozovka jednoduchá',
rsquo: 'Koncová uvozovka jednoduchá',
ldquo: 'P... | SeeyaSia/www | web/libraries/ckeditor/plugins/specialchar/dialogs/lang/cs.js | JavaScript | gpl-2.0 | 5,344 |