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
var $ = require('jquery'); var cdb = require('cartodb.js'); var GroupsMainView = require('../../../../../javascripts/cartodb/organization/groups_admin/groups_main_view'); describe('organization/groups_admin/groups_main_view', function() { beforeEach(function() { this.contentView = new cdb.core.View(); spyOn...
nuxcode/cartodb
lib/assets/test/spec/cartodb/organization/groups_admin/groups_main_view.spec.js
JavaScript
bsd-3-clause
1,004
var x = "foo"; function g() { throw new Error; // crashes WALA x = 1; } var __result1; // for SAFE var __result2; // for SAFE var __result3; // for SAFE try{ // dumpValue("HERE1"); __result1 = "HERE1"; // for SAFE g(); // dumpValue("HERE2"); __result2 = "HERE2"; // for SAFE } catch(ex) { // dumpValue(...
darkrsw/safe
tests/typing_tests/TAJS_micro/test97.js
JavaScript
bsd-3-clause
530
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. // limitations under the License. // See the License for the specific language governing permissions and // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // distributed under the License is distributed on an "AS-IS" BASIS, // Un...
sgraham/nope
third_party/google_input_tools/src/chrome/os/inputview/keyboardcontainer.js
JavaScript
bsd-3-clause
11,823
goog.provide('goog.dom.TextRangeIterator'); goog.require('goog.array'); goog.require('goog.dom.NodeType'); goog.require('goog.dom.RangeIterator'); goog.require('goog.dom.TagName'); goog.require('goog.iter.StopIteration'); goog.dom.TextRangeIterator = function(startNode, startOffset, endNode, endOffset, opt_rever...
johnjbarton/qpp
traceur/test/closurebaseline/third_party/closure-library/closure/goog/dom/textrangeiterator.js
JavaScript
bsd-3-clause
3,789
/** * Film grain & scanlines shader * * - ported from HLSL to WebGL / GLSL * http://www.truevision3d.com/forums/showcase/staticnoise_colorblackwhite_scanline_shaders-t18698.0.html * * Screen Space Static Postprocessor * * Produces an analogue noise overlay similar to a film grain / TV static * * Original impl...
damienmortini/dlib
node_modules/three/examples/jsm/shaders/FilmShader.js
JavaScript
isc
2,295
angular.module( 'ripplecharts.value', [ 'ui.state', 'ui.bootstrap' ]) .config(function config( $stateProvider ) { $stateProvider.state( 'value', { url: '/value', views: { "main": { controller: 'ValueCtrl', templateUrl: 'value/value.tpl.html' } }, data:{ pageTitle: 'Net...
bankonme/ripplecharts-frontend
src/app/value/value.js
JavaScript
isc
1,848
var urlSegments = location.href.substr(0, location.href.indexOf("/swagger")).split('/'); var apiUrl = "/" + urlSegments[urlSegments.length - 1]; var apis = window.swaggerUi.api.apisArray; for (var i = 0; i < apis.length; i++) { var operations = apis[i].operationsArray; if (operations != null) { for (v...
Safewhere/STSTestSigningService
Kombit.Samples.STSTestSigningService/Scripts/swagger-ui.js
JavaScript
mit
561
/** * 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. */ require('./covered'); const thisFunctionIsNeverInstrumented = () => null; module.exports = { thisFunction...
cpojer/jest
e2e/transform/no-babel-jest/this-directory-is-covered/excludedFromCoverage.js
JavaScript
mit
344
import Document from 'orbit/document'; var doc; var applyTransforms = function(doc, operations) { for (var i = 0; i < operations.length; i++) { doc.transform(operations[i]); } }; /////////////////////////////////////////////////////////////////////////////// module("Orbit - Document", { setup: function() ...
opsb/orbit.js
test/tests/orbit/unit/document-test.js
JavaScript
mit
26,509
var renderSplash = function(selectorOne, selectorTwo, destination){ if (window.localStorage.getItem("sessionId")) { var indexTemplate = Mustache.render($(selectorOne).html()); } else { var indexTemplate = Mustache.render($(selectorTwo).html()); } $(destination).html(indexTemplate); }; var renderPage = ...
nyc-rock-doves-2015/line-cook
workshop/www/js/view.js
JavaScript
mit
746
/* * 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. */ /...
sergey-shandar/autorest
src/generator/AutoRest.NodeJS.Tests/Expected/AcceptanceTests/BodyDuration/autoRestDurationTestService.js
JavaScript
mit
1,714
version https://git-lfs.github.com/spec/v1 oid sha256:cf666ed502b9fdfd148366c4dcd0abb647dff9cfa8fe2f36f6bf43bfe1f61325 size 6920
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.7.3/router/router-min.js
JavaScript
mit
129
var path = require('path'); var HtmlwebpackPlugin = require('html-webpack-plugin'); var webpack = require('webpack'); var merge = require('webpack-merge'); var TARGET = process.env.npm_lifecycle_event; var ROOT_PATH = path.resolve(__dirname); var common = { entry: path.resolve(ROOT_PATH, 'app/main.jsx'), output: ...
dschalk/mobservable-demo
notes_app/webpack.config.js
JavaScript
mit
1,278
'use babel'; import { CompositeDisposable } from 'atom'; import repositoryForPath from './helpers'; const MAX_BUFFER_LENGTH_TO_DIFF = 2 * 1024 * 1024; /** * @describe Handles per-editor event and repository subscriptions. * @param editor {Atom.TextEditor} - The editor this view will manage. */ export default clas...
brettle/atom
packages/git-diff/lib/git-diff-view.js
JavaScript
mit
8,708
(function() {var implementors = {}; implementors['clog'] = ["impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='clog/fmt/enum.ChangelogFormat.html' title='clog::fmt::ChangelogFormat'>ChangelogFormat</a>","impl <a cla...
Vinatorul/clog-lib
docs/implementors/core/fmt/trait.Display.js
JavaScript
mit
972
/* jshint asi:true*/ steal("can/map", "can/compute", "can/test", "can/list", function(){ module('can/map'); test("Basic Map", 4, function () { var state = new can.Map({ category: 5, productType: 4 }); state.bind("change", function (ev, attr, how, val, old) { equal(attr, "category", "correct change ...
gosukiwi/canjs
map/map_test.js
JavaScript
mit
5,829
'use strict'; const chai = require('chai'), expect = chai.expect, Support = require(__dirname + '/../support'), DataTypes = require(__dirname + '/../../../lib/data-types'), current = Support.sequelize, Promise = current.Promise, sinon = require('sinon'); describe(Support.getTestDialectTeaser('Instance...
konnecteam/sequelize
test/unit/instance/set.test.js
JavaScript
mit
5,087
var sectionHeaders = require("./sectionHeaders"); function scrollDownByTopMostSectionHeaderHeightIfNecessary(fragmentId){ var header = sectionHeaders.getSectionHeaderForId(fragmentId); if (header.id != fragmentId){ window.scrollBy(0, -header.getBoundingClientRect().height); } } function scrollToF...
soppysonny/wikipedia-ios
www/js/scrollToFragment.js
JavaScript
mit
776
var cwd = process.cwd(); var router = require('express').Router(); var notifications = require(cwd + '/services/notifications'); /** * POST /api/sms * * Accepts incoming SMS messages from Twilio, passes them to the * notifications service in order to get the appropriate TwiML * response, and returns that as a r...
benwilhelm/kcbx-petcoke
routes/api/sms.js
JavaScript
mit
591
/* @flow */ import express, { Router } from "express"; const app = express(); // $FlowExpectedError property `foo` Property not found in Application: app.foo(); app.locals.title = "My Express App"; // $FlowExpectedError Symbol: This type is incompatible with string app.locals[Symbol("bad")] = "Should not work"; //...
flowtype/flow-typed
definitions/npm/express_v4.17.x/test_express_v4.17.x.js
JavaScript
mit
6,018
/*! Select2 4.0.9 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/mk",[],function(){return{inputTooLong:function(n){var e=(n.input.length,n.maximum,"Ве молиме внесете "+n.maximum...
sufuf3/cdnjs
ajax/libs/select2/4.0.9/js/i18n/mk.js
JavaScript
mit
1,037
/* 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/3.20191014.4/msg/el.js
JavaScript
mit
46,599
/* * GoJS v2.0.1 JavaScript Library for HTML Diagrams * Northwoods Software, https://www.nwoods.com/ * GoJS and Northwoods Software are registered trademarks of Northwoods Software Corporation. * Copyright (C) 1998-2019 by Northwoods Software Corporation. All Rights Reserved. * THIS SOFTWARE IS LICENSED. THE LIC...
sufuf3/cdnjs
ajax/libs/gojs/2.0.1/go.js
JavaScript
mit
867,869
/** * 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.0.11 (2019-07-04) */ (function () { 'use strict'; ...
sufuf3/cdnjs
ajax/libs/tinymce/5.0.11/plugins/searchreplace/plugin.js
JavaScript
mit
24,768
version https://git-lfs.github.com/spec/v1 oid sha256:91f6a124770a43f343305da3503b10b1dc85efbb4511f8149ecb936945420268 size 5985
yogeshsaroya/new-cdnjs
ajax/libs/absurd/0.0.33/absurd.min.js
JavaScript
mit
129
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) {...
pborel/polisee
node_modules/material-ui/lib/table/table-row.js
JavaScript
mit
5,548
/* Highcharts JS v7.0.1 (2018-12-19) Indicator series type for Highstock (c) 2010-2018 Kacper Madej License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?module.exports=a:"function"===typeof define&&define.amd?define(function(){return a}):a("undefined"!==typeof Highcharts?...
sufuf3/cdnjs
ajax/libs/highcharts/7.0.1/indicators/roc.js
JavaScript
mit
820
define("rollbar", [], function() { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(in...
extend1994/cdnjs
ajax/libs/rollbar.js/2.9.0/rollbar.named-amd.js
JavaScript
mit
168,499
//# sourceMappingURL=label-common.js.map
gdtdpt/nativescript-sqlite-migration
MigrationTest/node_modules/tns-core-modules/ui/label/label-common.js
JavaScript
mit
40
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GalleriaItem = void 0; var _react = _interopRequireWildcard(require("react")); var _classnames = _interopRequireDefault(require("classnames")); var _Ripple = require("../ripple/Ripple"); function _interopRequireDefault(obj) { re...
cdnjs/cdnjs
ajax/libs/primereact/5.0.1/components/galleria/GalleriaItem.js
JavaScript
mit
11,855
/*! * VisualEditor MediaWiki Initialization LinkCache class. * * @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ ( function () { var hasOwn = Object.prototype.hasOwnProperty; // TODO should reuse ve.dm.MWInternalLinkAnnotation#getLookupTitl...
felixonmars/app
extensions/VisualEditor/modules/ve-mw/init/ve.init.mw.LinkCache.js
JavaScript
gpl-2.0
5,504
/** * PhalApi框架 React-Naitve请求SDK * * "ダSimVlove辉"提供,QQ:254059780 有好的意见或建议请联系我 2016-03-08 * * 分为3种请求方式:get,post * * 所有请求均统一传递4个参数值(请求地址,接口名称.请求参数GET传递拼接好的参数 * Post传递数组key-value值,回调函数) * * 统一使用方式如下 import PhalApi from 'sdk所在目录' const data = {user_id: "2"} PhalApi.apiPost("http://192.168.1.107/PhalApi_1....
WRdong/phalapi
sdk/React-Native/PhalApi.js
JavaScript
gpl-2.0
2,378
/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy...
T0MM0R/magento
web/js/mage/adminhtml/events.js
JavaScript
gpl-2.0
5,526
tinyMCE.addI18n('nn.oacslink_dlg',{ title:"Set inn / rediger lenkje", url:"Lenkje-URL", target:"M\u00E5l", titlefield:"Tittel", is_email:"URL-en du skreiv inn ser ut til \u00E5 vere ei e-postadresse. \u00D8nskjer du \u00E5 leggje til det obligatoriske mailto:-prefikset?", is_external:"URL-en du skreiv inn ser ut ...
jwlynch/openacs.core
packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/langs/nn_dlg.js
JavaScript
gpl-2.0
1,842
Ext.ns('ose','ose.quickGrid'); ose.quickGrid.build = function(store,cm,sm) { this.store = store; this.cm = cm; this.sm = sm; this.grid = ''; this.editForm = ''; this.formOpt = ''; this.winOpt = ''; this.buildTopToolbar = function() { return new Ext.Toolbar({ items: [{ text: 'Add' ,itemId: 'btnAdd'...
Jasonudoo/platform
components/com_ose_cpu/extjs/grid/quickgrid.js
JavaScript
gpl-2.0
3,273
/** * Cesium - https://github.com/CesiumGS/cesium * * Copyright 2011-2020 Cesium Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
virtualrobotix/MissionPlanner
ExtLibs/wasm/wwwroot/Cesium/Workers/createPlaneGeometry.js
JavaScript
gpl-3.0
8,728
/** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ /*jshint browser:true jquery:true*/ (function (factory) { if (typeof define === 'function' && define.amd) { define([ "jquery", "mage/mage" ], factory); } else { facto...
rajmahesh/magento2-master
vendor/magento/magento2-base/lib/web/mage/translate.js
JavaScript
gpl-3.0
1,777
(function($){ $(document).ready(function(){ $('.ff-layout-active').click(function(){ var postId = $(this).find('.ff-layout-active-info').find('.post-id').html(); var status = true; if( $(this).find('.ff-layout-active-button').find('.switch').hasClass('switch--off') ) { sta...
MarmonDesigns/cloud.ky
wp-content/themes/milo/install/fresh-framework/framework/themes/layouts/assets/layout-columns.js
JavaScript
gpl-3.0
1,144
/* globals describe, beforeEach, afterEach, $fixture, qq, assert, it, qqtest, helpme, purl, Q */ describe("uploader.basic.api.js", function () { "use strict"; var $uploader, fineuploader; beforeEach(function () { $fixture.append("<div id='fine-uploader'></div>"); $uploader = $fixture.find(...
arout/halcyon
public/plugins/fine-uploader/test/unit/uploader.basic.api.js
JavaScript
gpl-3.0
16,919
/*! Copyright (C) 2013 by WebReflection 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, merge, publish, distribut...
diltarget/SmartPodExperimental
node_modules/dblite/build/dblite.node.js
JavaScript
gpl-3.0
29,678
/*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || ...
Peergos/web-ui
vendor/dev/vuex.js
JavaScript
gpl-3.0
38,272
// Copyright 2015 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. (function() { 'use strict'; /** * 'site-data-details-subpage' Display cookie contents. */ Polymer({ is: 'site-data-details-subpage', behaviors: ...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
JavaScript
gpl-3.0
3,504
import React from 'react'; import SPELLS from 'common/SPELLS'; import Analyzer from 'parser/core/Analyzer'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import calculateMaxCasts from 'parser/core/calculateMaxCasts'; import Voidform from './Voidform'; const DISPERSION_...
ronaldpereira/WoWAnalyzer
src/parser/priest/shadow/modules/spells/Dispersion.js
JavaScript
agpl-3.0
2,600
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2007 by Christian Boulanger License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/documents/epl-v10.php ...
sebastienhupin/qxrad
qooxdoo/framework/source/class/qx/ui/table/cellrenderer/Password.js
JavaScript
lgpl-3.0
1,427
module.exports={"zones":{"Etc/GMT-2":["z",{"wallclock":-1.7976931348623157e+308,"format":"GMT-2","abbrev":"GMT-2","offset":7200000,"posix":-1.7976931348623157e+308,"save":0}]},"rules":{}}
hkernbach/arangodb
js/node/node_modules/timezone/Etc/GMT-2.js
JavaScript
apache-2.0
187
import {isElement} from '#core/types'; import {stringHash32} from '#core/types/string'; /** * Gets a string of concatenated element names and relative positions * of the DOM element and its parentElement's (up to 25). Relative position * is the index of nodes with this tag within the parent's children. * The orde...
jpettitt/amphtml
src/core/dom/fingerprint.js
JavaScript
apache-2.0
2,912
var Metrics = require('./metrics') , Reporting = require('./reporting'); exports.Histogram = Metrics.Histogram; exports.Meter = Metrics.Meter; exports.Counter = Metrics.Counter; exports.Timer = Metrics.Timer; exports.Server = Reporting.Server; exports.version = '0.0.1';
racker/node-rackspace-shared-utils
node_modules/metrics-ck/index.js
JavaScript
apache-2.0
280
// Copyright (c) 2006 Google Inc. // All rights reserved // // This file is part of the Google Desktop SDK and may be freely copied and used. // To download the latest version of the SDK please visit // http://desktop.google.com/ // Start with a checked Item C var itemCChecked = true; function onOpen() { // Call ...
yogeshtomar/google-calculator
google-desktop-sdk/MenuItems/main.js
JavaScript
apache-2.0
1,034
Prism.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|\w*"(?:\\.|[^"\\\r\n])*"|(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'|`(?:[^\\`\r\n]|\\.)*`/,l...
kaya33/kaya33.github.io
node_modules/prismjs/components/prism-julia.min.js
JavaScript
apache-2.0
979
/** * Copyright 2020 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
lannka/amphtml
test/unit/utils/test-display-observer.js
JavaScript
apache-2.0
19,214
/* * 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 ...
hguehl/incubator-guacamole-client
guacamole/src/main/webapp/app/rest/services/languageService.js
JavaScript
apache-2.0
2,079
Object.defineProperty(exports,"__esModule",{value:true});var _color=require('color');var _color2=_interopRequireDefault(_color); var _reactNative=require('react-native');function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};} var deviceHeight=_reactNative.Dimensions.get('window').height; v...
tausifmuzaffar/bisApp
node_modules/native-base/dist/src/theme/variables/material.js
JavaScript
apache-2.0
5,439
"use strict"; // In theory, this function should apply the account-level defaults, // however, they are only called after a manual override, so // doing so is unnecessary with the current code. Ideally, we'd do a // refactor to address that, however. function update_stream_setting(sub, value, setting) { const set...
showell/zulip
static/js/stream_events.js
JavaScript
apache-2.0
5,372
// 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-%typedarray%.prototype.join description: > Concatenates the result of toString for each value with custom separator info: | 22.2.3.15 %TypedArray%.prototype.join ...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArray/prototype/join/BigInt/custom-separator-result-from-tostring-on-each-simple-value.js
JavaScript
bsd-2-clause
2,655
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Referencing the arguments object from a default parameter (class expression method) esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 feature...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/class/params-dflt-gen-meth-ref-arguments.js
JavaScript
bsd-2-clause
3,010
// This file was procedurally generated from the following sources: // - src/top-level-await/await-expr-literal-number.case // - src/top-level-await/syntax/top-level.template /*--- description: AwaitExpression NumberLiteral (Valid syntax for top level await.) esid: prod-AwaitExpression features: [top-level-await] flags...
sebastienros/jint
Jint.Tests.Test262/test/language/module-code/top-level-await/syntax/top-level-await-expr-literal-number.js
JavaScript
bsd-2-clause
1,074
module.exports = { "type": "Program", "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "o", ...
sebmck/espree
tests/fixtures/ecma-features/superInFunctions/super-property-call-in-object-literal.result.js
JavaScript
bsd-2-clause
12,200
var searchData= [ ['string_5fview_261',['string_view',['../namespacepmem_1_1kv.html#aa8cc4736e5bca1f316a2c9a79ff1150b',1,'pmem::kv']]] ];
pbalcer/pbalcer.github.io
content/pmemkv/v1.5/doxygen/search/typedefs_5.js
JavaScript
bsd-3-clause
140
/* * Author: Zoltán Lajos Kis <zoltan.lajos.kis@ericsson.com> */ "use strict"; module.exports.bin = [ 0x01, // version = 1 0x0b, // type = 11 0x00, 0x58, // length = 88 0x49, 0x96, 0x02, 0xd2, // xid =...
John-Lin/oflib-node
test/oflib-1.0/messages/flow-removed.js
JavaScript
bsd-3-clause
3,492
/** * JavaScript * History object, js 1.3. * * 17.07.2001, torstein@opera.com * * This test works a lot better on Linux than on Windows. * I don't know why, something todo with the creation of new * window objects -torstein. */ var tprop; var mywin; function main( historyObject ) { try { var cvs...
frivoal/presto-testo
core/standards/scripts/jstest-core-2/js-regression/scripts/js_history.js
JavaScript
bsd-3-clause
4,441
'use strict'; var adminApp = angular.module('adminApp', ['ui.bootstrap']); adminApp.config(function($routeProvider) { $routeProvider.when('/user', { templateUrl: 'views/user.html', title: 'User Settings', controller: 'UserCtrl' }).when('/general', { templateUrl: 'views/general....
ceph/calamari-clients
admin/app/scripts/app.js
JavaScript
mit
1,466
module.exports = { description: 'skips a dead branch (e)' };
Victorystick/rollup
test/form/skips-dead-branches-e/_config.js
JavaScript
mit
62
var util = require("util"); var ast_types = require("./esprima_ast_types.js"); function new_env() { var diffs = {}; var astTypesErrors = {}; var pathsWithAstTypesErrors = {}; var path = ["root"]; return { push_path: path.push.bind(path), pop_path: path.pop.bind(path), diff: function(type, expect...
claudiopro/flow
packages/flow-parser/test/hardcoded_test_runner.js
JavaScript
mit
6,254
var C = /*#__PURE__*/ function () { function C() {} var _proto = C.prototype; _proto.m = function m(x) { return 'a'; }; return C; }();
shuhei/babel
packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/transformed-class-method-loose-return-type-annotation/output.js
JavaScript
mit
152
"use strict"; angular.module('arethusa.core').factory('User', [ function() { return function(args) { this.name = args.name; this.fullName = args.fullName; this.mail = args.mail; this.page = args.page; }; } ]);
Masoumeh/arethusa
app/js/arethusa.core/user.js
JavaScript
mit
259
return decodeURIComponent(clipText);
naotaka/ClipMenu
resource/script/action/HTML/Decode URI component.js
JavaScript
mit
38
const cloverfield = parser => commands => { commands.forEach(({command, options, callback, help}) => parser .command(command) .options(options) .callback(callback) .help(help)); parser.script('cf'); }; export default cloverfield;
ericelliott/cloverfield
lib/cloverfield.js
JavaScript
mit
266
//= require twitter/bootstrap
presidentbeef/inject-some-sql
rails6/app/javascript/application.js
JavaScript
mit
30
var options = { manager: require("../../../../src/managers/inventory/finishing-printing/fp-retur-to-qc-doc-manager"), model: require("dl-models").inventory.finishingPrinting.FPReturToQCDoc, util: require("../../../data-util/inventory/finishing-printing/fp-retur-to-qc-doc-data-util"), validator: require(...
indriHutabalian/dl-module
test/inventory/finishing-printing/fp-retur-to-qc-doc/basic.js
JavaScript
mit
517
const ChatpalLogger = new Logger('Chatpal Logger', {}); export default ChatpalLogger;
pitamar/Rocket.Chat
packages/chatpal-search/server/utils/logger.js
JavaScript
mit
86
module.exports={A:{A:{"1":"A B","2":"H G F C SB"},B:{"1":"D q W I"},C:{"1":"0 1 2 3 QB E K H G F C A B D q W I L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r g OB NB"},D:{"1":"0 1 2 6 9 E K H G F C A B D q W I L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r g CB RB A...
RosApr/RosApr.github.io
node_modules/caniuse-lite/data/features/atob-btoa.js
JavaScript
mit
750
import _ from 'lodash' import cx from 'classnames' import React, { PropTypes } from 'react' import { createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, META, SUI, useValueAndKey, useVerticalAlignProp, } from '../../lib' import ListDescription from './ListDescription' import Li...
clemensw/stardust
src/elements/List/ListContent.js
JavaScript
mit
2,068
/*! Select2 4.0.6 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:...
extend1994/cdnjs
ajax/libs/select2/4.0.6/js/i18n/hi.js
JavaScript
mit
1,219
var parent = require('../actual/parse-int'); module.exports = parent;
zloirock/core-js
packages/core-js/features/parse-int.js
JavaScript
mit
71
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
aykutyaman/meteor1.3-react-flowrouter-demo
node_modules/material-ui/lib/svg-icons/action/accessibility.js
JavaScript
mit
1,009
var MAX_FILAMENTS = 10; var SPEED_SCALE = 0.00004; var FILAMENT_RADIUS = 0.1; var FRAMES_BETWEEN_EMISSIONS = 50; var PARTICLE_LIFETIME = FRAMES_BETWEEN_EMISSIONS * MAX_FILAMENTS; //frames between particle respawns var FILAMENT_GEOMETRY_RADIUS_SCALE = 0.035;
henryyp/vortexspheres
sharedvortexfilamentsconstants.js
JavaScript
mit
261
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); if (typeof state === "func...
cdnjs/cdnjs
ajax/libs/openplayerjs/2.9.4/esm/controls/time.js
JavaScript
mit
10,981
/*WE DON'T NEED THIS ANYMORE remove after remove form rc*/ /** @module mixins **/ import Ember from 'ember'; /** This class will be removed soon. @class LocalstorageId @deprecated **/ export default Ember.Mixin.create({ serialize() { let json = this._super.apply(this, arguments); if (json._id) { json....
pretender91/ember-data-offline
addon/mixins/localstorage-id.js
JavaScript
mit
367
/** * Loads the Search page * * @class MODx.page.Search * @extends MODx.Component * @param {Object} config An object of configuration properties * @xtype modx-page-search */ MODx.page.Search = function(config) { config = config || {}; Ext.applyIf(config,{ components: [{ xtype: 'modx-pan...
cameronscott137/rustbuilt
wp-content/themes/rustbuilt/manager/assets/modext/sections/search.js
JavaScript
gpl-2.0
591
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'stylescombo', 'sq', { label: 'Stil', panelTitle: 'Stilet e Formatimit', panelTitle1: 'Stilet e Bllokut', panelTitle2: 'Stili i Brendshëm', panelT...
SeeyaSia/www
web/libraries/ckeditor/plugins/stylescombo/lang/sq.js
JavaScript
gpl-2.0
353
/** * @file * This file contain the javascript necessary to display google maps created * using the WYSIWYG inline map token builder. */ (function ($) { Drupal.behaviors.google_map_field_tokens = { attach: function (context) { var map_collection = Drupal.settings.gmf_token_maps; var map = []; ...
oksuk/geekhub
sites/all/modules/google_map_field/js/google_map_field_token_maps.js
JavaScript
gpl-2.0
1,037
function test() { return typeof Number.isSafeInteger === 'function'; } if (!test()) throw new Error("Test failed");
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/es6/Number_properties_Number.isSafeInteger.js
JavaScript
gpl-2.0
130
jQuery(window).bind('load', function(){ if(jQuery('#indeed_top_ism').length){ width = jQuery('#indeed_top_ism').width(); position = jQuery('#indeed_top_ism').offset(); top_d = position.top; left_d = position.left; right_d = position.left+parseInt(width); } if(...
srwiser/ssctube
wp-content/plugins/indeed-social-media_v5.1/files/js/front_end_header.js
JavaScript
gpl-2.0
1,234
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** 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 Lic...
tmhorne/celtx
js/tests/js1_5/Regress/regress-350268.js
JavaScript
mpl-2.0
3,124
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** 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 Lic...
tmhorne/celtx
js/tests/js1_5/Regress/regress-271716-n.js
JavaScript
mpl-2.0
2,335
var Qubit = Qubit || {}; // Usage: log('inside coolFunc',this,arguments); // http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ window.log = function() { log.history = log.history || []; log.history.push(arguments); if (this.console) { console.log( Array.prototype.slice.call(a...
CENDARI/atom
js/qubit.js
JavaScript
agpl-3.0
725
'use strict'; define(function() { function CtxMenusService(core) { this.name = 'ctxMenus'; /*************************************** /* Right click context menus. Being able to exchange an identity over a public medium (say a forum or email) is useful if you want to setup a multisig ac...
salmion/dashwallet
src/js/backend/services/ctxmenus.js
JavaScript
agpl-3.0
1,759
var balanced = require('balanced-match'); var Color = require('color'); var parse = require('./parse'); var adjusters = require('./adjusters'); /** * Expose `convert`. */ module.exports = convert; /** * Convert a color function CSS `string` into an RGB color string. * * @param {String} string * @return {Strin...
mrkwse/.atom
packages/project-palette-finder/node_modules/pigments/node_modules/css-color-function/lib/convert.js
JavaScript
unlicense
1,358
/** * @overview Yieldbot sponsored Prebid.js adapter. * @author elljoh */ var adloader = require('src/adloader'); var bidfactory = require('src/bidfactory'); var bidmanager = require('src/bidmanager'); var utils = require('src/utils'); var adaptermanager = require('src/adaptermanager'); /** * Adapter for requestin...
hadarpeer/Prebid.js
modules/yieldbotBidAdapter.js
JavaScript
apache-2.0
6,826
/*global define*/ define([ '../Core/defaultValue', '../Core/getStringFromTypedArray' ], function( defaultValue, getStringFromTypedArray) { "use strict"; /** * @private */ function getMagic(uint8Array, byteOffset) { byteOffset = defaultValue...
skyritsis/rescueNet_mygeoss
www/js/apis_old/Core/getMagic.js
JavaScript
apache-2.0
471
/*global more*/ /** * 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 ...
ChetnaChaudhari/tez
tez-ui/src/main/webapp/app/adapters/timeline.js
JavaScript
apache-2.0
3,318
//// [classStaticBlock1.ts] const a = 2; class C { static { const a = 1; a; } } //// [classStaticBlock1.js] const a = 2; class C { static { const a = 1; a; } }
microsoft/TypeScript
tests/baselines/reference/classStaticBlock1(target=esnext).js
JavaScript
apache-2.0
223
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
jdelhommeau/amphtml
extensions/amp-facebook-comments/0.1/amp-facebook-comments.js
JavaScript
apache-2.0
2,408
({ L_CAL_NAV_PREVIOUS: "Vorige", L_CAL_NAV_NEXT: "Volgende", L_CAL_NAV_MONTH: "Maand", L_CAL_HEADER_DAYS_WEEK: "Dagen van de week", L_CAL_HEADER: "Agendakoptekst", L_CAL_HEADER_DAY: "Dagkoptekst %1", L_CAL_EVENT_ALLDAY: "Dagevenement %1", L_CAL_NOENTRY: "Geen items", L_CAL_GRID: "Agendaraster", L_CAL_PICKER_POPUP: "Dat...
iharkhukhrakou/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/cv/nls/nl/calendarViewExtra.js
JavaScript
apache-2.0
983
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
lannka/amphtml
ads/vendors/yahoojp.js
JavaScript
apache-2.0
951
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var noop = require("./noop"); /** * Span represents a logical unit of work as part of a broader Trace. Examples * of span might include remote procedure calls or a in-process function calls * to sub-components. A Trace has a single, top-lev...
BigBoss424/portfolio
v8/development/node_modules/opentracing/lib/span.js
JavaScript
apache-2.0
7,763
$.register({ rule: { host: /^(www\.)?clictune\.com$/, path: /^\/id=\d+/, }, ready: function () { 'use strict'; $.removeNodes('iframe'); var matches = $.searchScripts(/<a href="http:\/\/(?:www.)?clictune\.com\/redirect\.php\?url=([^&]+)&/); var url = decodeURIComponent(matches[1]); ...
tablesmit/adsbypasser
src/sites/link/clictune.com.js
JavaScript
bsd-2-clause
519
// Copyright 2020 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. // TODO(jimmyxgong): use es6 module for mojo binding crbug/1004256 import 'chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.js'; import 'chrome:/...
chromium/chromium
chrome/test/data/webui/chromeos/print_management/print_management_test.js
JavaScript
bsd-3-clause
42,674
import {geoProjection as projection} from "d3-geo"; import {pi, sqrt} from "./math"; export function wagner6Raw(lambda, phi) { return [lambda * sqrt(1 - 3 * phi * phi / (pi * pi)), phi]; } wagner6Raw.invert = function(x, y) { return [x / sqrt(1 - 3 * y * y / (pi * pi)), y]; }; export default function() { retur...
Fil/d3-geo-projection
src/wagner6.js
JavaScript
bsd-3-clause
369
import React from 'react'; import { Provider } from 'react-redux'; import requestsTracker from './requestsTracker'; import configStore from './configStore'; import App from './App'; const store = configStore(); const websocket = new WebSocket('ws://localhost:4000'); websocket.onopen = function (event) { websocket....
gterzian/flux-challenge
submissions/leoasis/src/index.js
JavaScript
mit
616