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 |
|---|---|---|---|---|---|
define([
'helpers',
'plumbing'
], function(helpers, plumbing) {
/**
* @ngdoc overview
* @name authorities
* @description
* Functions related to authorities
*
* {@link https://familysearch.org/developers/docs/guides/authorities FamilySearch API Docs}
*/
var maybe = helpers.maybe; // shortha... | justincy/familysearch-javascript-sdk | src/authorities.js | JavaScript | mit | 9,721 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isNotNullOrUndefined(value) {
return value !== null && typeof value !== "undefined";
}
exports.isNotNullOrUndefined = isNotNullOrUndefined;
//# sourceMappingURL=predicates.js.map | AntonyThorpe/knockout-apollo | tests/node_modules/@apollographql/apollo-tools/lib/utilities/predicates.js | JavaScript | mit | 268 |
'use strict';
var JSInspector = {
registerAgent: function registerAgent(type) {
if (global.__registerInspectorAgent) {
global.__registerInspectorAgent(type);
}
},
getTimestamp: function getTimestamp() {
return global.__inspectorTimestamp();
}
};
module.exports = JSInspector; | hoffmannmatheus/ppg-spot-ui | react-native-packager-cache-P4da/eKYVDiIK1c0vpgPRrk8C9c=/27/8e8a740c79dd49fbd83e12abf80c1578ec2f9bJSInspector.js | JavaScript | mit | 304 |
export const NEW_TRACE = 'new_trace'
export const CLEAR_LOGS= 'clear_logs'
export const FILTER_ON= 'filter_on'
export const FILTER_OFF= 'filter_off'
export const TOGGLE_FILTER = 'toggle_filter'
| thebakeryio/meteor-devtools | src/plugins/ddp/constants/action-types.js | JavaScript | mit | 194 |
import Building from '../model'
import co from 'co'
export default function search(req, res, next) {
co(function* () {
try {
let docs = yield Building
.find({ $text: { $search: req.query.q } }, '-__v -_id -_address._id')
.limit(req.query.limit)
.skip(req.query.skip)
.sort(re... | kshvmdn/cobalt | src/api/buildings/routes/search.js | JavaScript | mit | 423 |
import { Meteor } from 'meteor/meteor';
import { Random } from 'meteor/random';
import _ from 'underscore';
import { LivechatRooms, LivechatVisitors, LivechatDepartment, LivechatTrigger } from '../../../../models';
import { Livechat } from '../../lib/Livechat';
import { callbacks } from '../../../../callbacks/server';... | Sing-Li/Rocket.Chat | app/livechat/server/api/lib/livechat.js | JavaScript | mit | 5,110 |
var fs = require('fs');
var os = require('os');
var path = require('path');
var is = require('./is');
var IS_SUPPORT;
var TEMP_DIR = os.tmpdir && os.tmpdir()
|| process.env.TMPDIR
|| process.env.TEMP
|| process.cwd();
function TempStack() {
this.stack = [];
}
TempStack.prototype = {
create: function(type, ... | yuanchuan/node-watch | lib/has-native-recursive.js | JavaScript | mit | 2,395 |
(function() {
(function($, window, document, undefined_) {
var Plugin, themes;
Plugin = function(options) {
var defaults;
defaults = {
position: "bottom right",
content: " ",
delay: 3000,
sticky: false,
inEffect: "fadeIn",
outEffect: "fadeOut",
... | timothyha/chat-api | client/www/js/libs/amaran/amaran.js | JavaScript | gpl-2.0 | 11,197 |
/**
* Copyright 2005-2009 by Purdue Research Foundation, West Lafayette, IN 47906.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License,
* version 2 as published by the Free Software Foundation.
*
* This program is... | CI-Water-DASYCIM/CIWaterHubZeroPortalDev | plugins/projects/files/files.js | JavaScript | gpl-2.0 | 16,433 |
var util = require("util");
var path = require("path");
var Q = require("q");
var _ = require("lodash");
var exec = require('child_process').exec;
var fs = require('graceful-fs');
var parse = require("../../parse");
var BaseGenerator = require("../page");
var stringUtils = require("../../utils/string");
var Generator... | CCharlieLi/Meteor-1.0.3.1-Doc-Chinese-Version | node_modules/gitbook/lib/generate/ebook/index.js | JavaScript | gpl-2.0 | 3,428 |
var cj = jQuery.noConflict(true);
;
| JMAConsulting/campaigntool | sites/default/files/js/js_Pl1iUWbBGMiiq3khC4vCuZt6c8gx-OdkdQKONuqbQfU.js | JavaScript | gpl-2.0 | 36 |
var search = document.getElementById( 'search' );
var clearSearch = document.getElementById( 'clearsearch' );
var results = document.getElementById( 'results' );
var languageSelection = document.getElementById( 'languageselection' );
initClearSearchLink();
function initClearSearchLink() {
clearSearch.setAttribute( '... | SuriyaaKudoIsc/wikia-app-test | extensions/MobileFrontend/javascripts/application.js | JavaScript | gpl-2.0 | 4,661 |
FD50.plugin("joomla",function($){var parser={squeezebox:function(){return self.isJoomla15?window.parent.document.getElementById("sbox-window"):window.parent.SqueezeBox}},self=$.Joomla=function(method,args){if($.isFunction(args)){var fn=args;return void(self.isJoomla15?window[method]=fn:window.Joomla[method]=fn)}var met... | BetterBetterBetter/B3App | media/foundry/5.0/scripts/joomla.min.js | JavaScript | gpl-2.0 | 596 |
EasyBlog.ready(function($){
window.insertTag = function( id , name )
{
$( '#item_team' ).val( id );
$( '#team_name' ).html( '<span class="label label-primary">' + name + '</span>');
$.Joomla("squeezebox").close();
}
window.insertMember = function( id , name )
{
$( '#item_c... | BetterBetterBetter/B3App | administrator/components/com_easyblog/themes/default/feeds/form.js | JavaScript | gpl-2.0 | 664 |
/*
Copyright (©) 2003-2022 Teus Benschop.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the h... | bibledit/windows | server/resource/index.js | JavaScript | gpl-3.0 | 4,720 |
var fs = require("fs");
var path = require("path");
var panino = require("panino");
var srcPath = __dirname + "/../lib/ace";
var options = {
title : "Ace API",
linkFormat : function(linkHtml) {
var href = linkHtml.href;
var o = href.match(/(.+)\.html(#.+)/);
var c = href.match(/#(.+)/);
... | ashking/Cloud9 | node_modules/ace/doc/build.js | JavaScript | gpl-3.0 | 2,441 |
'use strict';
define([], function() {
var dependencies = [];
var AddisOntologyFilter = function() {
return function(activityTypeUri) {
if (activityTypeUri) {
return activityTypeUri.substring(activityTypeUri.lastIndexOf('#') + 1, activityTypeUri.length);
}
return activityTypeUri;
};... | DanielReid/addis-core | src/main/webapp/resources/app/js/filters/addisOntologyFilter.js | JavaScript | gpl-3.0 | 381 |
;(function(undefined) {
'use strict';
if (typeof sigma === 'undefined')
throw new Error('sigma is not declared');
var _fixedNodesIndex = new sigma.utils.map();
/**
* Sigma Graph Helpers
* =============================
*
* @author Sébastien Heymann <seb@linkurio.us> (Linkurious)
* @version ... | ekkis/linkurious.js | plugins/sigma.helpers.graph/sigma.helpers.graph.js | JavaScript | gpl-3.0 | 7,247 |
function setup(){
createCanvas(200, 250);
// create a slider (min, max, default value)
}
function draw(){
}
| stsb11/8-CS-eSafety | pages/js/p5/empty-example/sketch.js | JavaScript | gpl-3.0 | 124 |
'use strict';
module.exports = {
users: require('./users'),
groups: require('./groups'),
topics: require('./topics'),
posts: require('./posts'),
chats: require('./chats'),
categories: require('./categories'),
flags: require('./flags'),
};
| NodeBB/NodeBB | src/api/index.js | JavaScript | gpl-3.0 | 247 |
addLibrary('mediaHosts', 'miiverse', {
name: 'Miiverse',
attribution: false,
domains: ['miiverse.nintendo.net'],
detect: href => href.includes('miiverse.nintendo.net/posts/'),
handleLink(elem) {
elem.type = 'GENERIC_EXPANDO';
elem.expandoClass = 'selftext miiverse';
elem.expandoOptions = {
generate() ... | gavin19/Reddit-Enhancement-Suite | lib/modules/hosts/miiverse.js | JavaScript | gpl-3.0 | 2,172 |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (... | brianzelip/leaflet-sndbx | node_modules/cssnext/node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser/dist/selectors/id.js | JavaScript | gpl-3.0 | 2,660 |
var searchData=
[
['get',['get',['../class_py_a_r_t_o_s_1_1config_1_1___config.html#afe2f8c6697f7259c7d087300ac17a8e4',1,'PyARTOS::config::_Config']]],
['getimagesfromsynset',['getImagesFromSynset',['../class_py_a_r_t_o_s_1_1imagenet_1_1_image_repository.html#adf61dcc76a6edc5e3b02fa12d14e809c',1,'PyARTOS::imagenet:... | mbakthav/artos | docs/PyARTOS/html/search/functions_67.js | JavaScript | gpl-3.0 | 1,353 |
/**
* @license
* This file is part of the Game Closure SDK.
*
* The Game Closure SDK is free software: you can redistribute it and/or modify
* it under the terms of the Mozilla Public License v. 2.0 as published by Mozilla.
* The Game Closure SDK is distributed in the hope that it will be useful,
* but WITHOUT ... | jishnu7/timestep | src/ui/TextView.js | JavaScript | gpl-3.0 | 930 |
(function claimAward($) {
var $form = $('.js-confirm-form');
var $emailInput = $form.find('.js-email-input');
var where = $form.prop('action');
var method = $form.prop('method');
var code = $form.find('input[name="code"]').val();
var csrfToken = $form.find('input[name="csrf"]').val();
jQuery.ajaxSetup({
... | mozilla/openbadger | public/js/claim-award.js | JavaScript | mpl-2.0 | 1,156 |
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2017 SalesAgility Ltd.
*
* This program is free so... | noelhunter/SuiteCRM | jssource/src_files/modules/Users/login.js | JavaScript | agpl-3.0 | 5,176 |
/**
* Copyright (c) 2014, Oracle and/or its affiliates.
* All rights reserved.
*/
"use strict";var l={"HI":["HI","Hava\u00ED"],"AK":["AK","Alasca"],"CA":["CA","Calif\u00F3rnia"],"NH":["NH","Nova Hampshire"],"NJ":["NJ","Nova Jersey"],"NM":["NM","Novo M\u00E9xico"],"FL":["FL","Fl\u00F3rida"],"NY":["NY","Nova York"],"G... | afsinka/jet_jsp | src/main/webapp/js/libs/oj/v1.1.2/resources/internal-deps/dvt/thematicMap/resourceBundles/UsaStatesBundle_pt_BR.js | JavaScript | lgpl-2.1 | 466 |
// Message Utils required for Chat
export function convertRawMessage(rawMessage, currentThreadID) {
return {
...rawMessage,
date: new Date(rawMessage.timestamp),
isRead: rawMessage.threadID === currentThreadID
};
};
export function getCreatedMessageData(text, currentThreadID, voice) {
var timestamp =... | isuruAb/chat.susi.ai | src/utils/ChatMessageUtils.js | JavaScript | lgpl-2.1 | 1,163 |
/**
* Report generator test classes.
*/
const expected = global.testHelpers.artifacts.getArtifact('reportGenerator');
/**
* Helper function for creating XPath expression predicates to accurately
* determine if an element has a class.
*
* This prevents incorrect matching of class names where the desired class name... | jtpalmer/xdmod | tests/ui/test/specs/xdmod/reportGenerator.page.js | JavaScript | lgpl-3.0 | 68,149 |
/**
* Utility to display notifications and error messages.
* The messages are displayed on the top center of the web page
* @constructor Notify
*/
function Notify () {
this.dom = {};
// TODO: attach the event as soon as there are one or multiple messages displayed,
// remove it as soon as they are all ... | SoftwareKing/Zdocker | src/main/webapp/js/jsoneditor/app/web/notify.js | JavaScript | apache-2.0 | 4,104 |
export * from 'wherehows-web/reducers/entities/entities';
| shpark76/WhereHows | wherehows-web/app/reducers/entities/index.js | JavaScript | apache-2.0 | 58 |
'use strict'
// test-agent.js modifies the process state
// causing these tests to fail when running under single process via tape
if (!process.env.running_under_istanbul) {
var request = require('../index')
var http = require('http')
var server = require('./server')
var tape = require('tape')
var s = serve... | watson/request | tests/test-agentOptions.js | JavaScript | apache-2.0 | 1,249 |
var LscriptFns = new Array(LHeader, LPartition, LGuard, LRepartition, LComment, LContinue, LFooter);
function LHeader(n, partitions, fnName){
var str="";
return str;
}
function LPartition(){
var str="";
return str;
}
function LPart(c, part, blk){
var str="";
return str;
}
function LGuard(c, part, sectio... | admin-datarm/datascience | linear_algebra/code/LAFF-2.0xM/Spark/template.js | JavaScript | apache-2.0 | 594 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | makotogo/developerWorks | perishable-network/test/perishable.js | JavaScript | apache-2.0 | 9,667 |
//// [es5-asyncFunctionNewExpressions.ts]
declare var x, y, z, a, b, c;
async function newExpression0() {
await new x(y, z);
}
async function newExpression1() {
new (await x)(y, z);
}
async function newExpression2() {
new x(await y, z);
}
async function newExpression3() {
new x(y, await z);
}
asyn... | kpreisser/TypeScript | tests/baselines/reference/es5-asyncFunctionNewExpressions.js | JavaScript | apache-2.0 | 11,328 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match.
The result can be... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/S15.10.2.8_A3_T28.js | JavaScript | apache-2.0 | 1,650 |
// Copyright (c) 2014 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.
/*---
es6id: 22.1.3.1_3
description: Array.prototype.concat array like
includes: [compareArray.js]
---*/
var obj = {
"length": 6,
"1": "A",
"... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/concat/Array.prototype.concat_array-like.js | JavaScript | apache-2.0 | 650 |
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.data.AppStore"]){ //_hasResource checks added by build. Do not use _hasResource directl... | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0/dojox/data/AppStore.js | JavaScript | apache-2.0 | 23,948 |
/*
* Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
*/
define([
'underscore',
'contrail-view',
'config/networking/routetable/ui/js/models/RtTableModel',
'config/networking/routetable/ui/js/views/RtTableEditView',
'config/networking/routetable/ui/js/rtTableUtils'
], function (_, Co... | vishnuvv/contrail-web-controller | webroot/config/networking/routetable/ui/js/views/rtTableInterfaceGridView.js | JavaScript | apache-2.0 | 7,268 |
var node = S(input, "application/json");
var currencies = node.prop("orderDetails").prop("currencies");
currencies.insertAfter("euro", new Date());
| camunda/camunda-spin | dataformat-json-jackson/src/test/resources/org/camunda/spin/javascript/nashorn/json/tree/JsonTreeEditListPropertyJavascriptTest.shouldFailInsertWrongObjectAfterSearchObject.js | JavaScript | apache-2.0 | 149 |
var gulp = require('gulp'),
qunit = require('gulp-qunit');
gulp.task('default', function() {
return gulp.src('./test.html')
.pipe(qunit());
});
| chlorm-forks/open-location-code | js/test/gulpfile.js | JavaScript | apache-2.0 | 161 |
var console;
function x() {
var _this = this;
var _this = 5;
(function (x) {
console.log(_this.x);
});
}
| hippich/typescript | tests/baselines/reference/collisionThisExpressionAndLocalVarInFunction.js | JavaScript | apache-2.0 | 137 |
appService.service('CommonService', ['$resource', '$q', 'AppUtil',
function ($resource, $q, AppUtil) {
var resource = $resource('', {}, {
page_setting: {
method: 'GET',
isArray: false,
url: '/page-settings'
}
});
... | timothynode/apollo | apollo-portal/src/main/resources/static/scripts/services/CommonService.js | JavaScript | apache-2.0 | 489 |
dojo.provide("Ozone.eventing.tests.module");
//This file loads in all the test definitions.
try{
if(dojo.isBrowser){
//todo use dojo.require - however async test timing maybe needed to be tweaked.
// dojo.require('Ozone.eventing.tests.rpcLocalTests');
// dojo.require('Ozone.eventing.tests... | ozoneplatform/owf-framework | web-app/js-doh/Ozone/eventing/tests/module.js | JavaScript | apache-2.0 | 1,334 |
require.config({
paths: {
'jQuery': 'lib/jquery-3.1.1.min',
'lodash': 'lib/lodash.min',
'handlebars.runtime': 'lib/handlebars.runtime',
'bootstrap': 'lib/bootstrap.min',
'text': 'lib/text'
},
shim: {
'jQuery': {
exports: '$'
},
'lodash': {
exports: '_'
},
'boots... | hhtpcd/linkerd | admin/src/main/resources/io/buoyant/admin/js/main-namerd.js | JavaScript | apache-2.0 | 545 |
/**
* 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... | apache/incubator-superset | superset-frontend/src/dashboard/reducers/dashboardState.test.js | JavaScript | apache-2.0 | 5,468 |
/*
Copyright (c) 2013, Sean Kasun
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 source code must retain the above copyright notice, this
list of conditions and the f... | Metibor/minutor | web/display.js | JavaScript | bsd-2-clause | 4,689 |
var events = require('events');
var util = require('util');
function Transport() {
}
util.inherits(Transport, events.EventEmitter);
var http = require('http');
function HTTPTransport(options) {
this.defaultPort = 80;
this.transport = http;
this.options = options || {};
}
util.inherits(HTTPTransport, Trans... | Livefyre/raven-node | lib/transports.js | JavaScript | bsd-2-clause | 2,689 |
/**
* 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
* @format
*/
/* eslint-env jest */
const React = require('react');
const ReactTestRenderer = require('react-test-rende... | pandiaraj44/react-native | Libraries/Utilities/ReactNativeTestTools.js | JavaScript | bsd-3-clause | 7,750 |
// Copyright (c) 2012 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';
class SourceEntry {
/**
* A SourceEntry gathers all log entries with the same source.
*
* @constructor
*/
constructor(l... | catapult-project/catapult | netlog_viewer/netlog_viewer/source_entry.js | JavaScript | bsd-3-clause | 11,001 |
Drawable.Note = function(note_obj, paper) {
var that = this;
var note = paper.set();
var ox = 0, oy = 0, lx = 0, ly = 0;
var moveFnc = function(dx, dy, x, y, evt) {
lx = dx + ox;
ly = dy + oy;
lx = Math.min(Math.max(lx, 0), UI.Statemachine.getR().width - this.getBBox().width);
ly = Math.min(Math.max(ly, ... | FlexBE/flexbe_app | src/drawable/drawable_note.js | JavaScript | bsd-3-clause | 3,524 |
// Copyright (c) 2012 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.
cr.define('ntp', function() {
'use strict';
// We can't pass the currently dragging tile via dataTransfer because of
// http://crbug.com/31037
... | CapOM/ChromiumGStreamerBackend | chrome/browser/resources/ntp4/tile_page.js | JavaScript | bsd-3-clause | 49,536 |
import _curry2 from './internal/_curry2.js';
/**
* Creates a new list out of the two supplied by creating each possible pair
* from the lists.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig [a] -> [b] -> [[a,b]]
* @param {Array} as The first list.
* @param {Array} bs The second list.
* @ret... | endlessm/chromium-browser | third_party/devtools-frontend/src/node_modules/ramda/es/xprod.js | JavaScript | bsd-3-clause | 989 |
/**
* 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 strict-local
* @format
*/
'use strict';
const nullthrows = require('nullthrows');
const {
getCppTypeForAnnotation,
... | arthuralee/react-native | packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js | JavaScript | bsd-3-clause | 7,451 |
iD.ui.Restore = function(context) {
return function(selection) {
if (!context.history().lock() || !context.history().restorableChanges())
return;
var modal = iD.ui.modal(selection, true);
modal.select('.modal')
.attr('class', 'modal fillL col6');
var introM... | zbycz/iD | js/id/ui/restore.js | JavaScript | isc | 1,342 |
import {
InstancedInterleavedBuffer,
InterleavedBufferAttribute,
Mesh,
Vector3
} from 'three';
import { LineSegmentsGeometry } from '../lines/LineSegmentsGeometry.js';
import { LineMaterial } from '../lines/LineMaterial.js';
const _start = new Vector3();
const _end = new Vector3();
class Wireframe extends Mesh {
... | damienmortini/dlib | node_modules/three/examples/jsm/lines/Wireframe.js | JavaScript | isc | 1,590 |
import LineString from '../../geom/LineString';
import Point from '../../geom/Point';
import Polygon from '../../geom/Polygon';
import extend from '../../../../../extend';
import ArrayList from '../../../../../java/util/ArrayList';
import GeometryFilter from '../../geom/GeometryFilter';
export default function Connecte... | atlregional/otp.io | node_modules/jsts/src/org/locationtech/jts/operation/distance/ConnectedElementPointFilter.js | JavaScript | isc | 895 |
/**
* Created by PRadostev on 09.06.2015.
*/
L.GML.MultiCurve = L.GML.AbstractMultiPolyline.extend({
initialize: function () {
L.GML.AbstractMultiPolyline.prototype.initialize.call(this);
this.elementTag = 'gml:MultiCurve';
}
});
| Flexberry/Leaflet-WFST | src/Format/Parsers/Layers/MultiCurve.js | JavaScript | mit | 245 |
import QTree from './QTree.js'
export {
QTree
}
| rstoenescu/quasar-framework | ui/src/components/tree/index.js | JavaScript | mit | 51 |
module.exports={A:{A:{"1":"E A B","2":"H D G fB"},B:{"1":"1 C p J L N I"},C:{"1":"0 1 2 3 5 6 7 8 9 dB FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t u v w x y z BB CB DB bB VB"},D:{"1":"0 1 2 3 5 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j... | jerrysam/jeromeminney-staging | node_modules/caniuse-lite/data/features/textcontent.js | JavaScript | mit | 865 |
// CommonJS compatible module loading.
// (Except from require.paths, it's compliant with spec 1.1.1.)
(function(parentExports){
// normalize an array of path components
function normalizeArray (v, keepBlanks) {
var L = v.length, dst = new Array(L), dsti = 0,
i = 0, part, negatives = 0,
isRelati... | brentlintner/arctor | deps/browser-require/require.js | JavaScript | mit | 6,971 |
var gulp = require('gulp'),
ghPages = require('gulp-gh-pages'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
minifycss = require('gulp-minify-css'),
uglify = require('gulp-uglify'),
livereload = require('gulp-livereload'),
newer = require('gulp-newer');
// ROOT... | attribution/calendar | gulpfile.js | JavaScript | mit | 1,652 |
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var concat = require('gulp-concat');
var html2js = require('gulp-html2js');
gulp.task('browserify', function() {
return gulp.
src('./index.js').
pipe(browserify()).
pipe(gulp.dest('./bin'));
});
gulp.task('templates', function() {
... | magesa/MongoDBx-M101X | chapter5_examples/6-examples/gulpfile.js | JavaScript | mit | 630 |
/**
* @license
* v1.2.8-1
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
/**
* Class used to subscribe ILogListener and log messages throughout an... | joeyparrish/cdnjs | ajax/libs/pnp-logging/1.2.8-1/logging.es5.js | JavaScript | mit | 7,219 |
$(function() {
$.fn.googleMap = function(params) {
params = $.extend( {
zoom : 10,
coords : [48.895651, 2.290569],
type : "ROADMAP",
debug : false,
langage : "english",
mouseZoom: true
}, params);
switch(params.type) {
case 'ROADMAP':
case 'SATELLITE':
case ... | hkcodeconf/hongkong.codeconf.io | assets/libs/gmap/jquery.googlemap.js | JavaScript | mit | 9,953 |
var async = require('async');
var api2HTML = require('./to_html');
var api2JSON = require('../origin/tools/json');
var utils = require('./utils');
var config = require('../config');
var db = config.mysql;
module.exports = function (app) {
// 网站首页
app.get('/', function (req, res, next) {
req.url = '/public/in... | jiaojinqian/node-doc-cn | routes/view_api.js | JavaScript | mit | 4,435 |
/*! jQuery UI - v1.11.4 - 2015-03-11
* http://jqueryui.com
* Includes: core.js, widget.js, mouse.js, position.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, draggable.js, droppable.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.j... | rdonalson/FinancialPlanner | FinancialPlanner.Web/obj/Release/Package/PackageTmp/Scripts/jquery-ui-1.11.4.js | JavaScript | mit | 470,596 |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<bf97035603c1d08bb7a42542c70a478c>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... | facebook/relay | packages/react-relay/relay-hooks/__tests__/__generated__/usePaginationFragmentTest2Fragment.graphql.js | JavaScript | mit | 1,455 |
(function() {
app.views.NavView = app.views.BaseView.extend({
// name of the template file to load from the server
templateName: 'nav',
// Mount to messages section
el: '#nav-links',
// UI Events
events: {
'click #logout': 'logout'
},
in... | Aravind-Suresh/SaveTheHacker-Backend | public/app/views/Nav.js | JavaScript | mit | 1,295 |
// gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed)
/**
* Module dependencies.
*/
var escape = require('./utils').escape;
/**
* Extend proto.
*/
module.exports = function (proto) {
// http://www.graphicsmagick.org/GraphicsMagick.html#details-fill
proto.fill = function fill (c... | feilaoda/power | node_modules/tower/node_modules/gm/lib/drawing.js | JavaScript | mit | 4,338 |
require('../../../modules/es.array.for-each');
module.exports = require('../../../internals/entry-virtual')('Array').forEach;
| AntonyThorpe/knockout-apollo | tests/node_modules/core-js/es/array/virtual/for-each.js | JavaScript | mit | 127 |
(function(){
"use strict";
KC3StrategyTabs.quotes = new KC3StrategyTab("quotes");
KC3StrategyTabs.quotes.definition = {
tabSelf: KC3StrategyTabs.quotes,
audio: false,
server_ip: "",
repo_loc: "../../data/",
enQuotes: [],
jpQuotes: [],
init :function() {
var MyServer = (new KC3Se... | c933103/KC3Kai | src/pages/strategy/tabs/quotes/quotes.js | JavaScript | mit | 8,216 |
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
});
} else if (typeof module === "object" && module.exports) {
module.exports = factory(root);
} else {
... | joeyparrish/cdnjs | ajax/libs/bodymovin/5.5.6/lottie_html.js | JavaScript | mit | 494,343 |
/* Riot v4.0.6, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.riot = {}));
}(this, function (exports) { 'use strict... | sufuf3/cdnjs | ajax/libs/riot/4.0.6/riot.js | JavaScript | mit | 65,964 |
require('../../../modules/es.string.blink');
module.exports = require('../../../internals/entry-virtual')('String').blink;
| AntonyThorpe/knockout-apollo | tests/node_modules/core-js/es/string/virtual/blink.js | JavaScript | mit | 124 |
/**
* 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.12 (2019-07-18)
*/
(function () {
'use strict';
... | extend1994/cdnjs | ajax/libs/tinymce/5.0.12/plugins/print/plugin.js | JavaScript | mit | 1,493 |
// closure to avoid namespace collision
(function(){
// creates the plugin
tinymce.create('tinymce.plugins.mygallery', {
// creates control instances based on the control's id.
// our button's id is "mygallery_button"
createControl : function(id, controlManager) {
if (id == 'mygallery_button') {
// creat... | marcminor/citywell | wp-content/themes/savior/_theme_settings/shortcodes/test-shortcode/mygallery_plugin.js | JavaScript | gpl-2.0 | 5,320 |
/*
*
* Admin jQuery Functions
* ------------------------------------------------
* Swift Framework
* Copyright Swift Ideas 2015 - http://www.swiftideas.com
*
*/
jQuery(function(jQuery) {
// FIELD VARIABLES
var $sidebar_config = jQuery('#sf_sidebar_config'),
$left_sidebar = jQuery('#sf_left_sidebar').parent().p... | tuffon/imaginewithus | wp-content/themes/atelier/js/sf-admin.js | JavaScript | gpl-2.0 | 32,130 |
var searchData=
[
['noc_2ec',['noc.c',['../noc_8c.html',1,'']]],
['noc_2eh',['noc.h',['../noc_8h.html',1,'']]]
];
| mbalotin/embarcados_t1 | usr/doc/doxygen/html/search/files_6e.js | JavaScript | gpl-2.0 | 118 |
function web( context )
{
this.init( context );
}
web.prototype =
{
context: null,
prevMouseX: null, prevMouseY: null,
points: null, count: null,
init: function( context )
{
this.context = context;
this.context.globalCompositeOperation = 'source-over';
this.points = new Array();
this.count = 0;
},
... | jbroadway/cacophony | src/lib/harmony/brushes/web.js | JavaScript | gpl-2.0 | 1,546 |
'use strict';
import setter from 'decorators/setter';
class SetterStub {
constructor(data) {
this.data = data;
}
get(key) {
let value = this.data[key];
return (typeof value === 'undefined') ? null : value;
}
@setter
set(key, value) {
this.data[key] = value;
... | localymine/multisite | wp-content/themes/kodomo/html/toolkit-3.0/tests-es6/decorators/setter-test.js | JavaScript | gpl-2.0 | 1,178 |
'use strict';
var React = require('react');
var PureRenderMixin = require('react-addons-pure-render-mixin');
var SvgIcon = require('../../svg-icon');
var ActionLabel = React.createClass({
displayName: 'ActionLabel',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
S... | fernando-jascovich/vagrant-manager | node_modules/material-ui/lib/svg-icons/action/label.js | JavaScript | gpl-2.0 | 569 |
/*global define*/
define([
'../Core/Cartesian2',
'../Core/Color',
'../Core/defined',
'../Core/defineProperties',
'../Core/Event',
'./createPropertyDescriptor',
'./Property'
], function(
Cartesian2,
Color,
defined,
defineProperti... | rbensa01/Cesium-ESIPE-Project-District | projet/cesium/Source/DataSources/GridMaterialProperty.js | JavaScript | gpl-3.0 | 6,590 |
var d = new Date();
function showCalendar(y, m) {
var text = "";
text += "<div class=\"calendar_wrap\">";
text += "<table class=\"calendar_table\" border=\"0\" cellspacing=\"0\">";
text += "<colgroup>";
text += "<col width=\"50px\" />";
text += "<col width=\"50px\" />";
text += "... | StudentRaina/ask-for-elder-brother | funsking/WebContent/resources/script/calendar/calendar.js | JavaScript | gpl-3.0 | 3,629 |
// --
// Copyright (C) 2001-2016 OTRS AG, http://otrs.com/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
// --
"use strict";
(function () {
/**
... | nilei/otrs | var/httpd/htdocs/js/Core.JavaScriptEnhancements.js | JavaScript | agpl-3.0 | 930 |
import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import noop from 'lodash/noop';
import StatusContent from 'mastodon/components/status_content';
import { MediaGallery, Video } from 'mastodon/features/ui/util/async-components';
import Bundle from ... | MitarashiDango/mastodon | app/javascript/mastodon/features/report/components/status_check_box.js | JavaScript | agpl-3.0 | 3,170 |
//// [declFileTypeAnnotationTypeAlias.ts]
module M {
export type Value = string | number | boolean;
export var x: Value;
export class c {
}
export type C = c;
export module m {
export class c {
}
}
export type MC = m.c;
export type fc = () => c;
}
interface Wi... | mauricionr/TypeScript | tests/baselines/reference/declFileTypeAnnotationTypeAlias.js | JavaScript | apache-2.0 | 1,617 |
import Resource from '@rancher/ember-api-store/models/resource';
import { computed, get } from '@ember/object';
import { inject as service } from '@ember/service';
var KontainerDriver = Resource.extend({
intl: service(),
modalService: service('modal'),
type: 'kontainerDriver',
availableActions... | rancherio/ui | app/models/kontainerdriver.js | JavaScript | apache-2.0 | 2,089 |
// Copyright 2020 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.
// Flags: --throws
function main() {
function g() {
function h() {
f;
}
{
function f() {}
}
f;
throw new Error();... | youtube/cobalt | third_party/v8/test/mjsunit/regress/regress-crbug-1053364.js | JavaScript | bsd-3-clause | 342 |
(function() {
function addGplusButton() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js?onload=onLoadCallback';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
}
function openFeedback... | ChromiumWebApps/chromium | chrome/common/extensions/docs/static/js/site.js | JavaScript | bsd-3-clause | 884 |
/**
* JavaScript
* Hidden object, js 1.3.
*
* 17.07.2001, torstein@opera.com
* $Id:
*
*/
var tprop;
function main( hiddenObject )
{
try
{
var cvs = "$Id: js_hidden.js 22548 2008-01-23 21:29:12Z hallvord $";
testmodule( "The Hidden object", cvs );
testcase( 'Hidden exists' );
this.... | frivoal/presto-testo | core/standards/scripts/jstest-futhark/js-regression/scripts/js_hidden.js | JavaScript | bsd-3-clause | 1,947 |
'use strict';
const blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers');
const setupTestHooks = blueprintHelpers.setupTestHooks;
const emberNew = blueprintHelpers.emberNew;
const emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy;
const modifyPackages = blueprintHelpers.modifyPackages;
co... | kennethdavidbuck/ember.js | node-tests/blueprints/initializer-test-test.js | JavaScript | mit | 2,317 |
(function(){
angular.module('ui.grid')
.factory('GridColumn', ['gridUtil', 'uiGridConstants', 'i18nService', function(gridUtil, uiGridConstants, i18nService) {
/**
* ******************************************************************************************
* PaulL1: Ugly hack here in documentation. These pro... | kamikasky/ui-grid | src/js/core/factories/GridColumn.js | JavaScript | mit | 36,173 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/streamanalyticsManagement/lib/operations/operations.js | JavaScript | mit | 16,655 |
const DrawCard = require('../../drawcard.js');
class BrienneOfTarth extends DrawCard {
setupCardAbilities(ability) {
this.persistentEffect({
condition: () => this.controller.anyCardsInPlay(card => card.hasTrait('King') || card.name === 'Catelyn Stark'),
match: this,
effe... | cryogen/throneteki | server/game/cards/04.5-GoH/BrienneOfTarth.js | JavaScript | mit | 451 |
this.HTMLDocument = this.Document;
| JakeChampion/polyfill-service | polyfills/HTMLDocument/polyfill.js | JavaScript | mit | 35 |
"use strict";
var _getSert = require("../getsert");
var generateCode = require("../../../src/utils/code-generator");
class CompanyDataUtil {
getSert(input) {
var ManagerType = require("../../../src/managers/master/company-manager");
return _getSert(input, ManagerType, (data) => {
return... | danliris/dl-module | test/data-util/master/company-data-util.js | JavaScript | mit | 1,261 |
import EmberView from 'ember-views/views/view';
import run from 'ember-metal/run_loop';
import compile from 'ember-template-compiler/system/compile';
import { equalInnerHTML } from 'htmlbars-test-helpers';
var view;
function appendView(view) {
run(function() { view.appendTo('#qunit-fixture'); });
}
import isEnable... | visualjeff/ember.js | packages/ember-htmlbars/tests/attr_nodes/boolean_test.js | JavaScript | mit | 2,967 |
(function(){var f={Version:"7.1.5044.21402"};window.cfx.treemap=f;var j=window.cfx,i=window.sfx;f.TreeMapLayout={Naive:0,Squarified:1};var n=function g(){g._ic();this.d=this.g=null;this.j=this.h=0;this.f=null;this._0TreeMap()};f.TreeMap=n;n.prototype={_0TreeMap:function(){this.setLayout(1);this.e=!1;return this},getLay... | scottyadean/socialWorks | public/js/vendor/jChart/jchartfx.treemap.js | JavaScript | mit | 4,525 |
IntlRelativeFormat.__addLocaleData({"locale":"ii","pluralRuleFunction":function (n,ord){if(ord)return"other";return"other"},"fields":{"year":{"displayName":"ꈎ","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"other":"+{0} y"},"past":{"other":"-{0} y"}}},"month":{"displayName":"ꆪ"... | Hive-Team/venus | node_modules/intl-relativeformat/dist/locale-data/ii.js | JavaScript | mit | 1,070 |