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 |
|---|---|---|---|---|---|
import ComponentDatatype from "./ComponentDatatype.js";
import defaultValue from "./defaultValue.js";
import defined from "./defined.js";
import DeveloperError from "./DeveloperError.js";
/**
* Value and type information for per-instance geometry attribute that determines if the geometry instance has a distance displ... | likangning93/cesium | Source/Core/DistanceDisplayConditionGeometryInstanceAttribute.js | JavaScript | apache-2.0 | 6,241 |
//
// effectTrailerLeft.js
// An entity script to track left trigger holds to create trails in a particle effect
//
// Author: Elisa Lupin-Jimenez
// Copyright High Fidelity 2017
//
// Licensed under the Apache 2.0 License
// See accompanying license file or http://apache.org/
//
// All assets are under C... | RebeccaStankus/hifi-content | Marketplace/musicVisualizer/adjuster_scripts/effectTrailerLeft.js | JavaScript | apache-2.0 | 1,616 |
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | pgbross/material-components-web | test/unit/mdc-form-field/foundation.test.js | JavaScript | apache-2.0 | 2,146 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
export default [
'am',
... | N03297857/2017Fall | node_modules/@angular/common/locales/am.js | JavaScript | apache-2.0 | 1,829 |
// This file was procedurally generated from the following sources:
// - src/top-level-await/await-expr-func-expression.case
// - src/top-level-await/syntax/for-await-expr.template
/*---
description: AwaitExpression StringLiteral (Valid syntax for top level await in for await statements.)
esid: prod-AwaitExpression
fea... | sebastienros/jint | Jint.Tests.Test262/test/language/module-code/top-level-await/syntax/for-await-await-expr-func-expression.js | JavaScript | bsd-2-clause | 2,499 |
var global_data = new Array();
var data_description = new Array();
var data_items = new Array();
var data_count = new Array();
var SORT_COLUMN_INDEX = 0;
var collection_data = new Array();
function initialize_data () {
initialize_collections();
var data_string = document.getElementById('mgs_input_data').value;
... | teharrison/MG-RAST | src/MGRAST/html/js/MetagenomeCollections.js | JavaScript | bsd-2-clause | 6,295 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... | wesley1001/react-native | Libraries/Animated/src/__tests__/AnimatedNative-test.js | JavaScript | bsd-3-clause | 6,735 |
/**
* JavaScript
* Window object - Interactive version, js 1.3.
*
* 05.07.2001, torstein@opera.com
*
* FIXME: routeEvent, captureEvent, handleEvent
*/
var cvs="$Id: js_window_int.js 10655 2006-12-18 15:47:57Z hallvord $";
function moveWindow( win )
{
win.moveTo( win.screenX + 100, win.screenY + 100 );
}
f... | frivoal/presto-testo | core/standards/scripts/jstest-futhark/js-regression/scripts/js_window_int.js | JavaScript | bsd-3-clause | 9,384 |
var Grapnel = require('grapnel');
var React = require('react');
var SchemaApp = require('./schema.js');
var TableApp = require('./table.js');
var ColumnApp = require('./column.js');
var StepApp = require('./step.js');
var InjectableApp = require('./injectable.js');
var BroadcastApp = require('./broadcast.js');
var ro... | UDST/orca | orca/server/static/js/routing.js | JavaScript | bsd-3-clause | 1,372 |
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const schema = new Schema({
region: {
type: String,
required: true
}
});
module.exports = mongoose.model('Region', schema); | JPGothro/ImbibeOR | lib/models/region.js | JavaScript | isc | 207 |
var assert = require('assert'),
STATUS_CODES = require('http').STATUS_CODES,
MockResponse = require('./index');
var tests = [
function is_writable_and_readable(done) {
var res = new MockResponse();
assert(res.readable);
assert(res.writable);
done();
},
function can_write_strings_and_buffers(done) {
v... | ValiantLucatero/PFSails | node_modules/sails/node_modules/mock-res/test.js | JavaScript | mit | 3,641 |
'use strict';
var helpers = require('../helpers.js');
module.exports = {
'name': 'space-before-bang',
'defaults': {
'include': true
},
'detect': function (ast, parser) {
var result = [];
ast.traverseByTypes(['important', 'default', 'value'], function (block, i, parent) {
var previous = pare... | DanPurdy/sass-lint | lib/rules/space-before-bang.js | JavaScript | mit | 2,548 |
var GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
var FacebookStrategy = require('passport-facebook').Strategy;
var TestStrategy;
if (process.env.NODE_ENV != 'production') {
TestStrategy = require('passport-local').Strategy;
}
var models = require('../models');
module.exports = function(passp... | wolfenbarger/pa-website | config/passport.js | JavaScript | mit | 3,797 |
/**
* Markdown Helper {{markdown}}
* Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors
* Licensed under the MIT License (MIT).
*/
'use strict';
var file = require('fs-utils');
var marked = require('marked-extras');
var strip = require('strip-indent');
var _ = require('lodash');
// module.exports = ... | hbshci/fhi | templates/_helpers/markdown.js | JavaScript | mit | 1,258 |
var gulp = require('gulp');
var shell = require('gulp-shell');
var jison = require('gulp-jison');
var filelog = require('gulp-filelog');
gulp.task('jison', function() {
return gulp.src('./src/**/*.jison')
.pipe(filelog('Jison file:'))
.pipe(jison({ moduleType: 'commonjs' }))
.pipe(gulp.dest... | wthomare/comis | mermaid-master/gulp/tasks/jison.js | JavaScript | mit | 1,447 |
var type = 1;
var title = "{job_location}";
var desc = "This project is for creating a new street, called <b>{job_location}<\/b> linked from the street you are standing on right now. You'll be pushing out the boundaries and expanding the world … and that is a good and noble thing to do.";
var completion = "<b>Create a ... | Mexiswow/eleven-gsjs | quests/job_standard1b_for_new_groddle_meadow_streets.js | JavaScript | mit | 6,442 |
/**
* @fileoverview Tests for ast utils.
* @author Gyandeep Singh
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const assert = require("chai").assert,
sinon = re... | menelaos/eslint-solarized | tests/lib/ast-utils.js | JavaScript | mit | 49,687 |
import { LightShadow } from './LightShadow.js';
import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js';
import { Vector2 } from '../math/Vector2.js';
import { Vector3 } from '../math/Vector3.js';
import { Vector4 } from '../math/Vector4.js';
function PointLightShadow() {
LightShadow.call( this, new Pers... | zhoushijie163/three.js | src/lights/PointLightShadow.js | JavaScript | mit | 2,459 |
import { Migrations } from '../../../app/migrations';
import { LivechatRooms } from '../../../app/models/server';
Migrations.add({
version: 170,
up() {
LivechatRooms.update(
{ t: 'l', whatsAppGateway: { $exists: 1 } },
{ $rename: { whatsAppGateway: 'customFields.whatsAppGateway' } },
{ multi: true },
);... | Sing-Li/Rocket.Chat | server/startup/migrations/v170.js | JavaScript | mit | 329 |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.mobx = f()}})(... | joeyparrish/cdnjs | ajax/libs/mobx/5.5.2/mobx.umd.js | JavaScript | mit | 169,178 |
import TestResolverApplicationTestCase from './test-resolver-application';
import { Application } from 'ember-application';
import { Router } from 'ember-routing';
import { assign } from 'ember-utils';
export default class ApplicationTestCase extends TestResolverApplicationTestCase {
constructor() {
super();
... | kennethdavidbuck/ember.js | packages/internal-test-helpers/lib/test-cases/application.js | JavaScript | mit | 1,046 |
var VAST_ERROR_PREFIX = 'VAST Error: ';
describe("VPAIDHTML5Tech", function() {
it("must return an instance of itself", function() {
assert.instanceOf(VPAIDHTML5Tech({src: 'fakeSource'}), VPAIDHTML5Tech);
});
it("must implement supports", function () {
sinon.stub(window, 'isOldIE').returns(false);
a... | kahwee/videojs-vast-vpaid | test/ads/vpaid/VPAIDHTML5Tech.spec.js | JavaScript | mit | 4,505 |
define(
//begin v1.x content
{
"field-quarter-short-relative+0": "dette kv.",
"field-quarter-short-relative+1": "neste kv.",
"field-tue-relative+-1": "tirsdag sist uke",
"field-year": "år",
"dateFormatItem-Hm": "HH:mm",
"field-wed-relative+0": "onsdag denne uken",
"field-wed-relative+1": "onsdag neste uke",
"da... | cdnjs/cdnjs | ajax/libs/dojo/1.16.3/cldr/nls/nb/generic.js | JavaScript | mit | 7,038 |
import Vue from 'vue';
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
function isExist (obj) {
return typeof obj !== 'undefined' && obj !== null
}
function isFunction (obj) {
return typeof obj === 'function'
}
function isString (obj) {
return typeof ... | cdnjs/cdnjs | ajax/libs/uiv/1.3.0/v_popover.js | JavaScript | mit | 21,684 |
test( "Popcorn Pause Plugin", function() {
var expectedTests = 3 ,
anchorA = document.getElementById( "anchorA" ),
anchorB = document.getElementById( "anchorB" ),
tolerance = 0.250;
var simulateClickOn = function ( paramElement ) {
if ( typeof paramElement.click === "Function" ) {
par... | livingdocs/drupal-popcorn | sites/all/libraries/popcorn-js/plugins/pause/popcorn.pause.unit.js | JavaScript | gpl-2.0 | 1,690 |
/*jslint bitwise: true, eqeqeq: true, immed: true, newcap: true, nomen: false,
onevar: false, plusplus: false, regexp: true, undef: true, white: true, indent: 2
browser: true */
/*global jQuery: true Drupal: true window: true ThemeBuilder: true */
/**
* When flash objects are not set to wmode=transparent, they do ... | jkebertz/goodspeaks | sites/all/modules/gardens_features/wysiwyg_plugins/gardens-wmode/gardens-wmode.js | JavaScript | gpl-2.0 | 5,905 |
import ScalarObservable from '../observables/ScalarObservable';
import ArrayObservable from '../observables/ArrayObservable';
import ErrorObservable from '../observables/ErrorObservable';
import Subscriber from '../Subscriber';
import tryCatch from '../util/tryCatch';
import { errorObject } from '../util/errorObject';
... | NodeVision/NodeVision | node_modules/angular2/node_modules/@reactivex/rxjs/dist/es6/operators/every.js | JavaScript | gpl-3.0 | 2,548 |
"use strict";
var uploadsController = {},
fs = require('fs'),
path = require('path'),
async = require('async'),
validator = require('validator'),
meta = require('../meta'),
file = require('../file'),
plugins = require('../plugins'),
utils = require('../../public/src/utils'),
image = require('../image');
u... | cismous/NodeBB | src/controllers/uploads.js | JavaScript | gpl-3.0 | 3,761 |
QUnit.test("test: item", function (assert) {
assert.expect(1);
let done = assert.async();
frappe.run_serially([
// test item creation
() => frappe.set_route("List", "Item"),
// Create a BOM for a laptop
() => frappe.tests.make(
"BOM", [
{item: "Laptop"},
{quantity: 1},
{with_operations: 1},
... | ahmadRagheb/goldenHR | erpnext/manufacturing/doctype/bom/test_bom.js | JavaScript | gpl-3.0 | 1,225 |
/**
* Publish metadata from axe._audit.data
* @param {RuleResult} result Result to publish to
* @private
*/
utils.publishMetaData = function (ruleResult) {
'use strict';
function extender(shouldBeTrue) {
return function (check) {
var sourceData = checksData[check.id] || {};
var messages = sourceData.m... | jasonkarns/axe-core | lib/core/utils/publish-metadata.js | JavaScript | mpl-2.0 | 1,064 |
add_task(async function() {
await pushPref("devtools.debugger.features.map-scopes", true);
const dbg = await initDebugger("ember/quickstart/dist/");
await invokeWithBreakpoint(
dbg,
"mapTestFunction",
"quickstart/router.js",
{ line: 13, column: 2 },
async () => {
await assertScopes(dbg... | darkwing/debugger.html | test/mochitest/browser_dbg-ember-quickstart.js | JavaScript | mpl-2.0 | 455 |
//= require i18n
//= require i18n/translations
| skyderby/skyderby | app/assets/javascripts/translations/application.js | JavaScript | agpl-3.0 | 47 |
lang['Register'] = 'Đăng ký';
lang['Name'] = 'Tên';
lang['Surname: '] = 'Họ:';
lang['Username'] = 'Tên đăng nhập';
lang['Password'] = 'Mật khẩu';
lang['Repeat password'] = 'Nhập lại mật khẩu';
lang['Email'] = 'Thư điện tử';
lang['Please fill in all fields.'] = 'Nhập thông tin đầy đủ vào các ô.';
lang['Given passwords d... | cloudspaces/eyeos-u1db | eyeos/apps/register/lang/vn/vn.js | JavaScript | agpl-3.0 | 454 |
lang['New'] = '새문서';
lang['Open'] = '열기';
lang['Open...'] = '열기';
lang['Save'] = '저장하기';
lang['Preview'] = '미리보기';
lang['Print'] = '인쇄하기';
lang['Undo'] = 'Undo';
lang['Redo'] = 'Redo';
lang['Comments'] = '주석';
lang['Table'] = '테이블';
lang['Image'] = '그림';
lang['Hyperlink'] = '하이퍼링크';
lang['Bookmark'] = '즐겨찾기';
lang['Doc... | FireWalkerX/eyeOS-FOSS-V.2.0 | eyeos/apps/documents/lang/ko/ko.js | JavaScript | agpl-3.0 | 3,050 |
import UserModel from 'girder/models/UserModel';
import extendModel from './extendModel';
extendModel(UserModel, 'user');
| data-exp-lab/girder | plugins/user_quota/web_client/models/UserModel.js | JavaScript | apache-2.0 | 124 |
/*
* 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/cdnManagement/lib/operations/index.js | JavaScript | apache-2.0 | 636 |
/*-----------------------------------------------------------
* 2c - Cross Platform 3D Application Framework
*-----------------------------------------------------------
* Copyright © 2011 - 2011 France Telecom
* This software is distributed under the Apache 2.0 license.
* http://www.apache.org/licenses/LICENSE-2.... | Orange-OpenSource/2cWebGL | source/js/engine/tools/CCVectors.js | JavaScript | apache-2.0 | 2,159 |
module.exports={A:{A:{"1":"A B","16":"EB","132":"K C G E"},B:{"1":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x","2":"XB AB F J K C VB PB"},D:{"1":"0 1 3 5 6 7 8 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j... | arschles/go-in-5-minutes | episode24/node_modules/caniuse-lite/data/features/insertadjacenthtml.js | JavaScript | apache-2.0 | 838 |
/*
* 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 ... | cedhavalpanchal/phonegap-myapp | www/js/geolocation.js | JavaScript | apache-2.0 | 2,222 |
'use strict';
(function (scope) {
/**
* Music score
*
* @class MusicScore
* @param {Object} [obj]
* @constructor
*/
function MusicScore(obj) {
this.parts = [];
if (obj) {
for (var i in obj.parts) {
this.parts.push(new scope.MusicPart(obj... | countshadow/MyScriptJS | src/output/music/musicScore.js | JavaScript | apache-2.0 | 605 |
// Copyright 2014 The Oppia 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 required by ap... | Dev4X/oppia | extensions/interactions/SetInput/SetInput.js | JavaScript | apache-2.0 | 2,337 |
(function(){function ua(a){for(var b=-1,d=a.length,f=[];++b<d;)f.push(a[b]);return f}function v(a){return typeof a=="function"?a:function(){return a}}function C(a,b){return function(){var d=b.apply(a,arguments);return arguments.length?a:d}}function va(a){return a==null}function ca(a){return a.replace(/(^\s+)|(\s+$)/g,"... | uwdata/profiler | profiler/lib/d3/d3.min.js | JavaScript | bsd-3-clause | 34,154 |
/**
* Copyright 2013-2015, 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';
va... | Aweary/relay | src/network/__mocks__/fetchRelayQuery.js | JavaScript | bsd-3-clause | 1,151 |
/*
* Copyright (C) 2015 Glyptodon LLC
*
* 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, publi... | noelbk/guacamole-client | guacamole/src/main/webapp/app/client/directives/guacFileBrowser.js | JavaScript | mit | 10,086 |
'use strict';
var fs = require('fs-extra');
var existsSync = require('exists-sync');
var path = require('path');
var Promise = require('../ext/promise');
var Task = require('./task');
var SilentError = require('silent-error');
var chalk = require('chalk');
var attemptNeverIndex = requ... | ballPointPenguin/ember-cli | lib/models/builder.js | JavaScript | mit | 5,901 |
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Test the ES2015 @@species feature
'use strict';
// Subclasses of Array construct themselves under map, etc
class MyArray extends Array { }
assert... | hoho/dosido | nodejs/deps/v8/test/mjsunit/es6/array-species.js | JavaScript | mit | 5,777 |
module.exports = function(grunt) {
grunt.initConfig({
paths: {
scss: './scss',
css: './assets/css'
},
buildType: 'Build',
pkg: grunt.file.readJSON('package.json'),
archive_name: grunt.option('name') || 'linen',
clean: {
pre: ['dis... | ConnorKrammer/sharp | Gruntfile.js | JavaScript | mit | 2,505 |
/* ***** 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 so... | darwin/terraform | src/editor/ace/mode-lua.js | JavaScript | mit | 18,403 |
const path = require('path');
const fs = require('fs');
const existsSync = fs.existsSync;
const utils = require('../utils');
module.exports = exec;
module.exports.expandScript = expandScript;
/**
* Reads the cwd/package.json file and looks to see if it can load a script
* and possibly an exec first from package.mai... | february29/Learning | web/NodeJS/koaApp/node_modules/nodemon/lib/config/exec.js | JavaScript | mit | 6,861 |
var moment = require("../../moment");
/**************************************************
Indonesian
*************************************************/
exports["lang:id"] = {
setUp : function (cb) {
moment.lang('id');
moment.createFromInputFallback = function () {
throw... | humanrelationships/moment | test/lang/id.js | JavaScript | mit | 16,470 |
module.exports=/\uD804[\uDC80-\uDCCF]/ | marclundgren/mithril-fidm-app | node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/blocks/Kaithi/regex.js | JavaScript | mit | 38 |
define({
"_widgetLabel": "ヘッダー構成",
"signin": "サイン イン",
"signout": "サイン アウト",
"about": "情報",
"signInTo": "サイン イン",
"cantSignOutTip": "この関数は、プレビュー モードでは使用できません。",
"more": "詳細"
}); | cmndrbensisko/LocalLayer | samples/wazeViewer/themes/FoldableTheme/widgets/HeaderController/nls/ja/strings.js | JavaScript | mit | 291 |
module.exports={title:"Microsoft Excel",slug:"microsoftexcel",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Microsoft Excel</title><path d="'+this.path+'"/></svg>'},path:"M23 1.5q.41 0 .7.3.3.29.3.7v19q0 .41-.3.7-.29.3-.7.3H7q-.41 0-.7-.3-.3-.29-.3-.7V18H1q-.41 0-.7-.3-.... | cdnjs/cdnjs | ajax/libs/simple-icons/5.24.0/microsoftexcel.min.js | JavaScript | mit | 797 |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v20.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("../utils");
var TabbedLayout ... | sufuf3/cdnjs | ajax/libs/ag-grid/21.0.0/lib/layout/tabbedLayout.js | JavaScript | mit | 4,738 |
'use strict'
const semver = require('semver')
module.exports = function (version) {
if (!version) { return '' }
const legacyLink = semver.satisfies(version, '>=1.0.0 <4.0.0')
? `https://github.com/nodejs/io.js/blob/${version}/CHANGELOG.md`
: `https://github.com/nodejs/node-v0.x-archive/blob/${version}/Ch... | bogas04/new.nodejs.org | scripts/helpers/changeloglink.js | JavaScript | mit | 455 |
"use strict";
exports.__esModule = true;
exports.default = void 0;
var _invariant = _interopRequireDefault(require("fbjs/lib/invariant"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var... | cdnjs/cdnjs | ajax/libs/react-native-web/0.11.7/cjs/modules/createStrictShapeTypeChecker/index.js | JavaScript | mit | 3,099 |
/* bender-tags: editor,unit,dom,range */
( function() {
'use strict';
var doc = CKEDITOR.document;
var tests = {
rangeMoveToElementEditablePosition: function( html, isMoveToEnd, retValue ) {
if ( retValue === undefined )
retValue = true;
var ct = doc.getById( 'editable_playground' );
ct.setHtml( h... | SeeyaSia/www | web/libraries/ckeditor/tests/core/dom/range/movetoelement.js | JavaScript | gpl-2.0 | 7,720 |
function update_rating_text_value(){jQuery("#postratings_loading").show();jQuery.ajax({type:"GET",url:ratingsAdminL10n.admin_ajax_url,data:"custom="+jQuery("#postratings_customrating").val()+"&image="+jQuery("input[@name=postratings_image]:checked").val()+"&max="+jQuery("#postratings_max").val(),cache:false,success:fun... | testvto/vestir-gratis | wp-content/plugins/wp-postratings/postratings-admin-js.js | JavaScript | gpl-2.0 | 408 |
/**
* Attach handlers to toggle the twitter message field and inform the number
* of characters remaining to achieve the max length
*/
(function ($) {
Drupal.behaviors.twitter_post = {
attach: function (context, settings) {
$(".twitter-post-message", context).keyup(function() {
var charsLeft = (1... | Mhassan73/ARHA | sites/all/modules/twitter/twitter_post/twitter_post.js | JavaScript | gpl-2.0 | 775 |
/**
* Builds a toolbar that allows basic BBcode styled syntax within a textarea.
* Supports basic tags: bold, italics, underline, list, quote
*
* @copyright 2010, Blizzard Entertainment, Inc
* @class Rich Text Editor
* @example
*/
var BML = {
/**
* Nodes for the container, textarea and toolbar.
... | alideny/AquaFlameCMS_Trinity | wow/static/local-common/js/bml.js | JavaScript | gpl-2.0 | 8,541 |
// DROP DOWN BY PAGELINES
var $j = jQuery.noConflict();
$j(document).ready(function () {
$j("ul.dropdown > li").hover(function(){
$j(this).addClass("menuhover");
$j('ul:first',this).fadeIn("fast");
}, function(){
$j(this).removeClass("menuhover");
$j('ul:first',this).fadeOut("f... | PodcastScience/ps-home | wp-content/themes/iblog/core/js/dropdown.js | JavaScript | gpl-2.0 | 340 |
({
shouldDeps : [
{ block : 'jquery', elem : 'event', mods : { type : 'pointernative' } },
'test-pointer'
]
})
| jifeon/bem-core | common.blocks/jquery/__event/_type/jquery__event_type_pointernative.tests/simple.blocks/example/example.deps.js | JavaScript | mpl-2.0 | 135 |
<import resource="classpath:alfresco/site-webscripts/imports/sandpit.lib.js">
buildPageModel({
title: "page.title",
description: "page.description",
jsdoc: "http://dev.alfresco.com/resource/docs/aikau-jsdoc/CoreWidgetProcessing.html",
examples: [
{
title: "example1.title",
descripti... | davidcognite/Aikau | aikau-sandpit-application/src/main/webapp/WEB-INF/classes/alfresco/site-webscripts/pages/core/VisibilityConfigExample.get.js | JavaScript | lgpl-3.0 | 8,942 |
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | opennetworkinglab/onos | web/gui/src/main/webapp/app/fw/remote/remote.js | JavaScript | apache-2.0 | 757 |
import Ember from 'ember';
export default Ember.Route.extend({
queryParams: {
page: { refreshModel: true },
sort: { refreshModel: true },
},
loadedCrates: [],
afterModel: function(keyword, transition) {
var params = transition.queryParams;
params.keyword = keyword.get('... | Gankro/crates.io | app/routes/keyword/index.js | JavaScript | apache-2.0 | 801 |
(function() {
var inputEx = YAHOO.inputEx, lang = YAHOO.lang, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom;
/**
* @class Meta field to create a list of other fields
* @extends inputEx.Field
* @constructor
* @param {Object} options Added options:
* <ul>
* <li>sortable: Add arrows to sort the items if ... | rogerthat-platform/rogerthat-backend | src/static/mfd/lib/inputex/js/fields/ListField.js | JavaScript | apache-2.0 | 12,507 |
ODS.parse_ods = parse_ods;
ODS.write_ods = write_ods;
ODS.parse_fods = parse_fods;
| tsinghuariit/DMP | static/app/static/raw/bower_components/js-xlsx/odsbits/98_exports.js | JavaScript | apache-2.0 | 83 |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const convertHashChangeEventInit = require("./HashChangeEventInit.js").convert;
const impl = utils.implSymbol;
const Event = require("./Event.js");
class HashChangeEvent extends Event.interface {
constructor(type)... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/jest-environment-jsdom-fourteen/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js | JavaScript | apache-2.0 | 3,685 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have
* been stored. The substrings are ... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A2_T17.js | JavaScript | apache-2.0 | 1,781 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("babylonjs"));
else if(typeof define === 'function' && define.amd)
define("babylonjs-serializers", ["babylonjs"], factory);
else if(typeof exports === 'object... | BabylonJS/Babylon.js | dist/previous releases/4.0/serializers/babylonjs.serializers.js | JavaScript | apache-2.0 | 252,773 |
/**
* Construct a new ServiceFinder. This is a single-use object that does a DNS
* multicast search on creation.
* @constructor
* @param {function} callback The callback to be invoked when this object is
* updated, or when an error occurs (passes string).
*/
var ServiceFinder = functio... | hohanhb285/chrome-app-samples | mdns-browser/main.js | JavaScript | apache-2.0 | 8,036 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-elem-obj-id.case
// - src/dstr-binding/default/cls-decl-async-gen-meth.template
/*---
description: BindingElement with object binding pattern and initializer is not used (class expression method)
esid: sec-class-definitio... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-ary-ptrn-elem-obj-id.js | JavaScript | bsd-2-clause | 2,460 |
/* @flow */
import type {Reporter} from '../../reporters/index.js';
import type Config from '../../config.js';
import {MessageError} from '../../errors.js';
import * as fs from '../../util/fs.js';
const invariant = require('invariant');
const path = require('path');
export async function getRegistryFolder(config: Co... | suitupalex/yarn | src/cli/commands/link.js | JavaScript | bsd-2-clause | 1,968 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | prathamesh-sonpatki/react-native | Libraries/ReactIOS/InspectorOverlay/InspectorOverlay.js | JavaScript | bsd-3-clause | 3,681 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = (func) => new Promise((resolve, reject) =>
func((err, res) => err ? reject(err) : resolve(res))
);
| hoastoolshop/react-native | local-cli/link/promisify.js | JavaScript | bsd-3-clause | 302 |
var convert = require('../parsing/comment-conversion.js');
var test = require('tape');
test('comment to assertion conversion', function(t) {
t.plan(3);
t.equal(typeof convert.extractTestDetails, 'function', 'Should be a function');
t.equal(Array.isArray(convert.extractTestDetails(['sum(10,10) == 20 (return the ... | Iced-Tea/speckjs | test/specs/comment-conversion-specs.js | JavaScript | mit | 692 |
'use strict';
module.exports = one;
function one(node, parent) {
var self = this;
var visitors = self.visitors;
/* Fail on unknown nodes. */
if (typeof visitors[node.type] !== 'function') {
self.file.fail(
new Error(
'Missing compiler for node of type `' +
node.type + '`: `' + node ... | tanzania82/remarks | packages/remark-stringify/lib/macro/one.js | JavaScript | mit | 415 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _lodash = require('lodash');
var _sync = require('./sync');
var _sync2 = _interopRequireDefault(_sync);
var _helpers = require('./helpers');
var _helpers2 = _interopRequireDefault(_helpers);
var _eager = require('./eager');
var _... | melgor/melgor.github.io | node_modules/bookshelf/lib/collection.js | JavaScript | mit | 16,605 |
/**
This mixin provides an 'ajax' method that can be used to perform ajax requests that
respect Discourse paths and the run loop.
**/
var _trackView = false;
var _transientHeader = null;
Discourse.Ajax = Em.Mixin.create({
setTransientHeader: function(k, v) {
_transientHeader = {key: k, value: v};
},
vi... | Flink/discourse | app/assets/javascripts/discourse/mixins/ajax.js | JavaScript | gpl-2.0 | 3,923 |
module.exports={A:{A:{"2":"J C G E B UB","260":"A"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 l m n o p q r s x z u t","2":"SB y F I J C G E B A D Y g H L M N O P Q R S T QB PB","194":"U V W X v Z a b c d e f K h i j k"},D:{"1":"0 1 3 4 5 8 a b c d e f K h i j k l m n o p q r s x z u t EB BB TB CB","2":"F I J C G E B A D Y... | secatoriuris/vista-theme | themes/vista/node_modules/caniuse-lite/data/features/mediasource.js | JavaScript | gpl-2.0 | 823 |
var wpv_filter_controls_rows;
function wpv_filter_controls_edit() {
// record the controls rows so we can undo changes on cancel.
wpv_filter_controls_rows = Array();
jQuery('#view_filter_controls_table tbody').each( function(index) {
wpv_filter_controls_rows.push(jQuery(this).html());
});
... | javierdlahoz/paella-development | wp-content/plugins_old/wp-views/res/js/views_filter_controls.js | JavaScript | gpl-2.0 | 32,539 |
module.exports={A:{A:{"2":"K C G E A B CB"},B:{"2":"D v Z I M H"},C:{"2":"VB y F J K C G E A B D v Z I M H N O P Q R S T U V W X TB SB","194":"0 1 2 3 5 6 7 Y x a b c d e f L h i j k l m n o p q r s t u z w"},D:{"1":"0 1 2 3 5 6 7 e f L h i j k l m n o p q r s t u z w HB g DB XB EB FB","2":"F J K C G E A B D v Z I M H ... | parkerjgit/openarch-d8 | themes/open_scratch/node_modules/caniuse-lite/data/features/shadowdom.js | JavaScript | gpl-2.0 | 818 |
'use strict';
// Declare app level module which depends on filters, and services
angular.module('miredot', ['miredot.filters', 'miredot.directives', 'ui.bootstrap.buttons', 'watchFighers', 'ngStorage']).
// Make sure our local href="#hash" link bindings work
config(['$compileProvider', '$locationProvider', fu... | leguimas/kartero | src/main/webapp/js/app.js | JavaScript | gpl-2.0 | 509 |
import React from 'react';
import PropTypes from 'prop-types';
import CircularProgress from 'material-ui/CircularProgress';
import HoverPaper from '../../atoms/hover-paper';
import styles from './styles';
class MaxResponseTime extends React.Component {
static propTypes = {
time: PropTypes.number,
}
static ... | ppasq/geonode | geonode/monitoring/frontend/src/components/molecules/max-response-time/index.js | JavaScript | gpl-3.0 | 910 |
/*
Copyright (c) Arian Stolwijk
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, distribute, subli... | mattjjohnson007/ChromeWebLab | Sketchbots/sw/labqueue/static/help/js/lib/MooTools-DatePicker/Source/Picker.js | JavaScript | apache-2.0 | 12,110 |
//// [overridingPrivateStaticMembers.ts]
class Base2 {
private static y: { foo: string };
}
class Derived2 extends Base2 {
private static y: { foo: string; bar: string; };
}
//// [overridingPrivateStaticMembers.js]
var __extends = (this && this.__extends) || (function () {
var extendStatics = functi... | basarat/TypeScript | tests/baselines/reference/overridingPrivateStaticMembers.js | JavaScript | apache-2.0 | 1,155 |
//// [tests/cases/compiler/classExtendsAcrossFiles.ts] ////
//// [a.ts]
import { b } from './b';
export const a = {
f: () => {
class A { }
class B extends A { }
b.f();
}
};
//// [b.ts]
import { a } from './a';
export const b = {
f: () => {
class A { }
class B ex... | mkusher/TypeScript | tests/baselines/reference/classExtendsAcrossFiles.js | JavaScript | apache-2.0 | 2,439 |
/**
* 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... | dotandads/amphtml | src/string.js | JavaScript | apache-2.0 | 5,333 |
/*! jQuery UI - v1.10.4 - 2014-01-29
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"<Anterior",nextText:"Próximo>",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Ab... | CI-WATER/django-tethys_gizmos | tethys_gizmos/static/tethys_gizmos/vendor/jqueryui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js | JavaScript | bsd-2-clause | 869 |
/**
@module ember-data
*/
import JSONSerializer from "ember-data/serializers/json-serializer";
import normalizeModelName from "ember-data/system/normalize-model-name";
import {singularize} from "ember-inflector/lib/system/string";
import coerceId from "ember-data/system/coerce-id";
var camelize = Ember.String.camel... | InboxHealth/data | packages/ember-data/lib/serializers/rest-serializer.js | JavaScript | mit | 19,594 |
var EventEmitter = require('events').EventEmitter
, inherits = require('util').inherits
, CServer = require('mongodb-core').Server
, Cursor = require('./cursor')
, f = require('util').format
, ServerCapabilities = require('./topology_base').ServerCapabilities
, Store = require('./topology_base').Store
, M... | ardanhk/hkciegu | source/node_modules/mongodb/lib/server.js | JavaScript | mit | 10,429 |
/*! Raven.js 3.25.2 (30b6d4e) | 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.25.2/angular,console/raven.js | JavaScript | mit | 123,709 |
/* 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/.
*
* Owner: felix@famo.us
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2014
*/
define(function(require... | raix/views | Flipper.js | JavaScript | mpl-2.0 | 4,412 |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//--------------------------------------------------------... | cstipkovic/spidermonkey-research | js/src/tests/js1_5/Regress/regress-140852.js | JavaScript | mpl-2.0 | 870 |
/**
* Blockly Apps: Index
*
* Copyright 2012 Google Inc.
* https://blockly.googlecode.com/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | boolgom/blockly_entry | apps/index/index.js | JavaScript | apache-2.0 | 1,441 |
/*
* Knockout views for the Developer application pages: List and Create/Edit pages.
*/
'use strict';
var $ = require('jquery');
var bootbox = require('bootbox');
var historyjs = require('exports?History!history');
var ko = require('knockout');
require('knockout.validation');
var Raven = require('raven-js');
va... | ticklemepierce/osf.io | website/static/js/apiApplication.js | JavaScript | apache-2.0 | 17,276 |
__zl([{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"28":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":1,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,... | andrefyg/ziplookup | public/ziplookup/db/us/857.js | JavaScript | apache-2.0 | 423 |
//>>built
define("dojox/widget/rotator/PanFade","dojo/_base/array dojo/_base/connect dojo/_base/lang dojo/_base/fx dojo/dom-style dojo/fx".split(" "),function(x,t,n,g,r,u){function m(a,c){var k={node:c.current.node,duration:c.duration,easing:c.easing},e={node:c.next.node,duration:c.duration,easing:c.easing},h=c.rotator... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/widget/rotator/PanFade.js | JavaScript | apache-2.0 | 1,542 |
"use strict";
var attributes = require('./attributes');
var sloppy = require('./sloppy');
module.exports = function(spec, defaultConstructor, tagList, tagNameToImpl) {
var c = spec.ctor;
if (c) {
var props = spec.props || {};
if (spec.attributes) {
for (var n in spec.attributes) {
var attr ... | cscott/domino | lib/defineElement.js | JavaScript | bsd-2-clause | 1,948 |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var ActionSettingsApplications = React.createClass({
displayName: 'ActionSettingsApplications',
mixins: [PureRenderMixin],
render: function render() {
return Reac... | sparkymat/youhaveto-react | node_modules/material-ui/lib/svg-icons/action/settings-applications.js | JavaScript | mit | 1,205 |