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 |
|---|---|---|---|---|---|
//>>built
define("dgrid/extensions/nls/ja/pagination",{status:"\u691c\u7d22\u7d50\u679c${total}\u4ef6\u4e2d${start}\u4ef6\u304b\u3089${end}\u4ef6\u307e\u3067\u3092\u8868\u793a\u3002"});
//@ sourceMappingURL=pagination.js.map | joshuacoddingyou/php | public/scripts/dgrid/extensions/nls/ja/pagination.js | JavaScript | gpl-2.0 | 224 |
var everyModule = require('./everymodule');
var guestModule = module.exports =
everyModule.submodule('guest')
.configurable({
redirectPath: 'Where to redirect to after a failed or successful OAuth authorization'
})
.get('entryPath',
'the link a user follows to initiate authorization')
.step('getGuest... | toolsmasterbioinfo/toolsmasterbioinfo | node_modules/everyauth/lib/modules/guest.js | JavaScript | gpl-2.0 | 2,505 |
var Modeler = require("../Modeler.js");
var className = 'TypeCreateVpnGatewayType';
var TypeCreateVpnGatewayType = function(json, parentObj) {
parentObj = parentObj || this;
// Class property definitions here:
Modeler.extend(className, {
type: {
type: "string",
wsdlDefinition: {
name: "t... | holidayextras/wsdl2.js | example/EC2/Type/CreateVpnGatewayType.js | JavaScript | gpl-3.0 | 798 |
/*
Copyright (c) 2016, BrightPoint Consulting, Inc.
MIT LICENSE:
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, mo... | kimi641/GPSanno | web/html/src/core/util.js | JavaScript | gpl-3.0 | 4,563 |
(function () {
var a;
(function () {
return {
b: a
};
}());
}());
| jacksonrayhamilton/context-coloring | fixtures/test/key-values.js | JavaScript | gpl-3.0 | 106 |
YUI.add('moodle-core-actionmenu', function (Y, NAME) {
/**
* Provides drop down menus for list of action links.
*
* @module moodle-core-actionmenu
*/
var BODY = Y.one(Y.config.doc.body),
CSS = {
MENUSHOWN : 'action-menu-shown'
},
SELECTOR = {
CAN_RECEIVE_FOCUS_SELECTOR: 'input:not([typ... | udc-evea/moodle | lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu.js | JavaScript | gpl-3.0 | 11,502 |
'use strict';
/*global define, socket, app, ajaxify, config*/
define('forum/account/settings', ['forum/account/header'], function(header) {
var AccountSettings = {};
AccountSettings.init = function() {
header.init();
$('#submitBtn').on('click', function() {
var settings = {};
$('.account').find('input,... | medidog/Cuvaldiz | public/src/client/account/settings.js | JavaScript | gpl-3.0 | 1,935 |
var SlideService = new Backbone.Service({ url: path.root,
sync: {
'read': function (e, options) {
return path.api.slides + '?slideSetId=' + model.get('slideSetId');
},
'delete': {
'path': path.api.slides,
'data': function(model) {
var param... | icacic/Valamis | learn-portlet/src/main/webapp/js2.0/valamis-slides-editor/slideService.js | JavaScript | gpl-3.0 | 2,716 |
var eo_venue = eo_venue || { marker: false };
jQuery(document).ready(function ($) {
postboxes.add_postbox_toggles( pagenow );
var eo_venue_Lat = $("#eo_venue_Lat").val();
var eo_venue_Lng = $("#eo_venue_Lng").val();
var zoom = 15;
if( eo_venue_Lat === 0 && eo_venue_Lng === 0 ){
var address = [];
$(".eo_add... | brianjohnhanna/Event-Organiser | js/venue-admin.js | JavaScript | gpl-3.0 | 2,701 |
// Based on https://codeshare.frida.re/@dzonerzy/fridantiroot/
Java.performNow(function () {
var RootPackages = ["com.noshufou.android.su", "com.noshufou.android.su.elite", "eu.chainfire.supersu",
"com.koushikdutta.superuser", "com.thirdparty.superuser", "com.yellowes.su", "com.koushikdutta.rommanager",
... | ajinabraham/YSO-Mobile-Security-Framework | mobsf/DynamicAnalyzer/tools/frida_scripts/default/root_bypass.js | JavaScript | gpl-3.0 | 10,571 |
/* global describe, it, before */
const Brave = require('../lib/brave')
const {urlInput} = require('../lib/selectors')
const {getTargetAboutUrl} = require('../../js/lib/appUrlUtil')
const settingsConst = require('../../js/constants/settings')
const {passwordManagers, extensionIds} = require('../../js/constants/passwor... | willy-b/browser-laptop | test/about/extensionsTest.js | JavaScript | mpl-2.0 | 3,653 |
var publicationPanel = new YAHOO.widget.Panel("publication",
{ width: "800px",
height: "420px",
fixedcenter: true,
constraintoviewport: true,
close: true,
draggable: false,
zindex: 4,
modal: true,
visible: false
}
);
publicationPanel.setHeader("Publish imports");
publicationPanel.setBody("<ce... | mint-ntua/Mint | src/main/webapp/js/publication.js | JavaScript | agpl-3.0 | 8,109 |
var Main = require('../src/Main.purs');
var debug = process.env.NODE_ENV === 'development'
if (module.hot) {
var app = Main[debug ? 'debug' : 'main']();
app.state.subscribe(function (state) {
window.puxLastState = state;
});
module.hot.accept();
} else {
Main[debug ? 'debug' : 'main']();
}
| epsilonhalbe/gonimo-front | support/index.js | JavaScript | agpl-3.0 | 299 |
define(function (require) {
'use strict';
var modules = require('modules');
modules.get('a4c-plugins', ['ngResource']).factory('pluginServices', ['$location', '$resource',
function($location, $resource) {
//add / remove roles
var manageConfigs = $resource('rest/plugin/:pluginId/config', {}, {
... | loicalbertin/alien4cloud | alien4cloud-ui/src/main/webapp/scripts/admin/plugins/plugin_services.js | JavaScript | apache-2.0 | 938 |
'use strict';
//---------------------------------------------------------------------------
// File: test.js
//
// Usage: npm test
//---------------------------------------------------------------------------
var should = require('chai').should();
var model = require('../app/public/js/model.js');
describe('data-pump:... | smaashthemac/data-pump | test/test.js | JavaScript | apache-2.0 | 441 |
/* -*- 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... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/mozilla/data/js1_8/decompilation/regress-469625-01.js | JavaScript | apache-2.0 | 2,513 |
(function( $ ) {
'use strict';
/**
* (en)serverListDirective
* @ko serverListDirective
* @group Directive
* @name serverListDirective
* @class
*/
pinpointApp.directive( "serverListDirective", [ "$timeout", "$window", "AnalyticsService", "TooltipService",
function ( $timeout, $window, analyticsService,... | wziyong/pinpoint | web/src/main/webapp/features/serverList/server-list.directive.js | JavaScript | apache-2.0 | 4,612 |
/**
* The main solrHeatmapApp module
*/
(function() {
angular.module('SolrHeatmapApp', [
'templates-components',
'ui.bootstrap',
'rzModule',
'search_components',
'ui.router'
]);
angular.module('SolrHeatmapApp')
.config(function($locationProvider, $stateProvider,... | dsmiley/hhypermap-bop | bop-ui/app/app.js | JavaScript | apache-2.0 | 901 |
export function extend (a, b) {
for (const key in b) {
a[key] = b[key]
}
return a
}
| BigBoss424/portfolio | v6/node_modules/vue-router/src/util/misc.js | JavaScript | apache-2.0 | 94 |
// @flow
// titled modal page component
import * as React from 'react'
import cx from 'classnames'
import { Box } from '../primitives'
import { TitleBar } from '../structure'
import { Overlay } from './Overlay'
import styles from './modals.css'
import type { TitleBarProps } from '../structure'
export type ModalPageP... | Opentrons/labware | components/src/modals/ModalPage.js | JavaScript | apache-2.0 | 1,034 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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
/// ... | hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js | JavaScript | apache-2.0 | 2,873 |
var http = require('http');
console.log('node.js application starting...');
var svr = http.createServer(function(req, resp) {
resp.end('Hello, World!');
});
svr.listen(9000, function() {
console.log('Node HTTP server is listening');
}); | WWitman/api-platform-samples | doc-samples/nodejs-hello/apiproxy/resources/node/hello-world.js | JavaScript | apache-2.0 | 247 |
define(function(require) {
'use strict';
require('es5-shim');
describe('catalog api', function() {
var api = require('api');
var catalogApi = api.catalog;
var baseUrl = 'https://api.mendeley.com';
var mockAuth = require('mocks/auth');
api.setAuthFlow(mockAuth.moc... | massa84/mendeley-javascript-sdk | test/spec/api/catalog.spec.js | JavaScript | apache-2.0 | 3,164 |
var LatLng = require('./LatLng');
var common = require('./Common');
/*****************************************************************************
* geometry Encode / decode points
* http://jsfiddle.net/8nzg7tta/
*****************************************************************************/
//decode function
functi... | dukhanov/cordova-plugin-googlemaps | www/encoding.js | JavaScript | apache-2.0 | 2,275 |
/**
* @license
* Copyright 2014 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 requir... | ropik/lovefield | tests/eval_number_test.js | JavaScript | apache-2.0 | 3,499 |
var a00017 =
[
[ "AffineMatrix", "a00017.html#a717b7e0eb1755a04f7a3bffa78067233", null ],
[ "ClipBaseline", "a00017.html#a04fc592f53befcf29bb34b1dc0efee2b", null ],
[ "CodepointToUtf16be", "a00017.html#a52f5185572d2e50cc0aeccc369fa718d", null ],
[ "dist2", "a00017.html#a4256401241be9abaaa094a8b2fc40b0e"... | stweil/tesseract-ocr.github.io | 4.00.00dev/a00017.js | JavaScript | apache-2.0 | 484 |
(function () {
'use strict';
angular
.module('lorryApp')
.controller('MainCtrl', MainCtrl);
MainCtrl.$inject = ['$scope', 'viewHelpers', 'userAgent'];
function MainCtrl($scope, viewHelpers, userAgent) {
$scope.swoosh = function () {
viewHelpers.animateLogo();
};
$scope.resetWorksp... | CenturyLinkLabs/lorry-ui | app/scripts/controllers/main.js | JavaScript | apache-2.0 | 826 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
The Date property "prototype" has { DontEnum, DontDelete, ReadOnly }
attributes
es5id: 15.9.4.1_A1_T3
description: Checking DontEnum attribute
---*/
if (Date.proper... | baslr/ArangoDB | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Date/prototype/S15.9.4.1_A1_T3.js | JavaScript | apache-2.0 | 544 |
/**
* Copyright 2016 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | avimehta/amphtml | extensions/amp-soundcloud/0.1/test/test-amp-soundcloud.js | JavaScript | apache-2.0 | 3,453 |
/*
* Copyright (C) 2015 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | fjsc/sparta | web/src/scripts/directives/c-input-file-model.js | JavaScript | apache-2.0 | 1,512 |
(function(Generate, StaticClass, random){
this.Number = (function(){
function Number(){};
Number = new StaticClass(undefined, "Bao.Test.DummyData.Generate.Number");
Number.properties({
id : function(){
return this.random(1000000);
},
random : function(_max){
/// <summary>
/// 获取随机数字。
/// </summar... | foruse/phonegap-audio | www/test/dummyData/generate.js | JavaScript | apache-2.0 | 1,287 |
/*!
* FormValidation (http://formvalidation.io)
* The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks
*
* @version v0.6.3, built on 2015-05-31 10:06:42 PM
* @author https://twitter.com/formvalidation
* @copyright (c) 2013 - 2015 N... | Dushyant099/dushyantpatel.me | third-party/form-validation/js/framework/foundation.js | JavaScript | artistic-2.0 | 5,949 |
// NOCOMPILE
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import ImageLayer from '../src/ol/layer/Image.js';
import TileLayer from '../src/ol/layer/Tile.js';
import OSM from '../src/ol/source/OSM.js';
import RasterSource from '../src/ol/source/Raster.js';
import XYZ from '../src/ol/source/X... | gingerik/ol3 | examples/shaded-relief.js | JavaScript | bsd-2-clause | 4,925 |
a?.`b` | jquery/esprima | test/fixtures/es2020/optional-chaining/invalid-optional-chaining-template-string.js | JavaScript | bsd-2-clause | 6 |
/**
* @module ol/source/Source
*/
import BaseObject from '../Object.js';
import SourceState from './State.js';
import {abstract} from '../util.js';
import {get as getProjection} from '../proj.js';
/**
* A function that takes a {@link module:ol/PluggableMap~FrameState} and returns a string or
* an array of strings ... | adube/ol3 | src/ol/source/Source.js | JavaScript | bsd-2-clause | 5,662 |
/**
* 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... | frantic/react-native | website/core/BlogPostHeader.js | JavaScript | bsd-3-clause | 1,561 |
/**
* Created by Samuel Gratzl on 27.12.2016.
*/
import { RangeUtils } from './RangeUtils';
import { Iterator } from '../../base/iterator';
import { SingleRangeElem } from './SingleRangeElem';
export class RangeElem {
constructor(from, to = -1, step = 1) {
this.from = from;
this.to = to;
t... | phovea/phovea_core | dist/range/internal/RangeElem.js | JavaScript | bsd-3-clause | 4,664 |
/**
* Copyright 2014-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.
*
* @providesModu... | nathanmarks/react | src/isomorphic/classic/element/ReactElementValidator.js | JavaScript | bsd-3-clause | 8,179 |
Spree.ready(function () {
var $navLinks = $('.main-nav-bar .nav-link.dropdown-toggle')
var $dropdownMenu = $('.main-nav-bar .dropdown-menu')
var SHOW_CLASS = 'show'
var DATA_TOGGLE_ATTR = 'data-toggle'
var DATA_TOGGLE_VALUE = 'dropdown'
function handleMouseInOutNavLinks(event) {
var $navLink = $(this)
... | imella/spree | frontend/app/assets/javascripts/spree/frontend/main_nav_bar.js | JavaScript | bsd-3-clause | 2,735 |
model = Backbone.Collection.extend({
model: models.House,
sync: function(method, model, options) {
options.success([
{'foo': 'bar'},
{'foo': 'baz'},
{'foo': 'blah'}
]);
}
});
| legatik/Bones | test/fixture/models/Houses.bones.js | JavaScript | bsd-3-clause | 239 |
define('mod/node_config', function() {
var config = {
port:'7076',
host:'code.intra.douban.com',
};//need to write this when online
return config;
});
| xtao/code | hub/static/js/mod/node_config.js | JavaScript | bsd-3-clause | 179 |
$(document).ready(function(){
$(window).scroll(function() { //Sticky Navbar
if ($(this).scrollTop() > 1){
$('.logo-image').addClass("sticky");
$('header').addClass("sticky");
}
else{
$('header').removeClass("sticky");
$('.logo-image').removeClass("st... | grassknoted/Movie-Recommendation-Website | Static/JS/Page_FunctionalityH.js | JavaScript | mit | 1,636 |
/** Point Jarvis
* @version : 1.0.0
* @author : Raven Lagrimas | rjlagrimas08@gmail.com
* @license : MIT
* @link : http://ravenjohn.github.io/.jarvis.js
*/
(function(root){
"use strict";
var j = root.webkitSpeechRecognition ||
root.mozSpeechRecognition ||
root.msSpeechRecognition ||
r... | ravenjohn/.jarvis.js | jarvis.js | JavaScript | mit | 3,709 |
/**
* @license Angular v3.0.1
* (c) 2010-2016 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('rxjs/Subject'), require('rxjs/observable/f... | andpax/PetMais | node_modules/@angular/router/bundles/router.umd.js | JavaScript | mit | 156,280 |
console.log('This will be printed just once');
module.exports = function(numbersToSum) {
let sum = 0,
i = 0,
l = numbersToSum.length;
while (i < l) {
sum += numbersToSum[i++]
}
return sum
}
| rolandovillca/server-client-demo | edx-nodejs/basic-examples/utility.js | JavaScript | mit | 223 |
var Transaction = require('../../transaction')
var inherits = require('inherits')
var debug = require('debug')('knex:tx')
var helpers = require('../../helpers')
import {assign} from 'lodash'
function Transaction_MySQL() {
Transaction.apply(this, arguments)
}
inherits(Transaction_MySQL, Transaction)
a... | maxcnunes/knex | src/dialects/mysql/transaction.js | JavaScript | mit | 1,090 |
function NavbarCtrl($scope, $location, SteamIdService) {
$scope.service = SteamIdService;
$scope.resetSteam = function() {
SteamIdService.reset();
$location.path('/steamid');
};
};
function CarouselCtrl($scope) {
$scope.myInterval = 5000;
$scope.slides = [
{
i... | wesleykerr/wesleykerr.github.io | recommender-pages/recommendations_files/recomms.js | JavaScript | mit | 11,890 |
import Handsontable from './../../../browser';
import {
getScrollbarWidth,
getScrollTop,
getStyle,
offset,
outerHeight,
outerWidth,
} from './../../../helpers/dom/element';
import {objectEach} from './../../../helpers/object';
import {EventManager} from './../../../eventManager';
import {WalkontableViewport... | stevemoore113/ch_web_- | 資源/CCEI/handsontable/src/3rdparty/walkontable/src/viewport.js | JavaScript | mit | 15,269 |
/*!
* jQuery JavaScript Library v2.0.3 -event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions,-deprecated
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* htt... | eric-seekas/jquery-builder | dist/2.0.3/jquery-ajax-deprecated-dimensions-effects-event-alias-offset.js | JavaScript | mit | 185,727 |
var webpack = require('webpack');
module.exports = function(config) {
config.set({
browsers: ['Chrome'],
files: [
'src/**/*.spec.*'
],
frameworks: ['jasmine'],
reporters: ["spec"],
preprocessors: {
'src/**/*.spec.*': ['webpack']
},
... | jide/react-wrapchildren | karma.conf.js | JavaScript | mit | 836 |
/*global define */
/*jslint white:true */
define(["jquery", "bluebird"], function ($, Promise) {
"use strict";
function KBaseExpression(url, auth, auth_cb) {
if (typeof url !== 'string') {
throw new Error('Service url was not provided');
}
this.url = url;
var _url = url;
var depreca... | eapearson/kbase-ui-plugin-typeview | src/plugin/iframe_root/modules/vendor/kbase-service-clients-js/client/expression.js | JavaScript | mit | 24,643 |
'use strict';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import { expect } from 'chai';
import createShallowComponent from './utils/createShallowComponent';
import BurgerMenu from '../lib/BurgerMenu';
const Menu = BurgerMenu.scaleDown;
describe('scaleDown', () => {
let component, m... | frolicking-ampersand/Board | client2/src/components/react-burger-menu/test/scaleDown.spec.js | JavaScript | mit | 2,903 |
/*
YUI 3.7.2 (build 5639)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('view-node-map', function (Y, NAME) {
/**
View extension that adds a static `getByNode()` method that returns the nearest
View instance associated with the given Node (sim... | spadin/coverphoto | node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/view-node-map/view-node-map.js | JavaScript | mit | 2,524 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('emotion'), require('react-dom'), require('prop-types'), require('react-input-autosize')) :
typeof define === 'function' && define.amd ? define(['react', 'emotion', 'react-... | cdnjs/cdnjs | ajax/libs/react-select/2.4.4/react-select.js | JavaScript | mit | 173,923 |
function findAndReplace(searchText, replacement, searchNode) {
if (!searchText || typeof replacement === 'undefined') {
// Throw error here if you want...
return;
}
var regex = typeof searchText === 'string' ?
new RegExp(searchText, 'g') : searchText,
childNodes = (se... | gmolveau/electropose | findreplace.js | JavaScript | mit | 1,429 |
Object.defineProperty(exports, "__esModule", { value: true });
var debug_1 = require("../../utils/debug");
var xml = require("../../xml");
var file_system_1 = require("../../file-system");
var types_1 = require("../../utils/types");
var component_builder_1 = require("./component-builder");
var platform_1 = require("../... | gdtdpt/nativescript-sqlite-migration | MigrationTest/node_modules/tns-core-modules/ui/builder/builder.js | JavaScript | mit | 23,496 |
require('../../modules/es.object.seal');
module.exports = require('../../internals/path').Object.seal;
| AntonyThorpe/knockout-apollo | tests/node_modules/core-js/es/object/seal.js | JavaScript | mit | 104 |
/**
* @param array: Array to take all the elements except the first
*/
function tail(array) {
return array.slice(1, array.length);
}
module.exports = tail;
| BlakeGuilloud/ganon | lib/tail.js | JavaScript | mit | 162 |
(function($) {
$.fn.jumpTo = function() {
$('<option value="">Jump to…</option>').appendTo('#anchor');
$('.jumpTo-anchor').each(function(index){
$('<option value="'+$(this).attr('id')+'">'+$(this).text()+'</option>').appendTo('#anchor');
});
$('#anchor').change(function(){
var divPosition = $('#'+$(thi... | quattromani/maxquattromani | js/scripts/jumpTo.js | JavaScript | mit | 453 |
// Copyright (c) 2017 Uber Technologies, Inc.
//
// 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... | uber/ringpop | test/integration/gossip_test.js | JavaScript | mit | 8,213 |
/*! Tablesaw - v3.0.1-beta.18 - 2017-04-14
* https://github.com/filamentgroup/tablesaw
* Copyright (c) 2017 Filament Group; Licensed MIT */
// UMD module definition
// From: https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js
(function (factory) {
if (typeof define === 'function' && define.amd) {
//... | joeyparrish/cdnjs | ajax/libs/tablesaw/3.0.1-beta.18/stackonly/tablesaw.stackonly.jquery.js | JavaScript | mit | 12,691 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.NextPageLink = void 0;
var _react = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _classnames = _interopRequireDefault(require("classnames"));
var _Ripple = requir... | cdnjs/cdnjs | ajax/libs/primereact/5.0.1/components/paginator/NextPageLink.js | JavaScript | mit | 5,729 |
/* eslint-disable */
import Link, { navigateTo } from "gatsby-link";
import { graphql } from "gatsby"; | gatsbyjs/gatsby | packages/gatsby-codemods/src/transforms/__testfixtures__/import-link/import-named-multiple.input.js | JavaScript | mit | 102 |
/**
* Created by airswoop1 on 7/11/14.
*/
angular.module('formApp.telephoneFilter',[]).filter('tel', function () {
return function (tel) {
if (!tel) { return ''; }
var value = tel.toString().trim().replace(/^\+/, '');
if (value.match(/[^0-9]/)) {
return tel;
}
... | BlueRidgeLabs/significance_labs_team_ohsnap | public/js/filters/telephoneFilter.js | JavaScript | mit | 1,248 |
// Karma configuration
// Generated on Fri May 29 2015 21:48:48 GMT+0200 (CEST)
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/k... | diztinct-tim/BeautyBridge | node_modules/karma-phantomjs2-launcher/karma.conf.js | JavaScript | mit | 1,638 |
var searchData=
[
['x',['x',['../analyse_8bas.html#a7d125b7916fa893521fa3ccd5d939371',1,'x(): analyse.bas'],['../io__input_8bas.html#a7d125b7916fa893521fa3ccd5d939371',1,'x(): io_input.bas'],['../stepper_8bas.html#a7d125b7916fa893521fa3ccd5d939371',1,'x(): stepper.bas'],['../triggers_8bas.html#a7d125b7... | rvega/pd-bbb-gpio | vendors/libpruio-doc-0.0.2a/html/search/variables_78.js | JavaScript | gpl-3.0 | 380 |
'use strict';
var async = require('async');
var winston = require('winston');
var user = require('../user');
var topics = require('../topics');
var notifications = require('../notifications');
var messaging = require('../messaging');
var plugins = require('../plugins');
var meta = require('../meta');
var events = req... | sweetpi/NodeBB | src/socket.io/user.js | JavaScript | gpl-3.0 | 9,081 |
/* TL.Media.Spotify
================================================== */
TL.Media.Spotify = TL.Media.extend({
includes: [TL.Events],
/* Load the media
================================================== */
_loadMedia: function() {
var api_url,
self = this;
// Loading Message
this.loadingMessage();
... | wangjun/TimelineJS3 | source/js/media/types/TL.Media.Spotify.js | JavaScript | mpl-2.0 | 2,479 |
Clazz.declarePackage ("org.jmol.awtjs2d");
Clazz.load (["java.net.URLConnection"], "org.jmol.awtjs2d.JmolURLConnection", null, function () {
c$ = Clazz.decorateAsClass (function () {
this.bytesOut = null;
this.postOut = "";
Clazz.instantialize (this, arguments);
}, org.jmol.awtjs2d, "JmolURLConnection", java.net.URLCon... | ksripathi/edx-demo-course | static/jsmol/j2s/org/jmol/awtjs2d/JmolURLConnection.js | JavaScript | agpl-3.0 | 810 |
var APIContributingShiftPolicy = ServiceCaller.extend( {
key_name: 'ContributingShiftPolicy',
className: 'APIContributingShiftPolicy',
getContributingShiftPolicyDefaultData: function() {
return this.argumentsHandler( this.className, 'getContributingShiftPolicyDefaultData', arguments );
},
getContributingShi... | maestrano/timetrex | interface/html5/services/policy/APIContributingShiftPolicy.js | JavaScript | agpl-3.0 | 1,181 |
/*
* Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
*/
/*
* Configuration View for customizing LogListView
*/
define([
"knockout",
"knockback",
"validation",
"core-basedir/reports/udd/ui/js/views/BaseContentConfigView"
], function(ko, kb, kbValidation, BaseContentConfigView) {
re... | biswajit-mandal/contrail-web-core | webroot/reports/udd/ui/js/views/contentConfigs/LogsConfigView.js | JavaScript | apache-2.0 | 1,369 |
/**
* @license
* Copyright 2013 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... | diracdeltas/end-to-end | src/javascript/crypto/e2e/asymmetric/ecdh.js | JavaScript | apache-2.0 | 8,527 |
/*global define*/
define(
[
'jquery',
'knockout',
'./bindingHandler',
'./utils'
],
function ($, ko, BindingHandler, utils) {
'use strict';
var postInitHandler18, postInitHandler, Tabs;
postInitHandler18 = function (element, valueAccessor) {
... | OHDSI/Olympus | src/main/webapp/JobViewer/js/knockout-jqueryui/tabs.js | JavaScript | apache-2.0 | 3,758 |
/**
* 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... | ericlindley-g/amphtml | src/gesture.js | JavaScript | apache-2.0 | 18,749 |
(function(pkg, Class) {
/**
* @module ui
*/
/**
* HTML element UI component wrapper class. The class represents
* an HTML element as if it is standard UI component. It helps to use
* some standard HTML element as zebra UI components and embeds it
* in zebra UI application layout.
* @class zebra.ui.HtmlElement... | satishgoda/zebra | src/ui.html.js | JavaScript | apache-2.0 | 21,784 |
/*
* 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... | mlaval/ariatemplates | test/aria/core/io/IOTestSuite.js | JavaScript | apache-2.0 | 1,331 |
var searchData=
[
['y',['y',['../struct_royale_dot_net_1_1_depth_point.html#a26be48e33da4cdc6543674b95a7b141d',1,'RoyaleDotNet.DepthPoint.y()'],['../structroyale_1_1_depth_point.html#a033559280515a81d47affb84eae382c1',1,'royale::DepthPoint::y()']]]
];
| fmina/ros_picoflexx | lib/libroyale-0.9.5.32-LINUX-64Bit/doc/html/search/variables_14.js | JavaScript | apache-2.0 | 254 |
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
let schema = new mongoose.Schema({
_id: String,
imageurl: String,
resName: {
type: String,
unique: true
},
resCuisines: String,
resAddress: {type: String},
resRating: String,
resVotes: String,
comments: {type: String, d... | ARUNMOHANRAJ471/FoodiesApp | server/restaurants/restaurantEntity.js | JavaScript | apache-2.0 | 430 |
var app = (function()
{
// Application object.
var app = {};
// Specify your beacon 128bit UUIDs here.
var regions =
[
// Estimote Beacon factory UUID.
{uuid:'B9407F30-F5F8-466E-AFF9-25556B57FE6D'},
// Sample UUIDs for beacons in our lab.
{uuid:'F7826DA6-4FA2-4E98-8024-BC5B71E0893E'},
{uuid:'8DEEFBB9-F7... | nnegrey/evothings-examples | examples/ibeacon-scan/app.js | JavaScript | apache-2.0 | 4,017 |
const router = require('./auth.router');
const supertest = require('supertest')(router);
const chai = require('chai');
const chaiAsPromised = require('chai-as-promised');
const expect = chai.expect;
chai.use(chaiAsPromised);
describe('Candidate register', function() {
it('Add Candidate', function(done) {
... | stackroute/samarthyaPlatform | server/api/v1/candidates/candidates.spec.js | JavaScript | apache-2.0 | 686 |
/**
* 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... | lugray/amphtml | build-system/server.js | JavaScript | apache-2.0 | 1,667 |
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.reduce
description: >
%TypedArray%.prototype.reduce.length is 1.
info: |
%TypedArray%.prototype.reduce ( callbackfn [ , thisArg ] )
17 ECMAScrip... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/TypedArray/prototype/reduce/length.js | JavaScript | bsd-2-clause | 1,265 |
'use strict';
angular.module('ontimeApp')
.controller('PasswordController', function ($scope, Auth, Principal) {
Principal.identity().then(function(account) {
$scope.account = account;
});
$scope.success = null;
$scope.error = null;
$scope.doNotMatch = null;
... | sandor-balazs/nosql-java | oracle/src/main/webapp/scripts/app/account/password/password.controller.js | JavaScript | bsd-2-clause | 868 |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-dataview.prototype.getfloat64
description: >
Return Infinity values
info: |
24.2.4.6 DataView.prototype.getFloat64 ( byteOffset [ , littleEndian ] )
1. Let v ... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/DataView/prototype/getFloat64/return-infinity.js | JavaScript | bsd-2-clause | 1,455 |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.map
description: >
Returns a new typedArray instance from the same constructor with the same
length and a new buffer object - testing on an... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/TypedArray/prototype/map/BigInt/return-new-typedarray-from-empty-length.js | JavaScript | bsd-2-clause | 1,289 |
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
YUI.add('tweetview', function(Y, NAME) {
/**
* The tweetview module.
*
* @module tweetview
*/
/**
* Constructor for the Controller class.... | 1950195/mojito | examples/sandbox/yuiconf/mojits/TweetView/controller.common.js | JavaScript | bsd-3-clause | 1,251 |
// @flow
const createServer = require("./server"),
Log = require("log"),
log = new Log("info");
createServer()
.then(server => {
const port = server.address().port;
log.info("Commuter server listening on port " + port);
})
.catch((e: Error) => {
console.error(e);
console.error(e.stack);
p... | rgbkrk/commuter | packages/server/src/index.js | JavaScript | bsd-3-clause | 344 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var initialize_CacheStorageTest = function() {
InspectorTest.preloadPanel("resources");
InspectorTest.dumpCacheTree = function()
{
WebInspector.panel... | axinging/chromium-crosswalk | third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js | JavaScript | bsd-3-clause | 8,400 |
define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText =undefined;
exports.scope = "forth";
});
| nikste/visualizationDemo | zeppelin-web/bower_components/ace-builds/src/snippets/forth.js | JavaScript | apache-2.0 | 174 |
/* @flow */
// This file contains that retrieve or validate anything related to the current paths ancestry.
import * as t from "babel-types";
import NodePath from "./index";
/**
* Call the provided `callback` with the `NodePath`s of all the parents.
* When the `callback` returns a truthy value, we return that node... | jeffmo/babel | packages/babel-traverse/src/path/ancestry.js | JavaScript | mit | 5,092 |
var colors = require('../colors');
module['exports'] = (function() {
var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green',
'blue', 'white', 'cyan', 'magenta'];
return function(letter, i, exploded) {
return letter === ' ' ? letter :
colors[
available[Math.round(Math.random... | EdwardStudy/myghostblog | versions/1.25.7/node_modules/prettyjson/node_modules/colors/lib/maps/random.js | JavaScript | mit | 378 |
import { Component, Output, EventEmitter, Input, ElementRef, Renderer2 } from '@angular/core';
import { ModalDismissReasons } from './modal-dismiss-reasons';
var NgbModalWindow = (function () {
function NgbModalWindow(_elRef, _renderer) {
this._elRef = _elRef;
this._renderer = _renderer;
thi... | LouisozZ/Cantoolz-Web | node_modules/@ng-bootstrap/ng-bootstrap/modal/modal-window.js | JavaScript | mit | 2,926 |
/*= require notes */
/*= require autosize */
/*= require gl_form */
/*= require lib/utils/text_utility */
(function() {
window.gon || (window.gon = {});
window.disableButtonIfEmptyField = function() {
return null;
};
describe('Notes', function() {
describe('task lists', function() {
fixture.pre... | SVArago/gitlabhq | spec/javascripts/notes_spec.js | JavaScript | mit | 2,046 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Lukasz Piepiora <lpiepiora@gmail.com>
*
* 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 limitat... | Noders/Noders_WebApp | node_modules/bower-webpack-plugin/test/with-provide-plugin.js | JavaScript | mit | 1,843 |
/// <reference path="Scripts/jquery-1.7.js" />
/// <reference path="Scripts/jQuery.tmpl.js" />
/// <reference path="Scripts/jquery.cookie.js" />
/// <reference path="Chat.ui.js" />
(function ($, connection, window, ui, utility) {
"use strict";
var chat = connection.chat,
messageHistory = [],
... | mogulTest1/Project13171009 | JabbR/Chat.js | JavaScript | mit | 31,472 |
var label = "Escrow Bag";
var version = "1309568876";
var name_single = "Escrow Bag";
var name_plural = "";
var article = "an";
var description = "";
var is_hidden = false;
var has_info = false;
var has_infopage = false;
var proxy_item = null;
var is_routable = false;
var adjusted_scale = 1;
var stackmax = 1;
var base_... | Mexiswow/eleven-gsjs | items/bag_escrow.js | JavaScript | mit | 1,812 |
// Copyright 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.
// Flags: --harmony-maths
assertTrue(isNaN(Math.cbrt(NaN)));
assertTrue(isNaN(Math.cbrt(function() {})));
assertTrue(isNaN(Math.cbrt({ toString: functi... | msiebuhr/v8.go | v8/test/mjsunit/es6/math-cbrt.js | JavaScript | mit | 965 |
var searchData=
[
['call',['Call',['../classv8_1_1_debug.html#a49a3e0cf585cfd201d8ab1bc395d0593',1,'v8::Debug']]],
['callasconstructor',['CallAsConstructor',['../classv8_1_1_object.html#afeb999e9225dad0ca8605ed3015b268b',1,'v8::Object']]],
['callasfunction',['CallAsFunction',['../classv8_1_1_object.html#a96ab0606... | v8-dox/v8-dox.github.io | a20d565/html/search/all_2.js | JavaScript | mit | 2,932 |
define(
//begin v1.x content
{
"field-tue-relative+-1": "terça-feira passada",
"field-year": "ano",
"field-wed-relative+0": "esta quarta-feira",
"field-wed-relative+1": "próxima quarta-feira",
"field-minute": "minuto",
"field-tue-narrow-relative+0": "esta ter.",
"field-tue-narrow-relative+1": "próxima ter.",
"f... | cdnjs/cdnjs | ajax/libs/dojo/1.16.3/cldr/nls/pt/islamic.js | JavaScript | mit | 6,774 |
/* global Node */
import { assert } from 'ember-debug';
import { fireEvent, focus, matches } from '../system/synthetic-events';
export default class NodeQuery {
static query(selector, context = document) {
assert(`Invalid second parameter to NodeQuery.query`, context && context instanceof Node);
return new ... | karthiick/ember.js | packages/internal-test-helpers/lib/test-cases/node-query.js | JavaScript | mit | 2,319 |