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
this.primereact = this.primereact || {}; this.primereact.csstransition = (function (exports, React, reactTransitionGroup) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy(Rea...
cdnjs/cdnjs
ajax/libs/primereact/6.6.0/csstransition/csstransition.js
JavaScript
mit
8,283
module.exports={title:"Ethereum",slug:"ethereum",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Ethereum</title><path d="'+this.path+'"/></svg>'},path:"M11.944 17.97L4.58 13.62 11.943 24l7.37-10.38-7.372 4.35h.003zM12.056 0L4.69 12.223l7.365 4.354 7.365-4.35L12.056 0z",so...
cdnjs/cdnjs
ajax/libs/simple-icons/5.24.0/ethereum.min.js
JavaScript
mit
406
var Connection = require('./connection').Connection, ReadPreference = require('./read_preference').ReadPreference, DbCommand = require('../commands/db_command').DbCommand, MongoReply = require('../responses/mongo_reply').MongoReply, debug = require('util').debug, EventEmitter = require('events').EventEmitter,...
cw0100/cwse
nodejs/node_modules/rrestjs/node_modules/mongodb/lib/mongodb/connection/repl_set.js
JavaScript
gpl-2.0
39,808
/** * Demonstrates how use Ext.chart.series.Line */ //<feature charts> Ext.define('Kitchensink.view.LineChart', { extend: 'Ext.Panel', requires: ['Ext.chart.Chart', 'Ext.chart.series.Line', 'Ext.chart.axis.Numeric', 'Ext.chart.axis.Time', 'Ext.chart....
gaiaehr/gaiaehr
lib/sencha-touch-2.1.0-gpl/examples/kitchensink/app/view/LineChart.js
JavaScript
gpl-3.0
2,804
// Debugger.Frame.prototype.this in functions, with object values function classOf(obj) { return Object.prototype.toString.call(obj).match(/^\[object (.*)\]$/)[1]; } var g = newGlobal('new-compartment'); var dbg = new Debugger(g); var hits = 0; dbg.onDebuggerStatement = function (frame) { hits++; assertEq...
sean93park/mozjs24
js/src/jit-test/tests/debug/Frame-this-04.js
JavaScript
mpl-2.0
701
$(document).ready(function(){ //smockScrolling $.smockScrolling({speed:200}); //Scroll se activa el menu segun la seccion en la que se este $('body').scrollspy({ target: '.list-group' }) //Se activa el menu al click $('.list-group a').click(function(){ $('.list-group-item').removeClass('active'); $(this).add...
PeterDaveHello/smoke
docs/v1.0/js/scripts.js
JavaScript
lgpl-3.0
4,926
/** * Copyright (C) 2005-2016 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
davidcognite/Aikau
aikau/src/test/resources/alfresco/search/NoHashSearchingTest.js
JavaScript
lgpl-3.0
5,166
// Copyright 2014 Samsung Electronics Co., Ltd. // // 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 la...
LeeHayun/jerryscript
tests/jerry-test-suite/11/11.09/11.09.02/11.09.02-013.js
JavaScript
apache-2.0
643
/*! Copyright (C) 2017 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> */ describe('GGRC.Components.autocomplete', function () { 'use strict'; var Component; // the component under test beforeAll(function () { Component = GGRC.Components.get('autocomplete'); ...
plamut/ggrc-core
src/ggrc/assets/javascripts/components/autocomplete/tests/autocomplete_spec.js
JavaScript
apache-2.0
1,947
/** * 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...
keedio/ambari-web
app/views/main/admin/highAvailability/nameNode/step5_view.js
JavaScript
apache-2.0
1,005
/* * Copyright 2012 Amadeus s.a.s. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
vcarle/ariatemplates
test/aria/widgets/container/dialog/closeOutside/Issue389RobotTestCase.js
JavaScript
apache-2.0
2,225
// This file was procedurally generated from the following sources: // - src/function-forms/params-trailing-comma-single.case // - src/function-forms/default/async-gen-named-func-expr.template /*--- description: A trailing comma should not increase the respective length, using a single parameter (async generator named ...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/async-generator/named-params-trailing-comma-single.js
JavaScript
bsd-2-clause
1,274
// This file was procedurally generated from the following sources: // - src/dstr-binding/ary-ptrn-elem-id-iter-complete.case // - src/dstr-binding/default/cls-expr-async-gen-meth-static.template /*--- description: SingleNameBinding when value iteration completes (static class expression async generator method) esid: s...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-complete.js
JavaScript
bsd-2-clause
2,539
// This file was procedurally generated from the following sources: // - src/dstr-binding/ary-ptrn-elem-obj-prop-id-init.case // - src/dstr-binding/default/cls-decl-async-gen-meth-static-dflt.template /*--- description: BindingElement with object binding pattern and initializer is used (static class expression async ge...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js
JavaScript
bsd-2-clause
2,704
jQuery(document).ready(function() { jQuery("#comments-form").submit(function(e) { var hasbip = jQuery(this).find('input.bip'); if (hasbip.size() > 0) { return false; } }); jQuery(".best_in_place").best_in_place(); jQuery("#require_fname, #show_fname").click...
mcaj/czechtransfers
wp-content/plugins/wp-customer-reviews/wp-customer-reviews-admin.js
JavaScript
bsd-3-clause
24,536
module.exports = function (f, l, assert) { return { 'dont remove comments': function () { var code = 'var i = 0;\n//test\ni++;' var result = 'var i = 0;\n//test\ni++;' var real = f(code, {}); assert.equal(real, result) } } }
jshint/fixmyjs
test/comments-must-stay-test.js
JavaScript
mit
261
/** * @file 求解二次方程贝塞尔根 * @author mengke01(kekee000@gmail.com) */ define( function (require) { var quadraticEquation = require('./quadraticEquation'); /** * 求解二次方程贝塞尔根 * * @param {number} a a系数 * @param {number} b b系数 * @param {number} c c系数 ...
nagyistoce/ecomfe-fonteditor
src/math/bezierQ2Equation.js
JavaScript
mit
818
// Copyright 2014 the V8 project authors. All rights reserved. // AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY // Flags: --allow-natives-syntax --harmony --harmony-proxies var _holder = new Map(); var _key = new Object(); %MapHas(_holder, _key);
eliquious/go-v8
v8-3.28/test/mjsunit/runtime-gen/maphas.js
JavaScript
mit
266
/*jslint plusplus: true, nomen: true, es5: true, regexp: true, browser: true, devel: true*/ /*global $, ChessUtils, module */ /* ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ChessboardJS --------------------...
ise-ethereum/on-chain-chess
static/javascript/chessboard.js
JavaScript
mit
47,075
/*globals describe, before, afterEach, beforeEach, it*/ var should = require('should'), sinon = require('sinon'), _ = require('lodash'), Promise = require('bluebird'), hbs = require('express-hbs'), utils = require('./utils'), configUtils ...
Hi-Rube/RubeBlog
core/test/unit/server_helpers/ghost_head_spec.js
JavaScript
mit
56,933
import baseTimes from './_baseTimes.js'; import isArguments from './isArguments.js'; import isArray from './isArray.js'; import isIndex from './_isIndex.js'; /** Used for built-in method references. */ var objectProto = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty = objectProt...
jintoppy/react-training
step9-redux/node_modules/lodash-es/_arrayLikeKeys.js
JavaScript
mit
1,194
/* eslint-env mocha */ /* globals expect */ /* eslint no-unused-vars: 0 */ import {getCredentials, api, login, request, credentials, group, log, apiPrivateChannelName } from '../../data/api-data.js'; import {adminEmail, password} from '../../data/user.js'; import supertest from 'supertest'; function getRoomInfo(roomI...
ealbers/Rocket.Chat
tests/end-to-end/api/03-groups.js
JavaScript
mit
10,758
version https://git-lfs.github.com/spec/v1 oid sha256:21b513cb5ef1e7c6f2a1835e4972f5ab170408c1986313a2bc23ebb174afca6e size 144659
yogeshsaroya/new-cdnjs
ajax/libs/phaser/0.9.7/phaser-06.min.js
JavaScript
mit
131
/** * Checkbox.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This control creates a custom checkbox. * * @example * // Create and render a checkbox to the...
jackhummah/bootles
vendor/tinymce/tinymce-4.6.4/src/core/src/main/js/ui/Checkbox.js
JavaScript
mit
4,366
describe("api/ng.directive:ngStyle", function() { beforeEach(function() { browser.get("index-jq-nocache.html#!/api/ng.directive:ngStyle"); }); var colorSpan = element(by.css('.doc-example-live span')); it('should check ng-style', function() { expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)'); ...
Master244/Netwerven-Test-Site
wp-content/themes/netwerven/library/js/angular-1.2.13/docs/ptore2e/api/ng.directive:ngStyle.jquery_test.js
JavaScript
gpl-2.0
597
/** * Command line config helpers */ var fs = require('fs'); var path = require('path'); var stripJSONComments = require('strip-json-comments'); var supportsColor = require('chalk').supportsColor; var glob = require('glob'); var resolve = require('resolve'); // Configuration sources in priority order. var configs ...
chrisdc/ventnor
node_modules/grunt-jscs/node_modules/jscs/lib/cli-config.js
JavaScript
gpl-2.0
5,096
describe('Controller: ContentViewVersionDeletionActivationKeysController', function() { var $scope, Organization, CurrentOrganization; beforeEach(module('Bastion.content-views', 'Bastion.test-mocks', 'Bastion.i18n')); beforeEach(inject(function($injector) { var Nutupane, $controller = ...
komidore64/katello
engines/bastion_katello/test/content-views/details/deletion/content-view-version-deletion-activation-keys.controller.test.js
JavaScript
gpl-2.0
3,457
function test_interfaces(interfaceNamesInGlobalScope) { test(function() { // This is a list of interfaces that are exposed to every webpage by SpiderMonkey. // IMPORTANT: Do not change this list without review from a JavaScript Engine peer! var ecmaGlobals = [ "Array", "ArrayBuffer", "At...
wldcordeiro/servo
tests/wpt/mozilla/tests/mozilla/interfaces.js
JavaScript
mpl-2.0
2,310
/* * 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/. */ /* * Copyright (c) 2014, Joyent, Inc. */ var Backbone = require('backbone'); var _ = require('underscore');...
andyYatskov/sdc-adminui
www/js/models/collection.js
JavaScript
mpl-2.0
1,286
enyo.depends( "enyo.js", "version.js", "ready.js", "rendered.js", "../../loader.js", "boot.js" );
1900/enyo
source/boot/package.js
JavaScript
apache-2.0
104
//// [arrayLiterals.ts] // Empty array literal with no contextual type has type Undefined[] var arr1= [[], [1], ['']]; var arr2 = [[null], [1], ['']]; // Array literal with elements of only EveryType E has type E[] var stringArrArr = [[''], [""]]; var stringArr = ['', ""]; var numberArr = [0, 0.0, 0x00, 1e1]; v...
mkusher/TypeScript
tests/baselines/reference/arrayLiterals.js
JavaScript
apache-2.0
3,421
/* * Adding this to a javascript file that is included on your site will ensure * that AJAX POST requests that are made via jQuery will not be caught by the * CSRF protection. * * https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax */ $(document).ajaxSend(function(event, xhr, settings) { function get...
artcz/epcon
data/static/conference/init.js
JavaScript
bsd-2-clause
10,269
import CircleStyle from '../../../../../src/ol/style/Circle.js'; import Feature from '../../../../../src/ol/Feature.js'; import Fill from '../../../../../src/ol/style/Fill.js'; import Point from '../../../../../src/ol/geom/Point.js'; import Stroke from '../../../../../src/ol/style/Stroke.js'; import Style, {toFunction}...
ahocevar/ol3
test/browser/spec/ol/style/style.test.js
JavaScript
bsd-2-clause
8,359
// Copyright 2013 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. // Open a popup then return control to the ApiTest. // The ApiTest can reply to the ready message to request another popup to open. chrome.browserAction.o...
danakj/chromium
chrome/test/data/extensions/api_test/browser_action/open_popup/open_popup_succeeds.js
JavaScript
bsd-3-clause
676
/// Water particle. var b2_waterParticle = 0; /// Removed after next simulation step. var b2_zombieParticle = 1 << 1; /// Zero velocity. var b2_wallParticle = 1 << 2; /// With restitution from stretching. var b2_springParticle = 1 << 3; /// With restitution from deformation. var b2_elasticParticle = 1 << 4; /// With vi...
gogachinchaladze/ivanets
jslib/liquidfun/jsBindings/Particle/b2Particle.js
JavaScript
mit
2,461
/*! jQuery UI - v1.10.4 - 2014-06-22 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie",...
camperjz/trident
plugins_public/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js
JavaScript
mit
851
/** A model representing a Topic's details that aren't always present, such as a list of participants. When showing topics in lists and such this information should not be required. @class TopicDetails @extends Discourse.Model @namespace Discourse @module Discourse **/ Discourse.TopicDetails = Discourse.Mo...
tadp/learnswift
app/assets/javascripts/discourse/models/topic_details.js
JavaScript
mit
2,241
module.exports={A:{A:{"16":"UB","644":"E B A","2308":"J C G"},B:{"1":"X g H L","16":"D"},C:{"1":"0 2 4 E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s","2":"1 SB F I J C G QB PB"},D:{"1":"0 2 4 8 V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s EB AB TB BB CB","16":"...
scaulfield01/HallHorn
node_modules/caniuse-lite/data/features/node-contains.js
JavaScript
mit
835
exports.BattlePokedex = { chansey: { inherit: true, abilities: {0:"Natural Cure",1:"Serene Grace"}, prevo: '' }, mrmime: { inherit: true, abilities: {0:"Swarm",1:"Technician"}, prevo: '' }, snorlax: { inherit: true, abilities: {0:"Immunity",1:"Thick Fat"}, prevo: '' } };
HoeenKid/Pokemon-Showdown-Johto
mods/gen3/pokedex.js
JavaScript
mit
296
/*! algoliasearch 3.28.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o...
ahocevar/cdnjs
ajax/libs/algoliasearch/3.28.0/algoliasearch.angular.js
JavaScript
mit
203,186
/*! Raven.js 3.26.1 (d8f8951) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2018 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function(f){if(typeof expor...
ahocevar/cdnjs
ajax/libs/raven.js/3.26.1/angular,ember,require/raven.js
JavaScript
mit
126,260
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.ja = {})); }(this, function (exports) { 'use strict'; var fp = typeof window !== "...
extend1994/cdnjs
ajax/libs/flatpickr/4.6.1/l10n/ja.js
JavaScript
mit
1,635
/** * @ngdoc object * @name Bastion.content-hosts.controller:ContentHostRegisterController * * @requires $scope * @requires $location * @requires Capsule * @requires Organization * @requires CurrentOrganization * @requires BastionConfig * * @description * Provides values to populate the code commands f...
pmoravec/katello
engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js
JavaScript
gpl-2.0
1,538
var searchData= [ ['rwhelper_2ec',['rwhelper.c',['../rwhelper_8c.html',1,'']]] ];
drhelius/Gearsystem
platforms/ios/dependencies/SDL-2.0.4-9174/visualtest/docs/html/search/files_72.js
JavaScript
gpl-3.0
84
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------...
SlateScience/MozillaJS
js/src/tests/js1_5/Regress/regress-323314-1.js
JavaScript
mpl-2.0
880
/* * * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; /* * * * Imports * * */ import '../../../Core/Renderer/SVG/SVGRenderer.js'; import ControllableMixin from '../Mixins/ControllableMixin.js'; import F from '../../../Core/FormatUtilities.js'; var format = F.fo...
sfu-ireceptor/gateway
public/js/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js
JavaScript
lgpl-3.0
14,133
/** * @fileoverview Rule to disallow the use of getComputedStyle * @author Patrick Kettner */ 'use strict'; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = { meta...
ZerpaTechnology/AsenZor
static/js/Modernizr/test/eslint/rules/no-global-getComputedStyle.js
JavaScript
lgpl-3.0
775
'use strict' module.exports = [ 'address', 'article', 'aside', 'base', 'basefont', 'blockquote', 'body', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dialog', 'dir', 'div', 'dl', 'dt', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'framese...
BigBoss424/portfolio
v7/development/node_modules/remark-parse/lib/block-elements.js
JavaScript
apache-2.0
742
// Miscellaneous early setup. var csrf_token; $(function () { // Display loading indicator. This disappears after the first // get_events completes. if (page_params.have_initial_messages && !page_params.needs_tutorial) { loading.make_indicator($('#page_loading_indicator'), {text: 'Loading...'}); ...
samatdav/zulip
static/js/setup.js
JavaScript
apache-2.0
1,767
(function () { "use strict"; WinJS.UI.Pages.define("/demos/circle/circle.html", { init: function (element, options) { var uniqueId = 0; var attractions = [ { name: "Fern Grotto", category: "Flora", location: "East", imageUrl: "http://www.kauai.com/photos/kauai/...
Impertatore/codeshow
codeShow.JS/codeShow.JS.Shared/demos/circle/circle.js
JavaScript
apache-2.0
10,392
/** * Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 r...
abimarank/carbon-apimgt
components/web/components/org.wso2.carbon.apimgt.auth.ui/src/main/fragments/auth-manager/public/js/auth/auth-manager.js
JavaScript
apache-2.0
7,547
/** * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
KnisterPeter/jreact
src/test/resources/react-0.11/node_modules/react/lib/Transaction.js
JavaScript
bsd-2-clause
9,652
var cdb = require('cartodb.js'); var DatasetsItem = require('./datasets/dataset_item_view'); var RemoteDatasetsItem = require('./datasets/remote_dataset_item_view'); /** * View representing the list of items */ module.exports = cdb.core.View.extend({ tagName: 'ul', className: 'DatasetsList', events: {}, ...
nyimbi/cartodb
lib/assets/javascripts/cartodb/common/dialogs/create/listing/datasets_list_view.js
JavaScript
bsd-3-clause
1,171
/** * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the ...
ajam/banquo-server
node_modules/aws-sdk/lib/services/api/autoscaling-2011-01-01.js
JavaScript
mit
31,951
var path = require('path') var e2c = require('electron-to-chromium/versions') var fs = require('fs') var agents = require('caniuse-lite/dist/unpacker/agents').agents var region = require('caniuse-lite/dist/unpacker/region').default function normalize (versions) { return versions.filter(function (version) { retu...
akhilapnair/exercism-ecmascript
sum-of-multiples/node_modules/browserslist/index.js
JavaScript
mit
19,311
var port = process.env.PORT || 4000, app = require('./app').init(port), utils = require('./utils'), conf = require('./conf'), request = require('request'), pageSize = 20; app.get('/', function(req, res){ var templates = require('./templates'); var starters = [], themes =...
laborautonomo/bootstrap-zero
server.js
JavaScript
mit
4,639
var parent = require('../../es/typed-array/slice'); module.exports = parent;
zloirock/core-js
packages/core-js/stable/typed-array/slice.js
JavaScript
mit
78
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
bohanapp/PropertyFinder
node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.js
JavaScript
mit
1,711
// @flow import * as node_path from 'path'; export default function isInFlowTypedRepo() { const PATTERN = new RegExp('\\' + node_path.sep + 'flow-typed'); return PATTERN.test(process.cwd()); }
echenley/flow-typed
cli/src/lib/isInFlowTypedRepo.js
JavaScript
mit
199
/* custom helpers */ Handlebars.registerHelper("even", function(options) { var intval = options.data.index / 2; if( intval === Math.ceil( intval ) ){ return options.fn(this); }else{ return false; } }); Handlebars.registerHelper("odd", function(options) { var intval = options.data.index ...
thely/wtsscheduling
wp-content/plugins/caldera-forms/assets/js/handlebars.baldrick.js
JavaScript
gpl-2.0
3,324
/* * Parser for builder elements */ ( function($) { var fusionParser = {}; window.fusionParser = fusionParser; var elements = []; /** * get editor data and add to array * @param NULL * @return NULL */ fusionParser.checkBuilderElements = function( publishRequest ) { elements = JSON.parse( fusion...
fredpaw/fzweb
wp-content/plugins/fusion-core/admin/page-builder/assets/js/fusion-parser.js
JavaScript
gpl-2.0
60,255
/* @flow */ import { escape, noUnitNumericStyleProps } from '../util' import { hyphenate } from 'shared/util' import { getStyle } from 'web/util/style' export function genStyle (style: Object): string { let styleText = '' for (const key in style) { const value = style[key] const hyphenatedKey = hyphenate(...
BigBoss424/portfolio
v6/node_modules/vue/src/platforms/web/server/modules/style.js
JavaScript
apache-2.0
1,069
$(function () { 'use strict'; var $image = $(window.createCropperImage()); $image.cropper({ built: function () { var cropper = $image.data('cropper'); QUnit.test('methods#enable', function (assert) { $image.cropper('disable').cropper('enable'); assert.equal(cropper.isDisabled, ...
ndtreviv/cropper
test/methods/enable.js
JavaScript
mit
423
/// <reference path="../code/code.js" /> /// <reference path="mocha.js" /> /// <reference path="chai.js" /> var expect = chai.expect; test("A basic test", function () { expect(true).to.be.ok; var value = "hello"; expect(value, "We expect value to be hello").to.equal("hello"); }); suite("stringLib"); tes...
mukulikadey/SOEN341-Group1
chutzpah/Facts.Integration/JS/Test/basic-mocha-qunit.js
JavaScript
mit
759
(function () { 'use strict'; /** * @ngdoc controller * @name Bastion.environments.controller:NewEnvironmentController * * @description * Handles creating a new environment. */ function NewEnvironmentController($scope, Environment, FormUtils, Notification, PathsService) { ...
Katello/katello
engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js
JavaScript
gpl-2.0
2,421
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'removeformat', 'es', { toolbar: 'Eliminar Formato' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/es.js
JavaScript
gpl-3.0
227
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'scayt', 'vi', { about: 'Thông tin về SCAYT', aboutTab: 'Thông tin', addWord: 'Thêm từ', allCaps: 'Không phân biệt chữ HOA chữ thường', dic_crea...
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/vi.js
JavaScript
gpl-3.0
1,795
{% load i18n %} L.drawLocal = { draw: { toolbar: { actions: { title: "{% trans "Cancel drawing" %}", text: "{% trans "Cancel" %}" }, undo: { title: "{% trans "Delete last point drawn" %}", text: "{% trans "De...
neilpelow/wmap-django
venv/lib/python3.5/site-packages/leaflet/templates/leaflet/_leaflet_draw_i18n.js
JavaScript
gpl-3.0
3,176
module.exports = require("core-js-pure/features/reflect/has-own-metadata");
BigBoss424/portfolio
v8/development/node_modules/@babel/runtime-corejs3/core-js/reflect/has-own-metadata.js
JavaScript
apache-2.0
75
module.exports = require("core-js-pure/features/math/atanh");
BigBoss424/portfolio
v8/development/node_modules/@babel/runtime-corejs3/core-js/math/atanh.js
JavaScript
apache-2.0
61
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'filetools', 'de', { loadError: 'Während dem Lesen der Datei ist ein Fehler aufgetreten.', networkError: 'Während dem Hochladen der ...
CCI-MIT/XCoLab
view/src/main/resources/static/js/lib/newckeditorplugins/filetools/lang/de.js
JavaScript
mit
780
function RTCStatsResponse(internalRTCStatsResponse) { 'use strict'; this.result = function result() { return internalRTCStatsResponse.result(); }; } module.exports = RTCStatsResponse;
diasdavid/webrtc-connect
node_modules/wrtc/lib/rtcstatsresponse.js
JavaScript
mit
196
import { Mixin } from 'ember-metal'; import { deprecate } from 'ember-debug'; /* The ControllerContentModelAliasDeprecation mixin is used to provide a useful deprecation warning when specifying `content` directly on a `Ember.Controller` (without also specifying `model`). Ember versions prior to 1.7 used `mode...
jherdman/ember.js
packages/ember-runtime/lib/mixins/controller_content_model_alias_deprecation.js
JavaScript
mit
1,547
/* * 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 ...
jeffmart/incubator-trafficcontrol
traffic_portal/app/src/common/modules/table/profileParameters/TableProfileParametersController.js
JavaScript
apache-2.0
6,387
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. 'use strict'; privateScriptController.installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { var kDefaultScrollAmount = 6; v...
js0701/chromium-crosswalk
third_party/WebKit/Source/core/html/HTMLMarqueeElement.js
JavaScript
bsd-3-clause
14,898
define( function ( require, exports, module ) { var a = require( './a' ); var d = require( './d' ); module.exports = { name: 'cjs/circleDependency/cat', check: function () { return a.name == 'cjs/circleDependency/a' && d.name ...
MingNeo/esl
test/cjs/circleDependency/cat.js
JavaScript
bsd-3-clause
433
/** * Dupe provider 1/2 * @providesModule Dupe * @thisWillBeFlowInTest */ module.exports = "dupe1";
jgrund/flow
newtests/legacy/haste_dupe/dupe1.js
JavaScript
bsd-3-clause
104
// @flow import React from 'react'; class MyComponent extends React.Component { props: Props; state: {a: number, b: number, c: number} = {a: 1, b: 2, c: 3}; defaultProps: T; static props: T; static state: T; a: T; b = 5; c: T = 5; method() {} } const expression = () => class extends React.Compon...
JonathanUsername/flow
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/StateInline.js
JavaScript
mit
530
var x0: $NonMaybeType<number|string> = 0; // ok, number ~> number|string var x1: $NonMaybeType<number|string> = true; // err, boolean ~> number|string var x2: $PropertyType<{p:number}|{p:string},'p'> = 0; // ok, number ~> number|string var x3: $PropertyType<{p:number}|{p:string},'p'> = true; // err, boolean ~> number|s...
facebook/flow
tests/type_destructors/union.js
JavaScript
mit
560
import { get } from '../../property_get'; let obj; const moduleOpts = { setup() { obj = { foo: { bar: { baz: { biff: 'BIFF' } } }, foothis: { bar: { baz: { biff: 'BIFF' } } }, falseValue: false, emptyString: '', Wuz: { ...
kaeufl/ember.js
packages/ember-metal/tests/accessors/get_path_test.js
JavaScript
mit
1,786
/* Translation from original CKEDITOR language files: Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("base64image","lv",{ "alt":"Alternatīvais teksts", "lockRatio":"Nemainīga Augstuma/Platuma attiec...
azatkama/adminka
src/public/js/adminlte/plugins/ckeditor/plugins/base64image/lang/lv.js
JavaScript
mit
415
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2012, 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 so...
nikolapopov/Tria
wp-content/plugins/wpide/ace-0.2.0/src-noconflict/mode-dart.js
JavaScript
gpl-2.0
9,111
var C1 = (function () { function C1() { var v = 0; s = 1; C1.s = 1; b(); C1.b(); } C1.b = function b() { v = 1; this.p = 0; C1.s = 1; }; return C1; })(); var C2 = (function () { function C2() { this.barback = ""; } O...
rbirkby/typescript
tests/baselines/reference/staticVisibility.commonjs.js
JavaScript
apache-2.0
567
version https://git-lfs.github.com/spec/v1 oid sha256:0bd7d28a8d600f1e8b836676cbf15edc6bb7447a7702b18e068417f7ff62ae3f size 1321
yogeshsaroya/new-cdnjs
ajax/libs/jQuery.mmenu/4.6.4/js/umd/addons/jquery.mmenu.buttonbars.umd.js
JavaScript
mit
129
/** * Framework7 2.0.0-beta.16 * Full featured mobile HTML framework for building iOS & Android apps * http://framework7.io/ * * Copyright 2014-2017 Vladimir Kharlampidi * * Released under the MIT License * * Released on: November 8, 2017 */ import Template7 from 'template7'; import $ from 'dom7'; /** * ht...
tholu/cdnjs
ajax/libs/framework7/2.0.0-beta.16/js/framework7.esm.bundle.js
JavaScript
mit
780,043
version https://git-lfs.github.com/spec/v1 oid sha256:59518380b916797c369735a3c620d8ce4eaa1c2c204fba3f154c6d0a54e0fc70 size 4412
yogeshsaroya/new-cdnjs
ajax/libs/codemirror/5.1.0/mode/xquery/test.min.js
JavaScript
mit
129
/* eslint no-unused-vars: 1 */ /*! * Module dependencies. */ var mquery = require('mquery'); var util = require('util'); var readPref = require('./drivers').ReadPreference; var PromiseProvider = require('./promise_provider'); var updateValidators = require('./services/updateValidators'); var utils = require('./util...
InfiniteRandomVariable/tests
server/rest/project_express/node_modules/mongoose/lib/query.js
JavaScript
gpl-2.0
82,492
var config = { /* * uncomment to use XDProxy configuration * * * XDProxy: { url:"http://localhost:8080/http_proxy/proxy", callback: "url" }, */ /* * NOTE: leave the proxyed servers before the others, in order to make the * test cases work */ catalogs: [ {"name":...
mbarto/mapstore
mapcomposer/app/static/externals/csw/tests/CSWViewer/config.js
JavaScript
gpl-3.0
2,652
Proj4js.defs["EPSG:32084"] = "+proj=tmerc +lat_0=0 +lon_0=-61.5 +k=0.9999 +x_0=304800 +y_0=0 +ellps=clrk66 +datum=NAD27 +units=m +no_defs";
debard/georchestra-ird
mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG32084.js
JavaScript
gpl-3.0
139
Proj4js.defs["EPSG:3776"] = "+proj=tmerc +lat_0=0 +lon_0=-114 +k=0.9999 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs";
debard/georchestra-ird
mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG3776.js
JavaScript
gpl-3.0
131
/* -*- 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...
darkrsw/safe
tests/parser_tests/js/src/tests/ecma_3/Function/15.3.4.3-1.js
JavaScript
bsd-3-clause
5,046
/** * 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. * * @flow */ export * from './src/ReactART';
terminatorheart/react
packages/react-art/index.js
JavaScript
bsd-3-clause
234
/** * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the ...
uqlibrary/summonhacks
node_modules/grunt-aws-s3/node_modules/aws-sdk/lib/service_interface/rest_xml.js
JavaScript
mit
3,258
var common = exports, url = require('url'), extend = require('util')._extend, required = require('requires-port'); var upgradeHeader = /(^|,)\s*upgrade\s*($|,)/i, isSSL = /^https|wss/; /** * Simple Regex for testing if protocol is https */ common.isSSL = isSSL; /** * Copies the right heade...
lakshit1001/CampusBox-webapp
node_modules/http-proxy/lib/http-proxy/common.js
JavaScript
mit
4,743
'use strict'; /*! * Module dependencies. */ var SchemaType = require('../schematype'); var Subdocument = require('../types/subdocument'); var castToNumber = require('./operators/helpers').castToNumber; var geospatial = require('./operators/geospatial'); module.exports = Embedded; /** * Sub-schema schematype cons...
danieloostra/mean-charlie-workspace
steve/MEAN/Mongo/QuotingDojo/node_modules/mongoose/lib/schema/embedded.js
JavaScript
unlicense
4,017
$("form").not(".ajax").submit(function(e) { var form = $(this) if (form.valid()) { var input = form.find("input[type=submit]"); input.attr("disabled", "true"); form.addClass("inactive"); } });
monitorjbl/mamute
src/main/webapp/assets/js/form-fix.js
JavaScript
apache-2.0
202
/* * 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 ma...
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/features/i18n/data/DateTimeConstants__no.js
JavaScript
apache-2.0
2,388
import BelongsToHelper from './belongs-to-helper'; import {module, test} from 'qunit'; module('mirage:integration:schema:belongsTo#setAssociationId', { beforeEach: function() { this.helper = new BelongsToHelper(); } }); [ 'savedChildNoParent', 'savedChildNewParent', 'savedChildSavedParent', 'newChildN...
oliverbarnes/ember-cli-mirage
tests/integration/schema/belongs-to/set-association-id-test.js
JavaScript
mit
1,064
/**************************************************************************** Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation...
Arlefreak/ArlefreakPlay
public/Games/goToWork/frameworks/cocos2d-html5/extensions/cocostudio/reader/SceneReader.js
JavaScript
mit
13,152
var assert = require('assert'); var R = require('..'); var eq = require('./shared/eq'); describe('constructN', function() { var Circle = function(r) { this.r = r; this.colors = Array.prototype.slice.call(arguments, 1); }; Circle.prototype.area = function() {return Math.PI * Math.pow(this.r, 2);}; it...
TheLudd/ramda
test/constructN.js
JavaScript
mit
1,783