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 |
|---|---|---|---|---|---|
var searchData=
[
['launch',['launch',['../namespaceglados_1_1cuda.html#af2b265613869d716bb9f1312e47ab7ba',1,'glados::cuda::launch(std::size_t input_size, void(*kernel)(Args...), Args...args) -> void'],['../namespaceglados_1_1cuda.html#a4b0fc1abf0a7ed0c1d19836872bff0b9',1,'glados::cuda::launch(std::size_t input_wi... | HZDR-FWDF/RISA | docs/search/functions_9.js | JavaScript | lgpl-3.0 | 1,712 |
var _file_utils_8cpp =
[
[ "CopyDirectoryRecursively", "_file_utils_8cpp.html#a2025edafa37f6866ded1dc908497aa54", null ],
[ "FindCommonRootPath", "_file_utils_8cpp.html#aa4251be48265d80ec294da8cad824df5", null ],
[ "FindFileRecursively", "_file_utils_8cpp.html#aa2defa75129ffcd4a0d35acdca038e82", null ],
... | dac1976/CoreLibrary | docs/html/_file_utils_8cpp.js | JavaScript | lgpl-3.0 | 511 |
/**
* @author Gionatan Iasio <gionatan@sferalabs.cc>
* @copyright 2016 SferaLabs
* @license {@link http://sfera.sferalabs.cc/docs/sfera/license.html|LGPL License}
*/
/**
* Field virtual component
*
* @class Sfera.Components._Field
* @constructor
*/
Sfera.Components.create("_Field", {
presets... | sfera-labs/sfera-app-webapp | src/main/client/src/lib/components/base/_Field.js | JavaScript | lgpl-3.0 | 635 |
$(document).ready(function () {
var trigger = $('.hamburger'),
overlay = $('.overlay'),
isClosed = false;
$('#wrapper').click(function(event){
if($(event.target).closest('#sidebar-wrapper, .hamburger').length == 0 && isClosed){
trigger.click();
}
})
trigger.click(function (e) {
... | NemCrunchers/lmtl-table | docs/main.js | JavaScript | lgpl-3.0 | 828 |
describe('Text length filter Test Suite', function () {
'use strict';
describe('Text length filter Tests', function () {
var txtLen;
beforeEach(function () {
module('eu.water-switch-on.sip.filters');
});
beforeEach(inject(
[
... | switchonproject/sip-html5 | test/spec/filters/textLengthFilterTest.js | JavaScript | lgpl-3.0 | 10,444 |
import React,{Component} from 'react';
const PinSettingsTable = class extends Component {
getPeriods(prefix) {
return this.props.data_settings.periods.map(function(period) {
var periodTitle = this.props.data_settings.getPeriodTitle(period);
return <option key={prefix+'_'+period} val... | AndreyGermanov/relayboard_server | app/client/components/PinSettingsTable.js | JavaScript | lgpl-3.0 | 5,944 |
import GraphResource from './Graph';
import Pipeline from './Pipeline';
import PrototypeEntry from './PrototypeEntry';
import Resource from './Resource';
import StringResource from './String';
import types from './types';
/**
* Methods for interacting with the EntryStore repository scoped to a specific context.
*
*... | MetaSolutionsAB/entrystore.js | src/Context.js | JavaScript | lgpl-3.0 | 9,755 |
module.exports = function (value, options) {
return value == null ? options.fn(this) : options.inverse(this);
};
| vamsirajendra/sonarqube | server/sonar-web/src/main/js/helpers/handlebars/isNull.js | JavaScript | lgpl-3.0 | 115 |
var maxHealthHistory = 60;
var healthIterations = 0;
var healthCpuLoad = [];
var healthFreeMem = [];
var healthTps = [];
var healthGraphOptions = {
legend: { position: "sw", labelBoxBorderColor: '#000000', backgroundOpacity: 0.5 },
grid: { backgroundColor: '#fafafa', borderWidth: 1 },
yaxis: { min: 0, ma... | jayfella/WebOp2 | src/me/jayfella/webop2/WebPages/JavaScript/jayfella.serverhealth.js | JavaScript | lgpl-3.0 | 2,229 |
import React, { Component, PropTypes, PureComponent } from 'react'
// import {
// // MosaicWindowContext,
// MosaicTileContext,
// MosaicWindowContext
// } from 'react-mosaic-component';
// console.log('mosaicActions: ', MosaicTileContext.mosaicActions.toString)
import MosaicPage from '../MosaicPage';
e... | vitaliipetrenko/mobx-react-proto1 | src/components/MosaicWrapper/MosaicWrapper.js | JavaScript | unlicense | 736 |
// @pinf-bundle-ignore:
PINF.bundle("", function(require, _____bundle_global) {
// @pinf-bundle-module: {"file":"test/assets/packages/nodejs-multiple/app.js","mtime":0,"wrapper":"commonjs/leaky","format":"leaky","variation":"","id":"/app.js"}
require.memoize("/app.js",
function(require, exports, module) {var __dirnam... | pinf-it/pinf-it-bundler | test/assets/packages/nodejs-multiple/.dist/app.js | JavaScript | unlicense | 7,865 |
import {curry} from '../functional';
import {Node as List} from '../Node';
import {append as _append} from '../append';
List.prototype.append = function (a, b) {
return _append(a, this);
};
const append = List.append = curry(_append);
export default append;
| wishfoundry/rrbit | src/operations/append.js | JavaScript | unlicense | 264 |
var LOWEST_CC = 21;
var HIGHEST_CC = 48;
var NUM_TRACKS = 8;
var NUM_SENDS = 2;
var NUM_SCENES = 1;
var SideButton =
{
UP:114,
DOWN:115,
LEFT:116,
RIGHT:117,
};
var UserPageKnobs =
{
Page1:176,
Page2:177,
Page3:178,
Page4:179,
Page5:180,
Page6:181,
Page7:182,
Page8:183
};
var FactoryPageKnobs = ... | educk/novation-launchcontrol-for-Bitwig | LaunchControl_constants.js | JavaScript | unlicense | 1,092 |
window.AdventOfCode.Day2 = function( input )
{
input = input.split( '\n' );
// Part 1
let keypad =
[
[ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ],
];
const Clamp = function( i )
{
return i < 0 ? 0 : i > 2 ? 2 : i;
};
let position = { x: 1, y: 1 };
let part1 = "";
for( const line of input )
{
for( con... | xPaw/adventofcode-solutions | 2016/js/day2.js | JavaScript | unlicense | 1,480 |
var AchievementProgressWindow = require("/ui/AchievementProgressWindow");
var ActionBar = require("/ui/ActionBar");
function GameListItem (options, data) {
options = options || {};
options = _.extend({
height: 130,
left: 5, right: 5,
backgroundColor: "#FFF",
borderRadius: 12
}, options);
var self = Ti.UI.... | rcelha/x360achievements2 | Resources/ui/GuidesWindow.js | JavaScript | unlicense | 4,905 |
/**
* Session Configuration
* (sails.config.session)
*
* Sails session integration leans heavily on the great work already done by
* Express, but also unifies Socket.io with the Connect session store. It uses
* Connect's cookie parser to normalize configuration differences between Express
* and Socket.io and hoo... | im-jose/LudalaTabsExercise | config/session.js | JavaScript | unlicense | 4,323 |
/**
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdicti... | pffy/javascript-jyutping | idx-jyutping.js | JavaScript | unlicense | 438,646 |
/*
Inspired by the lightbox plugin adapted to jquery by Leandro Vieira Pinho (http://leandrovieira.com)
@author : Nicolas Turlais : nicolas-at-insipi.de
@version : V0.3.1 - June 2012
@license : Licensed under CCAttribution-ShareAlike
@website : http://chocolat.insipi.de
*/
(function($) {
images = [];
var ca... | Samael500/wed | mywed/index/static/js/jquery.chocolat.js | JavaScript | unlicense | 10,235 |
// ========================== KeySnail Init File =========================== //
// You can preserve your code in this area when generating the init file using GUI.
// Put all your code except special key, set*key, hook, blacklist.
// ========================================================================= //
//{{%PRE... | rranelli/linuxsetup | desktop/dotfiles/.keysnail.js | JavaScript | unlicense | 15,092 |
/**
* BPMN : Manual Task Shape
*
* @class
* @extends OG.shape.bpmn.A_Task
* @requires OG.common.*
* @requires OG.geometry.*
* @requires OG.shape.bpmn.A_Task
*
* @param {String} label 라벨 [Optional]
* @author <a href="mailto:sppark@uengine.org">Seungpil Park</a>
* @private
*/
OG.shape.bpmn.A_ManualTask = func... | EXEM-OSS/flamingo | flamingo-opengraph/src/main/webapp/src/shape/bpmn/A_ManualTask.js | JavaScript | apache-2.0 | 872 |
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['is-an'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('is-an'));
} else {
root.dummyProject = factory(root.is-an);
}
}(this, function(isAn) {
var dummyProject, x, y;
x = 1;... | WHenderson/gulp-library | test/expected-results/library-plugin/dist/dummy-project.apply.umd.js | JavaScript | apache-2.0 | 805 |
/**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | HiroyasuNishiyama/node-red | packages/node_modules/@node-red/registry/lib/installer.js | JavaScript | apache-2.0 | 9,864 |
//set up
var angular = require('angular');
require('owasp-threat-dragon-core');
var app = angular.module('app', ['common', 'owasp-threat-dragon-core']);
//required for demodatacontext tests when simulating failed requests
app.config(['$qProvider', function ($qProvider) {
$qProvider.errorOnUnhandledRejections(false... | mike-goodwin/owasp-threat-dragon-desktop | tests/specs/test.js | JavaScript | apache-2.0 | 1,266 |
'use strict';
/**
* @ngdoc overview
* @name sbAdminApp
* @description
* # sbAdminApp
*
* Main module of the application.
*/
angular
.module('sbAdminApp', [
'ngRoute',
'ngResource',
'ngSanitize',
'ngCookies',
'oc.lazyLoad',
'ui.router',
'ui.bootstrap',
'angular-loading-bar',
'dfUserManag... | origamia/admin-bootstrap-dsp | app/scripts/app.js | JavaScript | apache-2.0 | 5,831 |
"use strict";
describe("TagInfoController", function() {
beforeEach(angular.mock.module("remember.tag"));
var $controller;
beforeEach(angular.mock.inject(function($injector){
$controller = $injector.get("$controller");;
}));
describe("Test CRUD of tag", function() {
var $... | maxis1314/pyutils | Remember/app/src/test/specs/tag/tag-info-controller-spec.js | JavaScript | apache-2.0 | 1,291 |
'use strict';
describe('Controller: SecondsCalcCtrl', function () {
// load the controller's module
beforeEach(module('secondsbehindApp'));
var SecondsCalcCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
... | javiergayala/seconds_converter | test/spec/controllers/seconds_calc.js | JavaScript | apache-2.0 | 540 |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
//Provides class sap.ui.core.Configuration
sap.ui.define(['jquery.sap.global', '../Device', '../base/Object', './Locale', ... | fconFGDCA/DetailCADA | resources/sap/ui/core/Configuration-dbg.js | JavaScript | apache-2.0 | 51,001 |
'use strict';
/**
* @ngdoc object
* @name conferenceApp
* @requires $routeProvider
* @requires conferenceControllers
* @requires ui.bootstrap
*
* @description
* Root app, which routes and specifies the partial html and controller depending on the url requested.
*
*/
var app = angular.module('conferenceApp',
... | befeltingu/UdacityFinalProject4 | static/js/app.js | JavaScript | apache-2.0 | 3,495 |
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
//Edge symbol: 'stage'
(function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){yepnope({load:"http://cdn.edgecommons.org/an/1.0.1/js/min/EdgeCommons.Core.js",callback:function(){EC.setAd... | rschallom/jimmy-ryce | Working10White_edgeActions.js | JavaScript | apache-2.0 | 4,273 |
var request = require('request')
// monkey patch request module for Unix sockets
request.prototype.enableUnixSocket = function () {
// Get the socket & request paths from the URL
var unixParts = this.uri.path.split(':')
var host = unixParts[0]
var path = unixParts[1]
// Apply unix properties to request
thi... | sematext/sematext-agent-httpd | lib/fpmMonitor.js | JavaScript | apache-2.0 | 2,839 |
// Copyright 2012 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 applicabl... | ksh/gpitraining | assets/js/assessment-M131.js | JavaScript | apache-2.0 | 3,765 |
module.exports = require('../lib/base').extend({
constructor: function(config) {
// let config override instance properties
this.base(config);
},
start: function() {},
end: function() {},
run: function() { throw new Error('Warning: run of ' + this.title + ' not implemented!'); },
setControl: functi... | HeavenDuke/Trace | AI/BehaviorTree.js-master/src/node.js | JavaScript | apache-2.0 | 543 |
(function() {
'use strict';
angular.module('app.core', [
/*
* Angular modules
*/
'ui.router', 'ngSanitize',
/*
* App code modules
*/
'blocks.logger', 'blocks.router'
/*
* 3rd Party modules
*/
]);
})();
| Graghav/surabi | STUDENT-WEBAPP/student/app/core/core.module.js | JavaScript | apache-2.0 | 310 |
/*
* The aspiredb project
*
* Copyright (c) 2013 University of British Columbia
*
* 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... | ppavlidis/aspiredb | aspiredb/src/main/webapp/scripts/ASPIREdb/model/Property.js | JavaScript | apache-2.0 | 1,080 |
var classorg_1_1onosproject_1_1store_1_1config_1_1impl_1_1DistributedNetworkConfigStoreTest =
[
[ "BasicConfig", "classorg_1_1onosproject_1_1store_1_1config_1_1impl_1_1DistributedNetworkConfigStoreTest_1_1BasicConfig.html", null ],
[ "MockConfigFactory", "classorg_1_1onosproject_1_1store_1_1config_1_1impl_1_1Di... | onosfw/apis | onos/apis/classorg_1_1onosproject_1_1store_1_1config_1_1impl_1_1DistributedNetworkConfigStoreTest.js | JavaScript | apache-2.0 | 1,296 |
/*
* Copyright 2019 EPAM Systems
*
* 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 ... | reportportal/service-ui | app/src/controllers/initialData/actionCreators.js | JavaScript | apache-2.0 | 831 |
// Copyright (c) 2015 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 applic... | umop/axiom_old_private | build/tasks/make_html_index.js | JavaScript | apache-2.0 | 1,588 |
/* Copyright 2014 Open Ag Data Alliance
*
* 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 agr... | OADA/oada-ref-server | test/test.js | JavaScript | apache-2.0 | 7,116 |
define({
_widgetLabel: "底图库"
}); | magis-nc/esri-webappbuilder-widget-eBasemap | nls/zh-cn/strings.js | JavaScript | apache-2.0 | 47 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... | devmynd/jskit-rails | app/assets/javascripts/jskit.js | JavaScript | apache-2.0 | 289,948 |
var freeModelInstance = new FM.Object({"attribute":"value"});
console.log("evaulates to true: " + (freeModelInstance.getAttr("attribute") === "value"));
freeModelInstance.setAttr("anotherAttribute","someValue");
console.log("evaulates to true: " + (freeModelInstance.getAttr("anotherAttribute") === "someValue"));
var r... | rbelusic/fm-js | html/examples/sscce/ob/Object/attributeRestriction.js | JavaScript | apache-2.0 | 1,340 |
module.exports = function (grunt) {
grunt.registerTask('copy_js_minimum', ['copy:requirejs']);
grunt.config(['copy', 'requirejs'], {
files: [{
expand: true,
cwd: 'source/js/lib/vendors/require/',
src: ['*.js'],
dest: 'content/<%= config.services.... | BBCVisualJournalism/newsspec_9013 | tasks/js.js | JavaScript | apache-2.0 | 1,538 |
/*
* 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 ... | wikimedia/operations-debs-archiva | apps/archiva/js/archiva/main.js | JavaScript | apache-2.0 | 40,801 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 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/plot/components/svg/axis/lib/validators/outer_tick_size.js | JavaScript | apache-2.0 | 1,108 |
var path = require( 'path' );
module.exports = {
// CSS filenames
datasvgcss: '../../scss/icons/icons.data.svg.css',
datapngcss: '../../scss/icons/icons.data.png.css',
urlpngcss: '../../scss/icons/icons.fallback.css',
// preview HTML filename
previewhtml: 'preview.html',
// grunticon loader code snippe... | caraclarke/caraclarke.github.io | icon-config.js | JavaScript | apache-2.0 | 1,123 |
(function() {
// Load plugin specific language pack
//tinymce.PluginManager.requireLangPack('example');
tinymce.create('tinymce.plugins.TleScrapbookPickerPlugin',
{
init : function(ed, url)
{
// Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceTleScrapbookPicke... | equella/Equella | Source/Plugins/Core/com.equella.core/resources/web/scripts/tle_scrapbookpicker/editor_plugin_src.js | JavaScript | apache-2.0 | 1,343 |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | alibaba/nacos | console-ui/src/index.js | JavaScript | apache-2.0 | 5,369 |
import 'plugins/kbn_searchtables/kbn_searchtables.less';
import 'plugins/kbn_searchtables/kbn_searchtables_controller';
import 'plugins/kbn_searchtables/kbn_searchtables_params';
import 'ui/agg_table';
import 'ui/agg_table/agg_table_group';
import { VisVisTypeProvider } from 'ui/vis/vis_type';
import { TemplateVisTypeP... | dlumbrer/kbn_searchtables | public/kbn_searchtables.js | JavaScript | apache-2.0 | 2,750 |
/**
* @fileoverview custom eslint rules for datahub
* @author Ignacio
*/
'use strict';
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const requireIndex = require('requireindex');
//-... | mars-lan/WhereHows | datahub-web/@dh-tools/eslint-plugin/lib/index.js | JavaScript | apache-2.0 | 593 |
/**
* Timeago is a jQuery plugin that makes it easy to support automatically
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
*
* @name timeago
* @version 1.4.1
* @requires jQuery v1.2.3+
* @author Ryan McGeary
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
... | keywordAnlyz/kaweb | static/js/jquery.timeago.js | JavaScript | apache-2.0 | 8,875 |
exports.ERROR_CONVERSION = "La informacion enviada por el servidor no pudo ser procesada.";
exports.ERROR_TIPODATO = "La informacion enviada por el servidor tiene un formato incorrecto.";
exports.ERROR_FILTRARDATO = "No se pudo realizar el filtro del arreglo de los datos.";
exports.ERROR_TRANSFORMARDATO = "No se pudo r... | Rekeyea/ASH_Mobile | app/lib/Error.js | JavaScript | apache-2.0 | 358 |
const fs = require('fs-extra');
const path = require('path');
const structure = require('./structure');
const INDEX_TEMPLATE = 'index.html';
const pages = module.exports;
pages.generate = function(conf, structure) {
console.log(`Writing page templates: ${conf.distSectionsPath}`);
fs.emptydirSync(conf.distSectionsP... | SPANDigital/presidium-core | src/pages.js | JavaScript | apache-2.0 | 2,613 |
// imports
import { Config } from '../../config/router';
import { AppComponent } from './component';
import { RouterProvider } from '../../providers/router';
// consts
const name = 'app';
// module
let App = angular
.module(name, [
'ngAnimate',
'ngSanitize',
'ui.router',
'ionic'
])
// $router
... | katallaxie/generator-i-want-nice-ng-cordova | templates/angular-ionic/app/components/app/module.js | JavaScript | apache-2.0 | 461 |
/*
* Copyright 2020 Verizon Media
*
* 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 t... | yahoo/athenz | ui/src/__tests__/components/policy/AddRuleForm.test.js | JavaScript | apache-2.0 | 1,735 |
'use strict';
var _ = require('lodash');
//helper functions
function extractNames (v) {
return v.name;
}
function get_get (roles,v) {
return v.get(roles);
}
function remove_nulls (v) {
return v;
}
//MenuItem class
function MenuItem (options) {
options = _.assign ({name: null, title:null, link:null, roles:nu... | skittlerockstar/jailboard | node_modules/meanio/lib/menu.js | JavaScript | apache-2.0 | 4,305 |
$(document).ready(() => {
const handleError = (message, signIn) => {
if(signIn){
$("#signinAlert").css("display","block");
}else{
$("#loginAlert").css("display","block");
}
$("#errorMessage").text(message);
}
const sendAjax = (action, data) => {
$.ajax(... | ksw9906/Rich-Media-Course-Project | client/client.js | JavaScript | apache-2.0 | 1,774 |
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
(function(){if(navigator.userAgent.match(/IEMobile\/10\.0/)){var a=document.createElem... | andrewlord1990/wedding-website | js/ie10-viewport-bug-workaround.min.js | JavaScript | apache-2.0 | 462 |
jsml.ui = {};
/**
*/
jsml.ui.scatterChart = function() {
var chart = function(svgSelection) {
svgSelection.append("text").text("SCATTER CHART");
};
return chart;
} | MikeDepies/d3playground | js/jsml-ui_old.js | JavaScript | apache-2.0 | 175 |
// (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | mtcsathya/moodle | www/core/components/course/services/helper.js | JavaScript | apache-2.0 | 18,418 |
'use strict';
describe('Controller: LogincontrollerCtrl', function () {
// load the controller's module
beforeEach(module('uiApp'));
var LogincontrollerCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
L... | bisigc/art | ui/test/spec/controllers/logincontroller.js | JavaScript | apache-2.0 | 599 |
'use strict';
angular.module('sproutStudyApp')
.controller('cohortController', function ($log, $scope, $location, cohortService, studyService, sessionService, cohortManagerService) {
$scope.managedCohorts = undefined;
cohortManagerService.getManagedCohorts({}, function(data) {
$scope.... | stephenlorenz/sproutstudy | sproutStudy_web/src/main/webapp/scripts/controllers/cohortController.js | JavaScript | apache-2.0 | 1,787 |
'use strict';
var fs = require('fs');
try {
var data = fs.readFileSync('applet.java').toString();
var lines = data.split(/\r?\n/);
var packages = [];
var classes = [];
var classesInfo = [];
var functions = [];
for(let line of lines) {
let packageImport = line.match(/import ([^;]+)... | UPB-FILS/ALF | TP/TP3/ex9.js | JavaScript | apache-2.0 | 1,353 |
/**
* Created by king on 15-3-22.
*
* ch05.process-chdir.js
*/
console.info("------ Process chdir ------");
console.info();
console.log('Current directory: ' + process.cwd());
console.log('Change directory to: /home/king');
process.chdir('/home/king');
console.log('Current directory: ' + process.cwd());
console... | 0end1/code_base | Node.js_Codebase/chapter05/ch05.process-chdir.js | JavaScript | apache-2.0 | 377 |
/*** Generated by streamline 0.2.5 - DO NOT EDIT ***/
var __rt=require('streamline/lib/callbacks/runtime').runtime(__filename),__func=__rt.__func,__cb=__rt.__cb,__tryCatch=__rt.__tryCatch,__propagate=__rt.__propagate,__trap=__rt.__trap,__future=__rt.__future,__setEF=__rt.__setEF,__g=__rt.__g;
/* 1 */ var common = r... | egamma/azure-sdk-for-node | lib/cli/commands/log.js | JavaScript | apache-2.0 | 5,462 |
App.TermotaxisExactView = Ember.View.extend({
//classNames:["col-sm-4", "wrap", "color", "scrolly"],
didInsertElement : function () {
var self = this;
var controller = this.get('controller');
var eventController = this.get('controller.controllers.event');
var model = this.get('controller.model');
var... | Si-elegans/Web-based_GUI_Tools | static-src/js/ember.js/views/subtypeViews/termotaxisExact.js | JavaScript | apache-2.0 | 1,493 |
function More(id) {
//declare module dependencies
var Buttons = require('/lib/Buttons');
//create module instance
var buttons = new Buttons();
var self = Ti.UI.createWindow({
title:'Detalle',
backgroundImage:'/images/bg.png',
backgroundRepeat:true
});
var gasolinerasList = JSON.parse(Titanium.App.Pr... | markitosgv/Repostaje-Android | Resources/ui/More.js | JavaScript | apache-2.0 | 1,263 |
/*
* Copyright (C) 2007 Apple Inc. All rights reserved.
* Copyright (C) 2012 Google Inc. 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... | SAP/ui5-inspector | app/scripts/modules/ui/datagrid/DOMExtension.js | JavaScript | apache-2.0 | 7,045 |
// (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | cdlmoodleapp/CDL-Mobile-2.0 | www/core/components/login/aj/core/components/settings/main.js | JavaScript | apache-2.0 | 3,779 |
const BASE_API = "https://brayan.com.br/api/";
export default class ProfileApi {
async fetchProfile() {
return fetch(`${BASE_API}profile.json`).then(response => response.json());
}
} | BrayanBedritchuk/brayanbedritchuk.github.io | js/app/api/ProfileApi.js | JavaScript | apache-2.0 | 205 |
/**
Licensed to OffGrid Networks (OGN) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. OGN licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use... | nodekit-io/nodekit-cli | packages/nodekit-scripts-platform-windows/bin/nodekit-scripts/lib/AppxManifest.js | JavaScript | apache-2.0 | 25,060 |
//
// textToSpeech_webServer.js
//
// Created by Zach Fox on 2019-04-22
// Copyright High Fidelity 2019
//
// Licensed under the Apache 2.0 License
// See accompanying license file or http://apache.org/
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
const fs = req... | RebeccaStankus/hifi-content | marketplaceItems/textToSpeech/webApp/textToSpeech_webServer.js | JavaScript | apache-2.0 | 1,842 |
/**
* 系统参数
* Created by lingyuwang on 2016/3/25.
*/
/********************* appConfig start *********************/
var appConfig = {
port : 3000
}
/********************* appConfig end *********************/
/********************* redis start *********************/
var redis = {
host : '127.0.1.1',
por... | zhechu/nodework | ZeroCloud/settings.js | JavaScript | apache-2.0 | 1,238 |
import PdvModel from './pdv-model';
import logger from '../../utils/logger';
export default class PdvBusiness {
constructor (model) {
if (!model) {
this._model = new PdvModel();
} else {
this._model = model;
}
}
getById (id, callback) {
var start = new Date();
this._model.getById... | eHattori/pd-breja | src/api/pdv/pdv-business.js | JavaScript | apache-2.0 | 2,031 |
$(document).ready(function(){
$('table').DataTable({
language: {
"sEmptyTable": "Keine Daten in der Tabelle vorhanden",
"sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen",
"sInfoEmpty": "0 bis 0 von 0 Einträgen",
"sInfoFiltered": "(gefiltert von _MAX_ Einträgen)",
... | lieblingswelt/pace | public/javascript/searchAndSort.js | JavaScript | apache-2.0 | 952 |
var main = require('./main');
main.renderSync()
.appendTo(document.body); | krausest/js-framework-benchmark | frameworks/keyed/marko/src/client.js | JavaScript | apache-2.0 | 78 |
'use strict';
const AWS = require('aws-sdk');
const docClient = new AWS.DynamoDB.DocumentClient();
const tableName = process.env.TABLE_NAME;
exports.lambda_handler = (event, context, callback) => {
console.log('Received event:', JSON.stringify(event, null, 2));
var params = {
TableName: tableName
};
doc... | awslabs/aws-serverless-workshops | DevOps/2_ContinuousDeliveryPipeline/uni-api/app/list.js | JavaScript | apache-2.0 | 489 |
var dir_fda2d6be1ee76f54e0d2d9958d0474eb =
[
[ "FlowRuleManagerTest.java", "FlowRuleManagerTest_8java.html", [
[ "FlowRuleManagerTest", "classorg_1_1onosproject_1_1net_1_1flow_1_1impl_1_1FlowRuleManagerTest.html", "classorg_1_1onosproject_1_1net_1_1flow_1_1impl_1_1FlowRuleManagerTest" ],
[ "TestApplicat... | onosfw/apis | onos/apis/dir_fda2d6be1ee76f54e0d2d9958d0474eb.js | JavaScript | apache-2.0 | 532 |
(function () {
'use strict';
angular.module('app365').factory('app365api', [app365api]);
function app365api() {
var authContext;
var authtoken;
var outlookClient;
var userName;
// Login to O365
function login(callback) {
if (!authContext) {
... | AdrianDiaz81/DotNetSpaint2015 | Contacts.Cordova/scripts/js/serviceO365.js | JavaScript | apache-2.0 | 1,740 |
export const panseqDescription = (file, pi, pan) => {
// parses files and options to generate a human-readable description
let s = ''
s += file
// // check the length of the file array
// if (file.length === 1){
// s += file.filename
// } else {
// for (let f in file){
// // cap name descripto... | superphy/reactapp | src/middleware/panseq.js | JavaScript | apache-2.0 | 800 |
'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 ("... | HendrixString/node-okhttp | lib/core/BaseWorker.js | JavaScript | apache-2.0 | 3,816 |
/**
* This file is part of power-ui, originally developed by Futurice Oy.
*
* power-ui is 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
*
... | petuomin/power-ui | src/components/pages/PeoplePage/model.js | JavaScript | apache-2.0 | 4,161 |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Q = require("q");
var Paho = require('../mqt... | ashramwen/kii-gateway-agent | dist/KiiHelper/KiiMqttHelper.js | JavaScript | apache-2.0 | 7,218 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 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/array/uint8/benchmark/benchmark.set.length.js | JavaScript | apache-2.0 | 2,097 |
//>>built
define("dojox/grid/nls/DataGrid_pt-pt",{"dijit/nls/loading":{loadingState:"A carregar...",errorState:"Lamentamos, mas ocorreu um erro",_localized:{}}});
//# sourceMappingURL=DataGrid_pt-pt.js.map | Caspar12/zh.sw | zh.web.site.admin/src/main/resources/static/js/dojo/dojox/grid/nls/DataGrid_pt-pt.js | JavaScript | apache-2.0 | 205 |
(function () {
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// packages/tracker/tracker.js ... | FreeSheetTech/freesheet-web | lib/js/template/tracker.js | JavaScript | apache-2.0 | 76,448 |
'use strict';
(function () {
angular
.module('owh')
.component("owhSideFilterItem", {
templateUrl: 'app/components/owh-side-filter/owhSideFilterItem.html',
controller: sideFilterItemController,
controllerAs: 'sfic',
bindings: {
filter: ... | semanticbits/owh-ds | software/owh/client/app/components/owh-side-filter/owh-sideFilterItem.component.js | JavaScript | apache-2.0 | 14,317 |
import { helper } from '@ember/component/helper';
export function hasItem(item, weakSet) {
return weakSet.has(item);
}
export default helper(function ([item, weakSet]) {
return hasItem(item, weakSet);
});
| mnutt/davros | app/helpers/has-item.js | JavaScript | apache-2.0 | 211 |
import React, { Component } from 'react';
import {
View,
Image,
Text,
Dimensions,
ScrollView,
TouchableOpacity
} from 'react-native';
import _ from 'lodash';
import moment from 'moment';
import ParallaxScrollView from 'react-native-parallax-scroll-view';
import * as Animatable from 'react-native-animatable';
imp... | cloudfavorites/favorites | android/source/component/authorRender.js | JavaScript | apache-2.0 | 4,680 |
//
// Class representing a node in a nodetree script.
// Nothing to do with the server-side JS engine.
//
var OcrJs = OcrJs || {};
OcrJs.Nodetree = OcrJs.Nodetree || {};
var SvgHelper = SvgHelper || new OcrJs.Nodetree.SvgHelper;
OcrJs.Nodetree.Node = OcrJs.Base.extend({
init: function(name, classdata, id) {
... | vitorio/ocropodium | ocradmin/static/js/ocr_js/nodetree/node.js | JavaScript | apache-2.0 | 14,616 |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/STIX-Web/Latin/Regular/Main.js
*
* Copyright (c) 2013-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic... | thomasjm/MathJax | unpacked/jax/output/EditableSVG/fonts/STIX-Web/Latin/Regular/Main.js | JavaScript | apache-2.0 | 103,490 |
jQuery.effects||function(f,j){function n(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]... | adviti/melange | app/jquery.min/jquery-ui.effects.core.js | JavaScript | apache-2.0 | 10,609 |
// ==========================================================================
// Plyr internationalization
// ==========================================================================
import utils from './utils';
const i18n = {
get(key = '', config = {}) {
if (utils.is.empty(key) || utils.is.empty(config... | stefankroeckel/asmuchasicecream | node_modules/plyr/src/js/i18n.js | JavaScript | apache-2.0 | 782 |
/*! afontgarde - v0.1.6 - 2015-03-13
* https://github.com/filamentgroup/a-font-garde
* Copyright (c) 2015 Filament Group c/o Zach Leatherman
* MIT License */
/*! fontfaceonload - v0.1.6 - 2015-03-13
* https://github.com/zachleat/fontfaceonload
* Copyright (c) 2015 Zach Leatherman (@zachleat)
* MIT License */
;(... | IndonesiaX/ux-pattern-library | pattern-library/js/afontgarde.js | JavaScript | apache-2.0 | 7,545 |
/*global require, describe,it,element,by,browser*/
describe("sap.m.IconTabBarInheritCozy", function() {
"use strict";
browser.testrunner.currentSuite.meta.controlName = 'sap.m.IconTabBar';
var fnRunAllCases = require('./IconTabBarUtils.js');
//check tabDensityMode property = Inherit when the page is in Cozy den... | SAP/openui5 | src/sap.m/test/sap/m/visual/IconTabBarInheritCozy.spec.js | JavaScript | apache-2.0 | 534 |
define(["lib/js/three/three.r82.min.js"],function(THREE){
var MyWidget = (function (_super) {
__extends(MyWidget, _super);
function MyWidget(div, model) {
_super.call(this, div, model);
this.camera = new THREE.PerspectiveCamera( 70, div.offsetWidth / div.off... | dglux/dglux5_js_lib | examples/threejs/threejs.js | JavaScript | apache-2.0 | 1,706 |
'use strict';
/**
* @ngdoc component
* @name mcp.directive:mp-sparkline-chart
* @description
* # mp-sparkline-chart
*/
angular
.module('mobileControlPanelApp')
.directive('mpSparklineChart', function() {
return {
template: `<div class="mp-sparkline-container">
<div ng-if="noData" c... | feedhenry/mcp-standalone | ui/public/scripts/shared/mp-sparkline-chart.directive.js | JavaScript | apache-2.0 | 1,111 |
var google = require('gapi/googleapis');
function doClick(e) {
var urlshortener = google.urlshortener('v1');
var printResult = function(err, result) {
if (err) {
console.log('Error occurred: ', err);
} else {
console.log('Result: ', result);
}
};
urlshortener.url.get({
shortUrl : 'http://goo.gl/DdUK... | rudzon/ti-gapi | app/controllers/index.js | JavaScript | apache-2.0 | 462 |
'use strict';
var mergeBuffers = require('../../lib/mergeBuffers');
describe('mergeBuffers', function() {
it('merges buffers', function() {
var buffer0 = Buffer.from([1, 2]);
var buffer1 = Buffer.from([3, 4, 5]);
var bufferMerged = Buffer.from([1, 2, 0, 0, 3, 4, 5, 0]);
va... | shehzan10/gltf-pipeline | specs/lib/mergeBuffersSpec.js | JavaScript | apache-2.0 | 2,540 |
var yt = yt || {};
//加载图片
yt.loadImg = function ($imgs, time) {
var _time = 0;
time = time || 200;
$imgs.each(function () {
var $that = $(this);
if ($that.data('hasload')) {
return false;
}
setTimeout(function () {
$that.fadeOut(0);
$tha... | linmingling/demo | zt/bgqz/js/my.js | JavaScript | apache-2.0 | 8,953 |
// Async Library
import ascyn from 'async';
// Creating a model to this tests.
import Dynamito from '../lib';
var Schema = Dynamito.Schema;
var AccessModel;
function setup(table, s) {
return done => {
var ListSchema = new Schema(s);
AccessModel = Dynamito.model(table, ListSchema);
done();
};
}
funct... | par-mais-tecnologia/dynamito | test/schema.array.spec.js | JavaScript | apache-2.0 | 4,896 |