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
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/smin/lib/ndarray.native.js
JavaScript
apache-2.0
1,677
/** * Test for LOOMIA TILE Token * * @author Pactum IO <dev@pactum.io> */ import {getEvents, BigNumber} from './helpers/tools'; import expectThrow from './helpers/expectThrow'; const loomiaToken = artifacts.require('./TileToken'); const should = require('chai') // eslint-disable-line .use(require('chai-as-pr...
LOOMIA/loomia
tiletoken/test/contracts/0_TileToken.js
JavaScript
apache-2.0
26,410
import props from './props'; import './view.html'; class NoteClab { beforeRegister() { this.is = 'note-clab'; this.properties = props; } computeClasses(type) { var arr = ['input-note']; if (type != undefined) arr.push(type); return arr.join(' '); } } Polymer(NoteClab);
contactlab/contactlab-ui-components
src/note/index.js
JavaScript
apache-2.0
301
Ext.define('TaxRate', { extend: 'Ext.data.Model', fields: [{name: "id"}, {name: "date",type: 'date',dateFormat: 'Y-m-d'}, {name: "rate"}, {name: "remark"}, {name: "create_time",type: 'date',dateFormat: 'timestamp'}, {name: "update_time",type:...
eoasoft/evolve
application/modules/erp/views/scripts/setting/js/tax_rate.js
JavaScript
apache-2.0
6,462
/** * Created by dmitry on 21.11.16. */ import React, { Component } from 'react'; import { Container, Content, Spinner } from 'native-base'; // TODO: Рядом лежат спиннеры, поди можно прикрячить export default class Loading extends Component { render() { return ( <Container> <Content contentContai...
dima11221122/63pokupki-react-native
js/components/loading/index.js
JavaScript
apache-2.0
551
//main javascript (function init() { // If we need to load requirejs before loading butter, make it so if (typeof define === "undefined") { var rscript = document.createElement("script"); rscript.onload = function () { init(); }; rscript.src = "require.js"; do...
martinangel/association
helloworld/Triggers/js/mediascape/mediascape.js
JavaScript
apache-2.0
3,983
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
goberle/one
src/sunstone/public/app/tabs/vmgroup-tab/form-panels/create.js
JavaScript
apache-2.0
12,941
function Controller() { function __alloyId24() { __alloyId24.opts || {}; var models = __alloyId23.models; var len = models.length; var rows = []; for (var i = 0; len > i; i++) { var __alloyId9 = models[i]; __alloyId9.__transform = {}; var _...
Geeosp/SnapContacts
Resources/alloy/controllers/home.js
JavaScript
apache-2.0
5,638
/** * @license 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 applicable law or a...
tkadlec/lighthouse
lighthouse-cli/test/smokehouse/redirects/expectations.js
JavaScript
apache-2.0
1,503
describe("", function() { var rootEl; beforeEach(function() { rootEl = browser.rootEl; browser.get("build/docs/examples/example-example60/index.html"); }); it('should check ng-bind', function() { var nameInput = element(by.model('name')); expect(element(by.binding('name')).getText()).toB...
LADOSSIFPB/nutrif
nutrif-web/lib/angular/docs/ptore2e/example-example60/default_test.js
JavaScript
apache-2.0
461
import React from 'react'; import { action } from '@storybook/addon-actions'; import Checkbox from '.'; const onChange = action('onChange'); const defaultProps = { id: 'id1', onChange, }; const intermediate = { id: 'id2', onChange, intermediate: true, }; const checked = { id: 'id3', onChange, checked: true, ...
Talend/ui
packages/components/src/Checkbox/Checkbox.stories.js
JavaScript
apache-2.0
1,203
var editMode = portal.request.mode == 'edit'; var content = portal.content; var component = portal.component; var layoutRegions = portal.layoutRegions; var body = system.thymeleaf.render('view/layout-70-30.html', { title: content.displayName, path: content.path, name: content.name, editable: editMode,...
RF0/wem-sample-package
modules/xeon-1.0.0/component/layout-70-30/get.js
JavaScript
apache-2.0
607
/** * Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro * Copyright: 2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ Ext.define("seava.ad.ui.extjs.frame.DateFormatMask_Ui", { extend: "e4e.ui.AbstractUi", alias: "widget.DateFormatMask_Ui", /** * Data-contro...
seava/seava.mod.ad
seava.mod.ad.ui.extjs/src/main/resources/webapp/seava/ad/ui/extjs/frame/DateFormatMask_Ui.js
JavaScript
apache-2.0
1,296
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
stdlib-js/www
public/docs/api/latest/@stdlib/utils/every-by/benchmark_bundle.js
JavaScript
apache-2.0
750,474
google.maps.__gjsload__('drawing', '\'use strict\';function Hj(a){var b=this;a=a||{};a.drawingMode=a.drawingMode||l;b[ub](a);Mf(Re,function(a){new a.b(b)})}L(Hj,T);ig(Hj[H],{map:ye(vg),drawingMode:Ee});Jf.drawing=function(a){eval(a)};dd.google.maps.drawing={DrawingManager:Hj,OverlayType:{MARKER:"marker",POLYGON:"polygo...
39mi/jtd
WebRoot/mapfiles/api-3/13/1/drawing.js
JavaScript
apache-2.0
404
/** * echarts组件:孤岛数据 * * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。 * @author Kener (@Kener-林峰, linzhifeng@baidu.com) * */ define(function (require) { /** * 构造函数 * @param {Object} messageCenter echart消息中心 * @param {ZRender} zr zrender实例 * @param {Object} option 图表选项 ...
ghostry/Gadmin
Public/Lib/echarts/chart/island.js
JavaScript
apache-2.0
8,473
'use strict'; /** * @ngdoc function * @name freshcardUiApp.controller:TemplatesCtrl * @description * # TemplatesCtrl * Controller of the freshcardUiApp */ angular.module('freshcardUiApp') .controller('TemplatesCtrl', function ( $scope, $rootScope, $localStorage, $filter, $timeout, FileUploader, Organizati...
BjoernKW/FreshcardUI
app/scripts/controllers/templates.js
JavaScript
apache-2.0
4,492
// NOTE: this file should only be included when embedding the inspector - no other files should be included (this will do everything) // If gliEmbedDebug == true, split files will be used, otherwise the cat'ed scripts will be inserted (function() { var pathRoot = ""; var useDebug = window["gliEmbedDebug"]; ...
freekv/jpip.js
examples/js/embed.js
JavaScript
apache-2.0
4,075
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n...
LADOSSIFPB/nutrif
nutrif-web/lib/angular/i18n/angular-locale_os.js
JavaScript
apache-2.0
3,826
document.write('<div id="terminal" class="terminal-content"></div>'); var session = {}; // return a parameter value from the current URL function getParam(sname) { var params = location.search.substr(location.search.indexOf("?") + 1); var sval = ""; params = params.split("&"); // split param and value...
albertlatacz/java-repl
src/javarepl/console/ui/term.js
JavaScript
apache-2.0
8,438
angular.module('ssAuth').factory('SessionService', ['$http', '$cookies', '$q', function($http, $cookies, $q){ var currentUser = {}; var currentFetch; currentUser.isAdmin = function() { return currentUser && currentUser.groups && currentUser.groups['Admins']; }; var getCurrentUser = functi...
spaceshipsamurai/samurai-auth
public/app/shared/session.service.js
JavaScript
apache-2.0
1,933
/** * @license 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 applicable law or a...
tkadlec/lighthouse
lighthouse-core/test/gather/gatherers/dobetterweb/optimized-images-test.js
JavaScript
apache-2.0
5,402
// TODO split modules, controllers, services // info separate files and concat/uglify them let remote = require('remote') let fs = require('fs') let mysql = require('promise-mysql') let app = angular.module('ttableinstaller', ['ngRoute']) photon.start(document) app.config(($routeProvider) => { $routeProvider ...
tTables/tTableInstaller
app/app.js
JavaScript
apache-2.0
467
app.controller('PickerController', function ($scope, $modalInstance, itemColor) { $scope.showCarrierColors = true; $scope.brandColors = [ { name: 'Brand Blue', hex: '#276681' }, { name: 'Brand Green', hex: '#66b245' }, { name: 'Brand Blue Desaturated', hex: '#417c95' }, { name:...
seanmthompson/D3-Chart-Generator
src/app/shared/colorpicker/pickerController.js
JavaScript
apache-2.0
3,420
app.service('UserService', ['$http', function($http) { return { getLogged: function(successCallback) { $http.get('/api/user/logged').then(successCallback); }, putPin: function(user, successCallback) { $http.post('/api/user/pin/', user).then(successCallback); ...
jeffersonvenancio/BarzingaNow
python/web/app/services/user.js
JavaScript
apache-2.0
333
//************************************************************* // Filename: socket.js // // Author: Jake Higgins <jth7036@rit.edu> //************************************************************* var Socket; function addSocketListeners() { Socket = new io(); Socket.on('sync objects', function(objects, room, ca...
IGME-Production-Studio/driftwoodrp
update/public/static/scripts/socket.js
JavaScript
apache-2.0
2,530
/** * Copyright 2017 dialog LLC <info@dlg.im> * @flow */ import type { PeerInfo } from '@dlghq/dialog-types'; import type { AvatarSize } from '../Avatar/getAvatarSize'; import type { Gradient } from '../Avatar/getAvatarColor'; import React, { PureComponent } from 'react'; import classNames from 'classnames'; impor...
nolawi/champs-dialog-sg
src/components/DoublePeerAvatar/DoublePeerAvatar.js
JavaScript
apache-2.0
6,308
/** * Created by raj on 19/8/14. */ var fs = require('fs'); var content = fs.read ('animeEpisode.json'); console.log(JSON.stringify(JSON.parse(content)[1][0].title)); videolinks=JSON.parse(content); links=[]; function pages(k) { var page = new WebPage(); page.open('http://www.gogoanime.com/', functi...
msandeepraj211/phantom
recent.js
JavaScript
apache-2.0
1,995
var a02307 = [ [ "GenericVector", "a02307.html#a60d42eebf02708482a8b506edd417990", null ], [ "GenericVector", "a02307.html#a28a69767bcadb6058a2a9df4afecd5fc", null ], [ "GenericVector", "a02307.html#a2b61cd1cd756770518f5ac30f817a9bf", null ], [ "~GenericVector", "a02307.html#a49840c8743a063b87839baef7e1...
stweil/tesseract-ocr.github.io
4.0.0/a02307.js
JavaScript
apache-2.0
4,880
var crypto = require("crypto"), Request = require("./../request"), Response = require("./../response"); module.exports = sessionCookie; /** * A middleware for storing and retrieving session data using HTTP cookies. * The `options` may be any of the following: * * - secret A secret string to use to...
mbutler/nfn
node_modules/hem/node_modules/strata/lib/session/cookie.js
JavaScript
apache-2.0
4,665
var angularjs = angular.module('articleDetailModule', ['courseTagServiceModule', 'ngCookies', 'ngVideo']); angularjs.controller('ArticleDetailController', ['$rootScope', '$scope', '$http', '$stateParams', '$state', '$location', 'CourseTagService', '$sce', '$cookies', '$httpParamSerializer', 'video', '$route', functi...
c2611261/zaozao2
public/js/article_detail.js
JavaScript
apache-2.0
8,955
// Diamond-in-the-Rough // Code Wars program written in JavaScript for the RingoJS environment // // The MIT License (MIT) // // Copyright (c) 2015 Lee Jenkins // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software...
p473lr/i-urge-mafia-gear
HP Code Wars Documents/2015/Solutions/prob11_DiamondInTheRough-lee.js
JavaScript
apache-2.0
3,164
/** * @private * @providesModule CustomTabsAndroid * @flow */ 'use strict'; import { NativeModules } from 'react-native'; import type { TabOption } from './TabOption'; const CustomTabsManager = NativeModules.CustomTabsManager; /** * To open the URL of the http or https in Chrome Custom Tabs. * If Chrome is not...
droibit/react-native-custom-tabs
src/CustomTabsAndroid.js
JavaScript
apache-2.0
701
/** * Copyright 2019, Google LLC * * 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 ...
GoogleCloudPlatform/iot-smart-home-cloud
firebase/functions/device-cloud/register-device.js
JavaScript
apache-2.0
4,394
var assert = require("assert"), expect = require('expect.js'), cda = require("../utils/xml.js").cda, DOMParser = require('xmldom').DOMParser, XmlSerializer = require('xmldom').XMLSerializer, xmlUtils = require("../utils/xml.js").xml, FunctionalStatusSectionCreator = require("../Model/Functional...
lantanagroup/SEE-Tool
test/functionalStatus.js
JavaScript
apache-2.0
2,525
'use strict'; goog.provide('Blockly.JavaScript.serial'); goog.require('Blockly.JavaScript'); Blockly.JavaScript.serial_print = function() { var content = Blockly.JavaScript.valueToCode(this, 'CONTENT', Blockly.JavaScript.ORDER_ATOMIC) || '\"\"' var code = 'serial.writeString(\'\' + '+content+');\n'; return code...
xbed/Mixly_Arduino
mixly_arduino/blockly/generators/microbit_js/serial.js
JavaScript
apache-2.0
2,128
/** * Blueprint API Configuration * (sails.config.blueprints) * * These settings are for the global configuration of blueprint routes and * request options (which impact the behavior of blueprint actions). * * You may also override any of these settings on a per-controller basis * by defining a '_config' key in...
kmangutov/leaguemontages
config/blueprints.js
JavaScript
apache-2.0
9,115
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.MessagePopover. sap.ui.define(["jquery.sap.global", "./ResponsivePopover", "./Button", "./Toolbar", "./Tool...
pro100den/openui5-bundle
Resources/public/sap/m/MessagePopover-dbg.js
JavaScript
apache-2.0
37,700
/*jslint browser: true*/ /*global $, jQuery, alert*/ (function ($) { "use strict"; $(document).ready(function () { $("input[name=dob]").datepicker({ dateFormat: 'yy-mm-dd', inline: true, showOtherMonths: true }); }); $(document).ready(functi...
manoj2509/Sensa
js/logIn.js
JavaScript
apache-2.0
1,018
/* jshint node: true */ module.exports = function(environment) { var ENV = { modulePrefix: 'chapter4-components', environment: environment, baseURL: '/', locationType: 'auto', EmberENV: { FEATURES: { // Here you can enable experimental features on an ember canary build // e....
ubuntuvim/my_emberjs_code
chapter4_components/config/environment.js
JavaScript
apache-2.0
1,376
// ==UserScript== // @name tabtweet // @namespace http://chiptheglasses.com // @description add a classic RT button to tweets // @include http://*twitter.com* // ==/UserScript== // contains jQuery 1.4.1; It is patched. /*! * jQuery JavaScript Library v1.4.1 * http://jquery.com/ * * Copyright 2010, John Resig * D...
nathanielksmith/classicrt
grease/tabtweet.user.js
JavaScript
artistic-2.0
71,750
var HLSP = { /* set squareness to 0 for a flat land */ // intensità colore land audioreattivab più bassa mizu: { cameraPositionY: 10, seaLevel: 0, displayText: '<b>CHAPTER ONE, MIZU</b><br/><i>TO BE TRAPPED INTO THE MORNING UNDERTOW</i>', speed: 10, modelsParams...
stmaccarelli/HYPERLAND
src/sceneParams_0.js
JavaScript
artistic-2.0
9,148
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-unresolvable.case // - src/dstr-binding/error/for-of-let.template /*--- description: Destructuring initializer is an unresolvable reference (for-of statement) esid: sec-for-in-and-for-of-statements-runtime-semanti...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-of/dstr-let-obj-ptrn-id-init-unresolvable.js
JavaScript
bsd-2-clause
1,939
// Copyright (C) 2016 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-white-space description: > Mongolian Vowel Separator is not recognized as white space. info: | 11.2 White Space WhiteSpace :: <TAB> <VT> <FF> <SP> ...
sebastienros/jint
Jint.Tests.Test262/test/language/white-space/mongolian-vowel-separator.js
JavaScript
bsd-2-clause
659
// This file was procedurally generated from the following sources: // - src/async-generators/yield-as-identifier-reference-escaped.case // - src/async-generators/syntax/async-class-expr-method.template /*--- description: yield is a reserved keyword within generator function bodies and may not be used as an identifier ...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/class/async-gen-method-yield-as-identifier-reference-escaped.js
JavaScript
bsd-2-clause
1,059
L.CommunistWorker = L.AbstractWorker.extend({ statics: { // number of web workers, not using web workers when falsy NUM_WORKERS: 2 }, initialize: function (workerFunc) { this.workerFunc = workerFunc; }, onAdd: function (map) { this._workers = L.CommunistWorker.crea...
nrenner/leaflet-tilelayer-vector
CommunistWorker.js
JavaScript
bsd-2-clause
1,976
/** * Copyright (c) 2013, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * https://raw.github.com/facebook/regenerator/master/LICENSE file. An * additional grant of patent rights can be found in the PATENTS file in * the same directory. */ var as...
jlongster/unwinder
lib/leap.js
JavaScript
bsd-2-clause
5,549
var http = require('http') var url = require('url') var path = require('path') var sleep = require('sleep-ref') var Router = require("routes-router") var concat = require('concat-stream') var ldj = require('ldjson-stream') var manifest = require('level-manifest') var multilevel = require('multilevel') var extend = requ...
giantoak/dat
lib/rest-handler.js
JavaScript
bsd-2-clause
11,585
/** * The main application class. An instance of this class is created by app.js when it calls * Ext.application(). This is the ideal place to handle application launch and initialization * details. * * */ Ext.define('Sample.Application', { extend: 'Devon.App', name: 'Sample', requires:[ 'Samp...
CoEValencia/chirr
demos/workspace/ExtSample/app/Application.js
JavaScript
bsd-2-clause
796
// Copyright (C) 2018 Andrew Paprocki. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-date.parse es6id: 20.3.3.2 description: > Date.parse return value is limited to specified time value maximum range info: | Date.parse ( string ) parse interprets the...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Date/parse/time-value-maximum-range.js
JavaScript
bsd-2-clause
1,673
var crypto = require('crypto'); var Canvas = require('canvas'); var _ = require('lodash'); var bu = require('./bufutil'); var fmt = require('util').format; var unpack = require('./unpack'); var bright = require('./bright'); function fprint(buf, len) { if (len > 64) throw new Error(fmt("sha512 can only generate 64B ...
sehrgut/node-retricon
lib/index.js
JavaScript
bsd-2-clause
3,668
var compilerSupport=require('../../src/compilerSupport');var main = function () { var __builder = new compilerSupport.TaskBuilder(), __state = 0, __continue = __builder.CONT, __ex; var data; return __builder.run(function () { switch (__state) { case 0: { data = 12345; ...
omgtehlion/asjs
tests/00-misc/00-fulfills-promise.exp.js
JavaScript
bsd-2-clause
678
var searchData= [ ['lcd_2ec',['lcd.c',['../lcd_8c.html',1,'']]], ['lcd_2eh',['lcd.h',['../lcd_8h.html',1,'']]], ['light_2ec',['light.c',['../light_8c.html',1,'']]], ['light_2eh',['light.h',['../light_8h.html',1,'']]] ];
bplainia/galaxyLightingSystem
doxygen/html/search/files_4.js
JavaScript
bsd-2-clause
228
var files = [ [ "Code", "dir_a44bec13de8698b1b3f25058862347f8.html", "dir_a44bec13de8698b1b3f25058862347f8" ] ];
crurik/GrapeFS
Doxygen/html/files.js
JavaScript
bsd-2-clause
116
/** * @license AngularJS v1.3.0-build.2480+sha.fb6062f * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; /* jshint maxlen: false */ /** * @ngdoc module * @name ngAnimate * @description * * # ngAnimate * * The `ngAnimate` module provides...
sabhiram/nodejs-scaffolding
app/public/js/angular-animate.js
JavaScript
bsd-2-clause
74,308
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-array.from es6id: 22.1.2.1 description: Value returned by mapping function (traversed via iterator) info: | [...] 2. If mapfn is undefined, let mapping be fal...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Array/from/iter-map-fn-return.js
JavaScript
bsd-2-clause
1,769
log.enableAll(); (function(){ function animate() { requestAnimationFrame(animate); TWEEN.update(); } animate(); })(); var transform = getStyleProperty('transform'); var getStyle = ( function() { var getStyleFn = getComputedStyle ? function( elem ) { return getComputed...
wushuyi/panorama360
assets/js/functions_bak.js
JavaScript
bsd-2-clause
6,239
var _ = require('lodash'); var requireAll = require('require-all'); function load(router, options) { if (_.isString(options)) options = {dirname: options}; return requireAll(_.defaults(options, { filter: /(.*Controller)\.js$/, recursive: true, resolve: function (Controller) { var c = new (...
vvv-v13/express-starter
library/load.js
JavaScript
bsd-2-clause
476
(function(){ var slides = [ {title: 'Работы для отдела Клиентского сервиса и сапорта ФС\nТикетная админка, админка массовых сбоев', works: [ {img: 'i/works/ticket-admin.png', description: '<div class="presentation_mb10"><strong>Тикетная админка</strong></div>' + '<div class="presentation_mb10">Чер...
matraska23/m3-backbone-toolkit
demo_presentation/js/presentation.js
JavaScript
bsd-2-clause
22,354
var searchData= [ ['lettersonly',['lettersOnly',['../class_able_polecat___data___primitive___scalar___string.html#ab2a7acaf93e00fbbd75ea51e56bbf47e',1,'AblePolecat_Data_Primitive_Scalar_String']]], ['list_5fdelimiter',['LIST_DELIMITER',['../interface_able_polecat___query_language___statement_interface.html#a7a10020...
kkuhrman/AblePolecat
usr/share/documentation/html/search/all_c.js
JavaScript
bsd-2-clause
3,016
/** * Layout Select UI * * @package zork * @subpackage form * @author Kristof Matos <kristof.matos@megaweb.hu> */ ( function ( global, $, js ) { "use strict"; if ( typeof js.layoutSelect !== "undefined" ) { return; } js.require( "jQuery.fn.vslider"); /** * Generates layout...
webriq/core
module/Paragraph/public/scripts/zork/layoutselect.js
JavaScript
bsd-3-clause
5,515
/** * Dialog to add a new visualization from any of your * existing tables. * */ cdb.admin.NewVisualizationDialogTableItem = cdb.core.View.extend({ events: { "click .remove" : "_onRemove" }, tagName: "li", className: "table", initialize: function() { _.bindAll(this, "_onRemove"); this.tem...
comilla/map
lib/assets/javascripts/cartodb/dashboard/visualizations/new_visualization_dialog.js
JavaScript
bsd-3-clause
8,143
/** * @author */ imports("Controls.Composite.Carousel"); using("System.Fx.Marquee"); var Carousel = Control.extend({ onChange: function (e) { var ul = this.find('.x-carousel-header'), t; if (t = ul.first(e.from)) t.removeClass('x-carousel-header-selected'); if(t = ul.first(e.to)) ...
jplusui/jplusui-en
src/Controls/Composite/assets/scripts/Carousel.js
JavaScript
bsd-3-clause
994
import React from "react"; import { expect } from "chai"; import { mount } from "enzyme"; import { Provider } from "react-redux"; import Editor from "../../../src/notebook/providers/editor"; import { dummyStore } from "../../utils"; import { UPDATE_CELL_SOURCE, FOCUS_CELL_EDITOR } from "../../../src/notebook/const...
temogen/nteract
test/renderer/providers/editor-spec.js
JavaScript
bsd-3-clause
1,719
/* Scala.js runtime support * Copyright 2013 LAMP/EPFL * Author: Sébastien Doeraene */ /* ---------------------------------- * * The top-level Scala.js environment * * ---------------------------------- */ //!if outputMode == ECMAScript51Global var ScalaJS = {}; //!endif // Get the environment info ScalaJS.env ...
xuwei-k/scala-js
tools/scalajsenv.js
JavaScript
bsd-3-clause
32,145
var NETKI_PUBAPI_HOST = 'https://pubapi.netki.com'; var NETKI_API_HOST = 'https://api.netki.com'; var SHORTCODES = { 'btc': 'Bitcoin', 'tbtc': 'Bitcoin Testnet', 'ltc': 'Litecoin', 'dgc': 'Dogecoin', 'nmc': 'Namecoin', 'tusd': 'tetherUSD', 'teur': 'tetherEUR', 'tjpy': 'tetherJPY', 'oap': 'Open Asset'...
netkicorp/walletname-chrome-extension
app/scripts.babel/netkiUtils.js
JavaScript
bsd-3-clause
573
/* eslint-disable no-underscore-dangle */ export default function ({ client, filterQuery, mustContain, busy, encodeQueryAsString, }) { return { listUsers(query) { const params = filterQuery( query, 'text', 'limit', 'offset', 'sort', 'sortdir' )...
Kitware/paraviewweb
src/IO/Girder/CoreEndpoints/user.js
JavaScript
bsd-3-clause
1,750
module.exports = (function () { var TypeChecker = Cactus.Util.TypeChecker; var JSON = Cactus.Util.JSON; var stringify = JSON.stringify; var object = Cactus.Addon.Object; var collection = Cactus.Data.Collection; var gettype = TypeChecker.gettype.bind(TypeChecker); return { "null and undefined" : func...
bergmark/Cactus
module/Core/lib/Util/Util.TypeChecker.test.js
JavaScript
bsd-3-clause
22,955
/** * Swedish translation for bootstrap-wysihtml5 */ (function($){ $.fn.wysihtml5.locale["sv-SE"] = { font_styles: { normal: "Normal Text", h1: "Rubrik 1", h2: "Rubrik 2", h3: "Rubrik 3" }, emphasis: { bold: "Fet", ita...
landasystems/tamanharapan
backend/extensions/bootstrap/assets/js/locales/bootstrap-wysihtml5.sv-SE.js
JavaScript
bsd-3-clause
1,185
// Benchpress: A collection of micro-benchmarks. var allResults = [ ]; // ----------------------------------------------------------------------------- // F r a m e w o r k // ----------------------------------------------------------------------------- function Benchmark(string, run) { this.string = string; thi...
daejunpark/jsaf
benchmarks/v8_v1/units/loop.js
JavaScript
bsd-3-clause
1,571
'use strict'; myApp.controller('editProfileController', ['$scope', '$state', 'loadingMaskService', 'CONSTANTS', '$uibModal', '$log', '$rootScope', '$http', function ($scope, $state, loadingMaskService, CONSTANTS, $uibModal, $log, $rootScope, $http) { var userInfo = JSON.parse(localStorage.getItem(CONSTANTS.LOCAL_...
yslepianok/analysis_site
views/tests/app/pages/src/editProfilePage/src/editProfileController.js
JavaScript
bsd-3-clause
2,590
/* * Copyright (c) 2011 Yahoo! Inc. All rights reserved. */ YUI.add('master', function(Y, NAME) { /** * The master module. * * @module master */ var DIMENSIONS = { device: 'smartphone', region: 'CA', skin : 'grey' }; /** * Constructor for the Controller class. * * @class Control...
triptych/shaker
examples/demo/mojits/master/controller.common.js
JavaScript
bsd-3-clause
2,296
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ export default {"viewBox":"0 0 100 100","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M50.6 52.9c2.6-3.7 5.3-5.6 7.1-8.4 3.2-4.8 3.9-11.6 1.8-16.8-2.1-5.3-7-8.4-12....
salesforce/design-system-react
icons/standard/visits.js
JavaScript
bsd-3-clause
746
import React from 'react'; import 'isomorphic-fetch'; import {RouteHandler} from 'react-router'; import Transmit from 'react-transmit'; import {createStore, combineReducers} from 'redux'; import {Provider} from 'react-redux'; import * as reducers from '../reducers/index'; class AppContainer extends React.Component { ...
nivanson/hapi-universal-redux
src/containers/AppContainer.js
JavaScript
bsd-3-clause
725
require("../pc.v0"); require("util").puts(JSON.stringify({ "name": "pc", "version": pc.version, "description": "property creation for reusable d3.js code.", "keywords": ["d3", "visualization"], "homepage": "http://milroc.github.com/pc/", "author": {"name": "Miles McCrocklin", "url": "http://www.milesmccrocklin....
milroc/pc.js
src/package.js
JavaScript
bsd-3-clause
485
/*! jQuery UI - v1.11.4 - 2015-12-06 * http://jqueryui.com * Includes: core.js, datepicker.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery" ], factory...
davidred/spree_delivery_time
app/assets/javascripts/spree/frontend/store/datepicker.js
JavaScript
bsd-3-clause
91,677
var sbModule = angular.module('sbServices', ['ngResource']); sbModule.factory('App', function($resource) { return $resource('/api/v1/app/:name', { q: '' }, { get: { method: 'GET' }, //isArray: false }, query: { method: 'GET'} //, params: { q: '' }//, isArray: false } }); });
beni55/shipbuilder
webroot/js/services.js
JavaScript
bsd-3-clause
302
'use strict'; describe('Directive: searchFilters', function () { // load the directive's module beforeEach(module('searchApp')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make hidden element visible', inject(function ($compile) { ...
MLR-au/esrc-search
test/spec/directives/search-filters.js
JavaScript
bsd-3-clause
509
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M43.3 6h-1.73a.74.74 0 00-.67.8V10a6.37 6.37 0 01-6.3 6.4H17.4a6.37 6.37 0 01-6...
salesforce/design-system-react
icons/utility/capacity_plan.js
JavaScript
bsd-3-clause
701
// 1000-page badge // Awarded when total read page count exceeds 1000. var sys = require('sys'); var _ = require('underscore'); var users = require('../../users'); var badge_template = require('./badge'); // badge key, must be unique. var name = "1000page"; exports.badge_info = { id: name, name: "...
scsibug/read52
badger/badges/1000page.js
JavaScript
bsd-3-clause
1,422
/* prevent execution of jQuery if included more than once */ if(typeof window.jQuery == "undefined") { /* * jQuery 1.1.2 - New Wave Javascript * * Copyright (c) 2007 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2007-04-03 22:27:21 $ * $...
NCIP/eagle
WebRoot/js/lib/jquery.js
JavaScript
bsd-3-clause
59,266
/************************************************************************************** * Copyright (c) 2013-2015, Finnish Social Science Data Archive/University of Tampere * * * * All rights reserved. ...
henrisu/metka
metka/src/main/webapp/resources/js/modules/uiLocalization.js
JavaScript
bsd-3-clause
17,066
var $ = require('jquery'); var CoreView = require('backbone/core-view'); var checkAndBuildOpts = require('builder/helpers/required-opts'); var REQUIRED_OPTS = [ 'el' ]; module.exports = CoreView.extend({ events: { 'click .js-foo': '_fooHandler' }, initialize: function (opts) { checkAndBuildOpts(opts...
CartoDB/cartodb
lib/assets/javascripts/dashboard/helpers/scroll-tofixed-view.js
JavaScript
bsd-3-clause
920
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. (function() { "use strict"; var runFunc; var count = 0; function getId() { return "code" + (count++); } function text(node) { var s = "";...
bketelsen/gablog
static/play/play.js
JavaScript
bsd-3-clause
3,040
var PgQuery = require('bindings')('pg-query'); module.exports = { parse: function(query) { var result = PgQuery.parse(query); if (result.query) { result.query = JSON.parse(result.query); } if (result.error) { var err = new Error(result.error.message); err.fileName = result.error....
zhm/node-pg-query-native
index.js
JavaScript
bsd-3-clause
588
// Replacement for jquery.ui.accordion to avoid dealing with // jquery.ui theming. // // Usage: $('#container').squeezebox(options); // where the direct child elements of '#container' are // sequential pairs of header/panel elements, and options // is an optional object with any of the following properties: // // ac...
stephenmcd/jquery-squeezebox
jquery.squeezebox.js
JavaScript
bsd-3-clause
1,697
define(function () { return [ { "default": { name: 'form1', label: 'Form 1', "_elements": [ { "default": { "name": "id", "type": "hidden" } }, { "default": { "name": "test1", ...
blinkmobile/forms
test/18_calculation/definitions.js
JavaScript
bsd-3-clause
1,923
////functionen hämtar alla artiklar med hjälp av getJSON //och får tillbaka en array med alla artiklar //efter den är klar kallar den på functionen ShoArtTab. //som skriver ut alla artiklar i en tabell. function getAllAdminProducts() { $.getJSON("index2.php/getAllProducts").done(showArtTab); } //functionen showArtT...
cider94/JsKlar
start/admin.js
JavaScript
bsd-3-clause
4,847
/** * Copyright (c) 2015, Legendum Ltd. 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 conditi...
legendum/ntil
ntil.js
JavaScript
bsd-3-clause
7,810
/** * History.js Core * @author Benjamin Arthur Lupton <contact@balupton.com> * @copyright 2010-2011 Benjamin Arthur Lupton <contact@balupton.com> * @license New BSD License <http://creativecommons.org/licenses/BSD/> */ (function(window,undefined){ "use strict"; // =============================================...
SkReD/history.js
scripts/uncompressed/history.js
JavaScript
bsd-3-clause
50,992
'use strict'; module.exports = function (Logger, $rootScope) { return { restrict: 'A', scope: { hasRank: '=' }, link: function ($scope, elem, attrs) { $rootScope.$watch('currentUser', function () { Logger.info('Checking for rank: ' + $scope....
e1528532/libelektra
src/tools/rest-frontend/resources/assets/js/directives/permission/HasRankDirective.js
JavaScript
bsd-3-clause
571
/** * @file * Money is a value object representing a monetary value. It does not use * floating point numbers, so it avoids rounding errors. * The only operation that may cause stray cents is split, it assures that no * cents vanish by distributing as evenly as possible among the parts it splits into. * * Money ...
bergmark/Cactus
module/Core/lib/Data/Money.js
JavaScript
bsd-3-clause
6,415
// An object that encapsulates everything we need to run a 'find' // operation, encoded in the REST API format. var Parse = require('parse/node').Parse; import { default as FilesController } from './Controllers/FilesController'; // restOptions can include: // skip // limit // order // count // include // ...
aneeshd16/parse-server
src/RestQuery.js
JavaScript
bsd-3-clause
17,157
/* * jQuery File Upload Plugin JS Example 8.9.1 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /* global $, window */ $(function () { 'use strict'; // Initializ...
vohoanglong07/yii_basic
web/js/fileupload/main.js
JavaScript
bsd-3-clause
2,550
/*! * speedt * Copyright(c) 2015 speedt <13837186852@qq.com> * BSD 3 Licensed */ 'use strict'; var utils = require('speedt-utils'); var Service = function(app){ var self = this; // TODO self.serverId = app.getServerId(); self.connCount = 0; self.loginedCount = 0; self.logined = {}; }; module.exports = Serv...
3203317/st
server/lib/common/services/connectionService.js
JavaScript
bsd-3-clause
1,457
exports.dbname = "lrdata"; exports.dbuser = "lrdata"; exports.dbpassword = "test"; exports.lfmApiKey = 'c0db7c8bfb98655ab25aa2e959fdcc68'; exports.lfmApiSecret = 'aff4890d7cb9492bc72250abbeffc3e1'; exports.tagAgeBeforeRefresh = 14; // In days exports.tagFetchFrequency = 1000; // In milliseconds
alnorth/listening-room-add-ons-site
config.js
JavaScript
bsd-3-clause
298
const initialState = { country: 'es', language: 'es-ES' } const settings = (state = initialState, action) => { switch (action.type) { default: return state } } export default settings
emoriarty/podcaster
src/reducers/settings.js
JavaScript
bsd-3-clause
200
/** Copyright (c) 2014, Nathan Carver All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
ncarver/TEETH
main.js
JavaScript
bsd-3-clause
28,665
define(['App', 'jquery', 'underscore', 'backbone', 'hbs!template/subreddit-picker-item', 'view/basem-view'], function(App, $, _, Backbone, SRPitemTmpl, BaseView) { return BaseView.extend({ template: SRPitemTmpl, events: { 'click .add': 'subscribe', 'cl...
BenjaminAdams/RedditJS
public/js/app/view/subreddit-picker-item-view.js
JavaScript
bsd-3-clause
1,957
"use strict"; var mapnik = require('../'); var assert = require('assert'); var path = require('path'); mapnik.register_datasource(path.join(mapnik.settings.paths.input_plugins,'geojson.input')); describe('mapnik.Geometry ', function() { it('should throw with invalid usage', function() { // geometry canno...
langateam/node-mapnik
test/geometry.test.js
JavaScript
bsd-3-clause
2,955