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 (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated....
AuxMon/azure-sdk-for-node
lib/services/networkManagement2/lib/models/patchRouteFilterRule.js
JavaScript
apache-2.0
3,688
// List 5: Product identifier type code module.exports = { PROPRIETARY: 1, ISBN10: 2, ISBN13: 15 };
GitbookIO/onix-builder
lib/codes/productid.js
JavaScript
apache-2.0
113
(function () { function SongPlayer($rootScope, Fixtures) { var SongPlayer = {}; var currentAlbum = Fixtures.getAlbum(); /** * @desc Buzz object audio file * @type {Object} */ var currentBuzzObject = null; /** * @function setSong * @desc Stops currently playing song and loads...
c0011/bloc-jams-angular
dist/scripts/services/SongPlayer.js
JavaScript
apache-2.0
3,660
/*! * Copyright 2017, Digital Reasoning * * 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...
clarkperkins/stackdio
stackdio/ui/static/stackdio/app/viewmodels/environment-list.js
JavaScript
apache-2.0
3,239
'use strict' /*global describe, it*/ var should = require('should') var merge2 = require('../index.js') var stream = require('stream') var thunk = require('thunks')() var through = require('through2') function fakeReadStream (options) { var readStream = new stream.Readable(options) readStream._read = function () ...
jzthree/GraphBoard
node_modules/merge2/test/index.js
JavaScript
apache-2.0
6,294
/* * Copyright (c) 2010-2017, b3log.org & hacpai.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 required by applica...
AndiHappy/solo
src/main/webapp/js/admin/pageList.js
JavaScript
apache-2.0
16,788
// Copyright 2015 rain1017. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
rain1017/quick-pomelo
template/app/servers/team/handler/teamHandler.js
JavaScript
apache-2.0
2,358
var INDIGOSLATE = INDIGOSLATE || {}; INDIGOSLATE.core = (function () { "use strict"; var methodType = { POST: "POST", GET: "GET" }; var baseUrl = $("#baseUrl").text(); var hash = "A2897A8A-F4FB-47A7-B59A-B7E527707574"; //TODO implement the server hash later function callService(options) { ...
jomit/Rhino
Rhino.WebApp/obj/Production/Package/PackageTmp/js/core.js
JavaScript
apache-2.0
1,589
/*! JSZipUtils - A collection of cross-browser utilities to go along with JSZip. <http://stuk.github.io/jszip-utils> (c) 2014 Stuart Knightley, David Duponchel Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. */ !function(e){"object"==typeof exports?modu...
dpat37/CR
page/Common Reporting v2.0_files/jszip-utils.js
JavaScript
apache-2.0
4,500
/*var ref sets a reference point to which the controller needs to put or get information from firebase. var messages tells the info it should be in array format and must have $firebaseArray injected as a dependency to use. $filter is used to format the date input and has many other things it can filter as well.*/ (func...
jmas12000/bloc-chat
dist/scripts/services/Messages.js
JavaScript
apache-2.0
1,871
$(function(){ getQCTableTypeList(); }); var QCAPI = configObject.WebAPI + "/QC/waCheckList/api/CheckList/"; // 取得標題相關 function getQCTableTitleList(){ $("#titleID").empty(); selectOptionPut("titleID","null","請選擇自檢表"); var typeId = $("#tableType").val(); $.getJSON(QCAPI + "GetEmptyList",{typeId:typeId},funct...
Michael0423/Construct-Management
public/include/js/contentpages/qc_table/table_edit.js
JavaScript
apache-2.0
8,590
const chai = require('chai') chai.Should() chai.use(require('chai-things')) const assert = require('assert') const securitySettings = { acls: [ { context: 'vessels.self', resources: [ { paths: ['navigation.*', 'name', 'design.aisShipType'], permissions: [ { ...
webmasterkai/signalk-server-node
test/acls.js
JavaScript
apache-2.0
6,334
/** Class representing all the current shown arrows @class Arrows @static **/ var Arrows = {}; Arrows.arrows = []; /** Clear the currently defined arrows @method clear @static **/ Arrows.clear = function() { this.arrows = []; }; /** Sets the t...
jCobbSK/Sideshow
src/step/arrows.js
JavaScript
apache-2.0
3,806
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
kylebyerly-hp/grommet
src/js/components/icons/base/Tasks.js
JavaScript
apache-2.0
1,771
/* ------------------------------------------------------------------------------ * * # Set language on init * * Specific JS code additions for internationalization_fallback.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * -------------------------------------------------------------------------...
iBase4J/iBase4J
iBase4J-UI/iBase4J-UI-DataTables/src/assets/js/pages/internationalization_on_init.js
JavaScript
apache-2.0
3,988
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of sou...
dewmini/product-apim
product/carbon-home/resources/composer/web/js/ballerina-old/utils/ace/mode.js
JavaScript
apache-2.0
7,658
'use strict'; /* Directives */ angular.module('learntoprogram.directives', ['learntoprogram.directivesCode']) .controller('Navigation', function ($scope,$http, $rootScope, $location) { $scope.isTeacher = function() {return $rootScope.loggedUser == 'teacher';}; $scope.logout = function () { ...
Grashalm/learntoprogram_prototype
teacher/app/js/directives.js
JavaScript
apache-2.0
6,170
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ let fadeAwayUndoButtonDelay; let fadeAwayUndoButtonDuration; function test() { waitForExplicitFinish(); window.addEventListener("tabviewshown", testCloseLastGroup, false); TabView.toggle(); } function t...
sergecodd/FireFox-OS
B2G/gecko/browser/components/tabview/test/browser_tabview_bug595521.js
JavaScript
apache-2.0
2,155
import './collection_dictionary.js';
henricasanova/databet_meteor_1.4
app/imports/startup/both/index.js
JavaScript
apache-2.0
36
/* // Copyright (c) 2016 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
egalli/Node-DC-EIS
Node-DC-EIS-cluster/config/configuration.js
JavaScript
apache-2.0
1,107
/* * jQuery FlexSlider v2.0 * Copyright 2012 WooThemes * Contributing Author: Tyler Smith */; (function (d) { d.flexslider = function (h, k) { var a = d(h), c = d.extend({}, d.flexslider.defaults, k), e = c.namespace, o = "ontouchstart" in window || window.DocumentTou...
shubha1/Custom62-theme
docroot/js/source/jquery.flexslider.js
JavaScript
apache-2.0
25,907
(function() { function RoomCtrl(Room, CurrentUser, $scope) { this.rooms = Room.all; this.currentUser = CurrentUser.getCurrentUser(); this.setActiveRoom = (room) => { this.activeRoom = room; this.listMessages = Room.getMessages(this.activeRoom.$id); }; this.createUser = f...
malworks/bloc-chat
dist/scripts/controllers/RoomCtrl.js
JavaScript
apache-2.0
1,028
function init() { enableAsyncScrolling(); messageManager.loadFrameScript( "chrome://global/content/test-ipcbrowser-content.js", true ); } function browser() { return document.getElementById("content"); } function frameLoader() { return browser().QueryInterface(Components.interfaces.nsIFram...
viglesiasce/EucaLobo
EucaLobo.app/Contents/Frameworks/XUL.framework/Versions/13.0/chrome/toolkit/content/global/test-ipcbrowser-chrome.js
JavaScript
apache-2.0
3,234
const config = { mapping: { brand: 'brand.raw', model: 'model.raw', price: 'price' }, NestedList: { defaultSelected: ["bmw"] }, ReactiveList: { sortBy: "asc", size: 1, from: 0 }, ReactiveBase: { app: "car-store", username: "cf7QByt5e", password: "d2d60548-82a9-43cc-8b40-93cbbe75c34c" } }; co...
divyanshu013/reactivebase
tests/NestedList/config.js
JavaScript
apache-2.0
868
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
begoldsm/azure-sdk-for-node
lib/services/serviceFabric/lib/operations/services.js
JavaScript
apache-2.0
61,800
/** * Expose the MediaDeviceInfo class. */ module.exports = MediaDeviceInfo; function MediaDeviceInfo(data) { data = data || {}; Object.defineProperties(this, { // MediaDeviceInfo spec. deviceId: { value: data.deviceId }, kind: { value: data.kind }, label: { value: data.lab...
soulfly/guinea-pig-smart-bot
node_modules/quickblox/samples/cordova/video_chat/plugins/cordova-plugin-iosrtc/js/MediaDeviceInfo.js
JavaScript
apache-2.0
547
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); var _ariaQuery = require("aria-query"); var _jsxAstUtils = require("jsx-ast-utils"); var _schemas = require("../...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/eslint-plugin-jsx-a11y/lib/rules/aria-props.js
JavaScript
apache-2.0
1,847
/*! * 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"], function (jQuery) { "use strict"; /*global Promise */ var oBoolFalse = { "Bool" : "false" }...
SuicidePreventionSquad/SeniorProject
resources/sap/ui/model/odata/_ODataMetaModelUtils-dbg.js
JavaScript
apache-2.0
30,446
const querystring = require('querystring'); const snekfetch = require('snekfetch'); const { Error } = require('../../errors'); class APIRequest { constructor(rest, method, path, options) { this.rest = rest; this.client = rest.client; this.method = method; this.path = path.toString(); this.route =...
zajrik/discord.js
src/client/rest/APIRequest.js
JavaScript
apache-2.0
1,683
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
xingwu1/azure-sdk-for-node
lib/services/batchManagement/lib/models/activateApplicationPackageParameters.js
JavaScript
apache-2.0
1,266
/* Copyright 2012 Twitter, Inc. and others. * * 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...
chrismoulton/clockworkraven
app/assets/javascripts/lib/insertAtCaret.js
JavaScript
apache-2.0
1,563
/* Copyright 2019-2020 Google LLC 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
apigeecs/bundle-linter
lib/package/plugins/TD003-targetNameAttr.js
JavaScript
apache-2.0
2,014
var _ = require('lodash'); module.exports = function (chrome, internals) { /** * ui/chrome Controls API * * Exposes controls for the Kibana chrome * * Visible * determines if the Kibana chrome should be displayed */ /** * @param {boolean} display - should the chrome be displayed ...
svanschalkwyk/datafari
debian7/elk/kibana/src/ui/public/chrome/api/controls.js
JavaScript
apache-2.0
650
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
kamransaleem/waltz
waltz-ng/client/system/orphans-view.js
JavaScript
apache-2.0
4,507
// Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
apache/couchdb-fauxton
app/addons/documents/tests/nightwatch/tableViewConflicts.js
JavaScript
apache-2.0
1,333
var searchData= [ ['num_5fmip_5flevels',['num_mip_levels',['../struct__cl__image__desc.html#a97f4cab1d305d0fbf97b1e94880b0681',1,'_cl_image_desc']]], ['num_5fsamples',['num_samples',['../struct__cl__image__desc.html#a6732865527d69bd112224a378a4f0297',1,'_cl_image_desc']]] ];
nagarabh/PatternTracker
PatternTracker/doxygen/html/search/variables_d.js
JavaScript
apache-2.0
280
/** * Modules dependencies */ var assert = require('chai').assert, libPath = process.env['SOLR_CLIENT_COV'] ? '../lib-cov' : '../lib', SolrError = require(libPath + '/error/solr-error'); // Macros to assert Solr response exports.ok = function(err,data){ assert.isNull(err); assert.isObject(data); ...
jcaleffi/https-github.com-jcaleffi-bot-100
node_modules/solr-client/test/sassert.js
JavaScript
apache-2.0
444
//// [privateNameFieldsESNext.ts] class C { a = 123; #a = 10; c = "hello"; #b; method() { console.log(this.#a); this.#a = "hello"; console.log(this.#b); } static #m = "test"; static #x; static test() { console.log(this.#m); console.log(this.#x...
nojvek/TypeScript
tests/baselines/reference/privateNameFieldsESNext.js
JavaScript
apache-2.0
1,004
var relBaseFiles = require('../vendor.base.json').map(function(path) { return '../' + path; }); module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns basePath: '..', // frameworks to use frameworks: ['jasmine'], // list of fi...
gbhu/studynotes-projects
AngularjsAndAngle/webapp/master/tests/karma.conf.js
JavaScript
apache-2.0
1,077
// Copyright (C) 2006 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 agreed t...
tateshitah/jspwiki
jspwiki-war/src/main/scripts/prettify.js
JavaScript
apache-2.0
63,448
/* Pretty handling of time axes. Copyright (c) 2007-2013 IOLA and Ole Laursen. Licensed under the MIT license. Set axis.mode to "time" to enable. See the section "Time series data" in API.txt for details. */ (function($) { var options = { xaxis: { timezone: null, // "browser" for local to the client or timezone fo...
1btcxe/wlox
frontend/htdocs/js/flot/jquery.flot.time.js
JavaScript
apache-2.0
10,109
//@line 39 "/builds/slave/rel-m-rel-xr-osx64-bld/build/toolkit/content/treeUtils.js" var gTreeUtils = { deleteAll: function (aTree, aView, aItems, aDeletedItems) { for (var i = 0; i < aItems.length; ++i) aDeletedItems.push(aItems[i]); aItems.splice(0, aItems.length); var oldCount = aView.rowCount...
viglesiasce/EucaLobo
EucaLobo.app/Contents/Frameworks/XUL.framework/Versions/13.0/chrome/toolkit/content/global/treeUtils.js
JavaScript
apache-2.0
2,159
var DynamoDBSet = require('../../lib/dynamodb/set'), helpers = require('../helpers'), AWS = helpers.AWS, input = helpers.AWS.DynamoDB.Converter.input, output = helpers.AWS.DynamoDB.Converter.output; describe('AWS.DynamoDB.Converter', function() { describe('.input', function() { describe('strings', functi...
aws/aws-sdk-js
test/dynamodb/converter.spec.js
JavaScript
apache-2.0
16,289
//// [objectTypesIdentityWithNumericIndexers2.ts] // object types are identical structurally class Base { foo: string; } class Derived extends Base { bar: string; } class A { [x: number]: Base; } class B { [x: number]: Derived; } class C<T> { [x: number]: T; } interface I { [x: number]: Derived; }...
Raynos/TypeScript
tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.js
JavaScript
apache-2.0
4,052
(function() { function Fixtures() { var Fixtures = {}; var albumPicasso = { name: 'The Colors', artist: 'Pablo Picasso', label: 'Cubism', year: '1881', albumArtUrl: '/assets/images/album_covers/01.png', songs: [ { name: 'Blue', length: 161.71, audioUrl: 'assets/mus...
antblessing/bloc-jams-angular
dist/scripts/services/Fixtures.js
JavaScript
apache-2.0
1,532
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-additional-properties-of-the-object.prototype-object description: > Behavior when "this" value defines a like-named accessor property without a `get` method i...
sebastienros/jint
Jint.Tests.Test262/test/annexB/built-ins/Object/prototype/__lookupGetter__/lookup-own-acsr-wo-getter.js
JavaScript
bsd-2-clause
869
var coveragePlugin = ActiveBuild.UiPlugin.extend({ id: 'build-php_unit-coverage-chart', css: 'col-xs-12', title: Lang.get('coverage'), lastData: null, displayOnUpdate: false, rendered: false, chartData: null, register: function () {...
corpsee/php-censor
public/assets/js/build-plugins/phpunit-coverage.js
JavaScript
bsd-2-clause
3,694
/*! * @copyright@ */ jQuery.sap.declare("sap.ui.demokit.icex.Component"); jQuery.sap.require("sap.ui.core.UIComponent"); jQuery.sap.require("sap.ui.demokit.icex.model.FavoriteModel"); jQuery.sap.require("sap.ui.demokit.icex.util.Sorter"); sap.ui.core.UIComponent.extend("sap.ui.demokit.icex.Component", { metadat...
mindmill/open-cmis-explorer
resources/sap/ui/demokit/icex/Component-dbg.js
JavaScript
bsd-2-clause
2,711
function foo () { if (true) { var bar = baz(); } }
sanex3339/javascript-obfuscator
test/functional-tests/node-transformers/simplifying-transformers/if-statement-simplify-transformer/fixtures/partial-consequent-only-no-return-single-statement.js
JavaScript
bsd-2-clause
66
module.exports = { "ISO19139_2": { "ISO19139_2_GMI" : require('./GMI/ISO19139_2_GMI') } };
juanrapoport/ogc-schemas
scripts/tests/ISO19139_2/ISO19139_2.js
JavaScript
bsd-2-clause
96
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<7739615f09bf108233e1aab9e00191f9>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disable ...
yungsters/relay
packages/relay-runtime/store/__tests__/__generated__/RelayResponseNormalizerTest1MarkdownUserNameRenderer_name$normalization.graphql.js
JavaScript
bsd-3-clause
1,398
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; ...
mudunuriRaju/tlr-live
tollbackend/web/js/angular-1.5.5/i18n/angular-locale_ur-in.js
JavaScript
bsd-3-clause
5,407
var searchData= [ ['trackadvertiserid',['trackAdvertiserID',['../interfacei_omniata_a_p_i.html#a45b87869378da3b3eecb262747fc2e9d',1,'iOmniataAPI']]], ['trackadvertiseridwithparameters_3a',['trackAdvertiserIDwithParameters:',['../interfacei_omniata_a_p_i.html#af718ede70174276c4a8a1b1d16926a0e',1,'iOmniataAPI']]], ...
Omniata/omniata-ios-sdk
html/search/functions_8.js
JavaScript
bsd-3-clause
1,238
"use strict"; /** * @fileoverview Disallows invalid HTML in templates * @author James Garbutt <https://github.com/43081j> */ const template_analyzer_1 = require("../template-analyzer"); //------------------------------------------------------------------------------ // Rule Definition //-----------------------------...
ChromeDevTools/devtools-frontend
node_modules/eslint-plugin-lit-a11y/node_modules/eslint-plugin-lit/lib/rules/no-invalid-html.js
JavaScript
bsd-3-clause
2,247
/** * @license * * Copyright (c) 2016, Syuuhei Kuno * 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 retain the above copyright notice, this * l...
redlily/_xplain_for_js
src/xplain_core.js
JavaScript
bsd-3-clause
11,740
/*** * Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC * Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms. */ /*eslint no-console:0 */ import { promises as fs } from 'fs'; import merge from 'lodash/merge'; import AsyncLock from 'async-lock'; const lock = new ...
localnerve/react-pwa-boilerplate
src/build/webpack/plugins/stats.js
JavaScript
bsd-3-clause
3,369
// ##################################################################################################################### // #IMPORTS# var gulp = require('gulp'); var gutil = require('gulp-util'); var plumber = require('gulp-plumber'); var fs = require('fs'); var autoprefixer = require('autoprefixer'); var postcss = req...
jproffitt/django-cms
gulpfile.js
JavaScript
bsd-3-clause
7,045
import Ember from 'ember'; export default Ember.Mixin.create({ onScroll: Ember.K, scrollElementSelector: '', didRender: function() { var _this = this; this._super(); this.$(this.get('scrollElementSelector')).bind('scroll', function(event) { Ember.run(_this, _this.onScroll, event); }); },...
remerge/ember-table
addon/mixins/scroll-handler.js
JavaScript
bsd-3-clause
547
// Module dependencies const React = require('react-native'); const GiftedListView = require('react-native-gifted-listview'); const Spinner = require('react-native-spinkit'); const WeiboCell = require('../WeiboCell'); const styles = require('./style'); const { View, Text, TouchableOpacity } = React; module.exp...
wesley1001/WeiboReactNative
app/components/WeiboList/index.js
JavaScript
bsd-3-clause
2,301
Ext.define('icc.view.idatabase.Statistic.Combobox.Method', { extend : 'icc.common.Combobox', alias : 'widget.idatabaseStatisticComboboxMethod', fieldLabel : '统计方法', name : 'method', store : 'idatabase.Statistic.Method', valueField : 'value', displayField : 'name', queryMode : 'remote', editable : false, typeA...
icatholic/icc
public/js/app/view/idatabase/Statistic/Combobox/Method.js
JavaScript
bsd-3-clause
345
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // TODO actually recognize syntax of TypeScript constructs (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"))...
danakj/chromium
third_party/WebKit/Source/devtools/front_end/cm/javascript.js
JavaScript
bsd-3-clause
28,180
/* globals $:false */ (function() { function launchWindow(url) { var sg_div = document.createElement('div'); sg_div.innerHTML = ( '<h1>You have been selected for a survey</h1>' + '<p>We appreciate your feedback!</p><p><a href="' + url + '">Please click here to start it now.</a></p>' + '<a hr...
feer56/Kitsune2
kitsune/sumo/static/sumo/js/surveygizmo.js
JavaScript
bsd-3-clause
2,834
// 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...
x684867/nemesis
src/node/test/simple/test-stream2-readable-wrap.js
JavaScript
mit
3,080
'use strict'; // Runs `npm install` in cwd const path = require('path'); const fs = require('fs'); const NpmTask = require('./npm-task'); const formatPackageList = require('../utilities/format-package-list'); class NpmInstallTask extends NpmTask { constructor(options) { super(options); this.command = 'insta...
kategengler/ember-cli
lib/tasks/npm-install.js
JavaScript
mit
935
JCSDL.Loader.addComponent(function($, undefined) { this.GUILogic = function(gui, logic) { var self = this; // reference some useful or required elements of the GUI this.gui = gui; this.config = gui.config; this.parser = gui.parser; // reference some functions that we'd want to reuse this.getTemplate =...
datasift/editor-PYLON
src/jcsdl.gui.logic.js
JavaScript
mit
33,123
/* Charon Index log documents by doc. Value: timestamp. */ function(doc) { if (doc.charon_doctype !== 'log') return; emit(doc.doc, doc.timestamp); }
Galithil/charon
charon/designs/log/views/doc.js
JavaScript
mit
163
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvArtTrack = (props) => ( <SvgIcon {...props}> <path d="M22 13h-8v-2h8v2zm0-6h-8v2h8V7zm-8 10h8v-2h-8v2zm-2-8v6c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2zm-1.5 6l-2.25-3-1.75 2.26-1.25-1.51L3.5 15h7z"/> </SvgIcon> ); ...
alvarolobato/blueocean-plugin
jenkins-design-language/src/js/components/material-ui/svg-icons/av/art-track.js
JavaScript
mit
419
/* Copyright 2011-2016 Adobe Systems Incorporated. All Rights Reserved. */ (function(c){"function"===typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],c):c(jQuery)})(function(c){var b=c;if(typeof Muse=="undefined")window.Muse={};Muse.Assert={};Muse.Assert.fail=function(a){alert("JavaScript exception: "...
rishabkamshetty/rishabkamshetty.github.io
scripts/museutils.js
JavaScript
mit
61,515
/** * model/core/async.js */ var asyncModel = models.async = boundModel.extend({ _update: function asyncUpdate() { var self = this; // Allow updates that are as new or newer than the last *update* generation. // This allows rolling updates, where the model may have one or more requests ...
tillberg/tbone
src/model/core/async.js
JavaScript
mit
1,305
window.awesomeLib = window.awesomeLib || { doSomethingCrazy : function(){ return 'mad'; } };
oculus42/aja.js
test/samples/lib.js
JavaScript
mit
109
define({ "drsUrl": "Adatellenőrző szerver URL-címe", "includeReportedBy": "Ellenőrzést végző szakértő", "label": "Réteg", "show": "Foglald bele", "alias": "Aliasnév", "warning": "Helytelen adatbevitel", "defaultSessionId": "Alapértelmezett munkamenet", "setSource": "Beállítás", "getCurrentUser": "Beje...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/ReportFeature/setting/nls/hu/strings.js
JavaScript
mit
771
angular.module('IntrepidJS').config( [ '$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/'); $stateProvider. state('signup', { url: '/accounts/signup',...
wtelecom/xmas-module
public/javascripts/core/routes/accounts.js
JavaScript
mit
1,013
var erbium = require('./build/Release/erbium'); //var pkt = new erbium.Erbium(new Buffer([0x60,0x45,0x04,0xd2,0xc2,0x00,0x00,0xff,0x68,0x65,0x6c,0x6c,0x6f])); var pkt = new erbium.Erbium(new Buffer([0x50,0x01,0xe0,0xd6,0x33,0x6d,0x62,0x6b,0x85,0x68,0x65,0x6c,0x6c,0x6f])); console.log(pkt.getHeaderUriPath().toString()...
1248/node-erbium
er.js
JavaScript
mit
2,776
StartTest(function (t) { t.expectGlobals('0', '1') t.getHarness([ 'testfiles/601_siesta_ui_failing.t.js', 'testfiles/601_siesta_ui_passing.t.js' ]); t.it('Should not crash when starting recorder without a test', function (t) { t.chain( { waitFor : 'harnessRead...
arthurakay/AppInspector
app/test/siesta-2.0.5-lite/tests/recorder/integration/200_integration_1.t.js
JavaScript
mit
2,828
import Ember from "ember-metal/core"; // for Ember.ORDER_DEFINITION import {typeOf} from "ember-metal/utils"; import Comparable from "ember-runtime/mixins/comparable"; // Used by Ember.compare Ember.ORDER_DEFINITION = Ember.ENV.ORDER_DEFINITION || [ 'undefined', 'null', 'boolean', 'number', 'string', 'arr...
slindberg/ember.js
packages_es6/ember-runtime/lib/compare.js
JavaScript
mit
3,283
module.exports = function(req, res, render) { req.models.{{x-singular-underscore}} .findAll() .then(function({{x-plural-camelcase}}) { render({{x-plural-camelcase}}); }) .catch(function(err) { render(err); }); };
greyhwndz/november-cli
template-files/controller-files/list.js
JavaScript
mit
234
"use strict"; const fs = require('fs'); const path = require('path'); module.exports = { solutionOnly(opts, runCode) { const entry = path.join(opts.dir, 'main.R'); if (opts.setup) fs.writeFileSync(path.join(opts.dir, 'setup.R'), opts.setup); fs.writeFileSync(entry, opts.solution); runCode({ na...
Codewars/codewars-runner
lib/runners/r.js
JavaScript
mit
1,107
/** * Copyright (c) 2016-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...
ninamanalo19/react-native-sliding-up-panel
node_modules/react-native/local-cli/server/middleware/heapCaptureMiddleware.js
JavaScript
mit
5,353
import { createStorageRef, noop as noReturnValue } from './helpers' import { FirebaseProviderError } from './errors' export default function deleteFile(path, filename) { const ref = createStorageRef(path).child(filename) return ref.delete().then(noReturnValue).catch(error => { throw new FirebaseProviderError(...
garth/cerebral
packages/node_modules/@cerebral/firebase/src/delete.js
JavaScript
mit
334
/* global app, angular */ 'use strict'; app.factory('identity', function ($window, UsersResource) { var user; if ($window.bootstrappedUserObject) { user = new UsersResource(); angular.extend(user, $window.bootstrappedUserObject); } return { currentUser: user, isAuthenti...
StefanSinapov/TelerikAcademy
15. End-to-end applications/14. Exam/Exam/public/js/account/services/identity.js
JavaScript
mit
542
/*global qs, qsa, $on, $parent, $delegate */ (function (window) { 'use strict'; /** * View that abstracts away the browser's DOM completely. * It has two simple entry points: * * - bind(eventName, handler) * Takes a todo application event and registers the handler *...
CanopyTax/single-spa-examples
src/vanillajs/js/view.js
JavaScript
mit
6,110
var WS = require('../') var tape = require('tape') var pull = require('pull-stream') var JSONDL = require('pull-json-doubleline') tape('simple echo server', function (t) { var server = WS.createServer(function (stream) { pull(stream, stream) }).listen(5678, function () { pull( pull.values([1,2,3])...
ssbc/pull-ws-server
test/echo-inline.js
JavaScript
mit
854
/*! * Bootstrap-select v1.13.14 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2020 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== undefined) r...
jurgendl/jhaws
jhaws/wicket/src/main/resources/org/jhaws/common/web/wicket/bootstrapselect/js/i18n/defaults-bg_BG.js
JavaScript
mit
1,856
/** * Layout controller. * * @author Martin Micunda {@link http://martinmicunda.com} * @copyright Copyright (c) 2015, Martin Micunda * @license The MIT License {@link http://opensource.org/licenses/MIT} */ (function () { 'use strict'; /** * @ngdoc controller * @name LayoutCtrl * @modu...
maxamillion32/ionic-photo-gallery
ionic/www/js/routes/layout/layout.controller.js
JavaScript
mit
1,089
/*global require:true*/ (function( exports ){ "use strict"; var fs = require( 'fs' ); var Pfile = require( '..' + fs.separator + '..' + fs.separator + 'lib' + fs.separator + 'processing-file' ); var bearSVG = '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="62.905px">\n' + '<path d="M11.068,34.558c-1....
jonhorner/svg-to-png
test/phantom/processing-file_test.js
JavaScript
mit
2,335
var expect = require('expect.js'), fs = require('fs'), path = require('path'), ladder = require('../'); describe('ladder', function() { describe('first.json', function() { it('should be 2 spaces', function() { var result = ladder(fs.readFileSync(path.resolve('test/first.json')).toStrin...
justinHowlett/KivaServer
node_modules/jitsu/node_modules/ladder/test/ladder-test.js
JavaScript
mit
818
module.exports = require('regenerate')(0xAD, 0x34F, 0x61C, 0x3164, 0xFEFF, 0xFFA0).addRange(0x115F, 0x1160).addRange(0x17B4, 0x17B5).addRange(0x180B, 0x180E).addRange(0x200B, 0x200F).addRange(0x202A, 0x202E).addRange(0x2060, 0x206F).addRange(0xFE00, 0xFE0F).addRange(0xFFF0, 0xFFF8).addRange(0x1BCA0, 0x1BCA3).addRange(0...
Engineering-Robert/personal-website
plugins/gatsby-plugin-feed-custom/node_modules/regenerate-unicode-properties/Binary_Property/Default_Ignorable_Code_Point.js
JavaScript
mit
365
/** * Convert Chinese to Pinyin * 未知作者 * 不能识别多音字 */ var PinYin = (function () { var py = { "a": "\u554a\u963f\u9515", "ai": "\u57c3\u6328\u54ce\u5509\u54c0\u7691\u764c\u853c\u77ee\u827e\u788d\u7231\u9698\u8bf6\u6371\u55f3\u55cc\u5ad2\u7477\u66a7\u7839\u953f\u972d", "an": "\u978d\u6c28\...
TevinLi/amWiki
files/pinyin.js
JavaScript
mit
49,642
(function ($) { $.fn.dnnModuleDragDrop = function (options) { var isEditMode = $('body').hasClass('dnnEditState'); if (!isEditMode) { $(function () { $('.DNNEmptyPane').each(function () { $(this).removeClass('DNNEmptyPane').addClass('dnnDropEmptyPane...
raphael-m/Dnn.Platform
Website/Resources/Shared/scripts/dnn.dragDrop.js
JavaScript
mit
11,295
// // AutoLinker is a named function that will replace links on messages // @param {Object} message - The message object // import Autolinker from 'autolinker'; function AutoLinker(message) { if (RocketChat.settings.get('AutoLinker') !== true) { return message; } if (_.trim(message.html)) { const regUrls = ne...
pachox/Rocket.Chat
packages/rocketchat-autolinker/client/client.js
JavaScript
mit
1,984
var validator = require('validator'); var _ = require('lodash'); // validators and sanitizers not prefixed with is/to var additionalValidators = ['contains', 'equals', 'matches']; var additionalSanitizers = ['trim', 'ltrim', 'rtrim', 'escape', 'stripLow', 'whitelist', 'blacklist', 'normalizeEmail']; /** * Initalizes...
svrhovac/videoAnnotations
node_modules/express-validator/lib/express_validator.js
JavaScript
mit
6,794
/*! jQuery UI - v1.9.2 - 2014-09-21 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Ju...
royevies/Cirujano
fronted/js/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js
JavaScript
mit
817
'use strict'; var EventEmitter = require('events').EventEmitter; var TextOperation = require('./text-operation'); var WrappedOperation = require('./wrapped-operation'); var Server = require('./server'); var Selection = require('./selection'); var util = require('util'); var LZString = require('lz-string'); var logger...
Rory80Hz/hackmd
lib/ot/editor-socketio-server.js
JavaScript
mit
5,322
/* * index.js: Top-level plugin exposing HTTP features in flatiron * * (C) 2011, Nodejitsu Inc. * MIT LICENSE * */ var union = exports; // // Expose version information through `pkginfo` // require('pkginfo')(module, 'version') // // Expose core union components // union.BufferedStream = require('./buffered-s...
kaw3939/Open-Vote
node_modules/union/lib/index.js
JavaScript
mit
592
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'colorbutton', 'ar', { auto: 'تلقائي', bgColorTitle: 'لون الخلفية', colors: { '000': 'أسود', '800000': 'كستنائي', '8B4513': 'بني فا...
waxe/waxe.xml
waxe/xml/static/ckeditor/plugins/colorbutton/lang/ar.js
JavaScript
mit
1,600
define([ 'app/config', 'app/GeoSearch', 'app/HelpPopup' ], function ( config, GS, HP ) {});
agrc/AmdButler
tests/sublime_tests/data/input/Remove.js
JavaScript
mit
115
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
lmazuel/azure-sdk-for-node
lib/services/datafactoryManagement/lib/models/resource.js
JavaScript
mit
2,272
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; } __.prototype = b.prototype; d.prototype = new __(); }; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc)...
ksomville/Angular2-Hearthstone
node_modules/angular2/src/test_lib/test_component_builder.js
JavaScript
mit
6,930
/** @module ember-data */ import computedPolyfill from "ember-new-computed"; import Model from "ember-data/system/model"; import normalizeModelName from "ember-data/system/normalize-model-name"; /** `DS.hasMany` is used to define One-To-Many and Many-To-Many relationships on a [DS.Model](/api/data/classes/DS.Mo...
H1D/data
packages/ember-data/lib/system/relationships/has-many.js
JavaScript
mit
4,716
var curSong = curLine = isPlaying = curTime = curStartT = curT = null var height = 500 var width = 750 var baseCharPerSec = 6 var lastCharPerSec = baseCharPerSec var minCharPerSec = 3 var player = d3.select('#player') var red = '#d2130a', blue = '#3b4274', grey = '#ccc' function onYouTubeIframeAPIReady...
1wheel/roadtolarissa
source/javascripts/posts/lyricType/script.js
JavaScript
mit
5,830