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 |
|---|---|---|---|---|---|
/**
* Copyright (C) 2006-2020 Talend Inc. - www.talend.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... | chmyga/component-runtime | component-starter-server/src/main/frontend/backend/index.js | JavaScript | apache-2.0 | 1,677 |
sap.ui.define([
"sap/ui/core/UIComponent"
], function(UIComponent) {
"use strict";
return UIComponent.extend("sap.ui.webc.main.sample.FileUploader.Component", {
metadata: {
manifest: "json"
}
});
}); | SAP/openui5 | src/sap.ui.webc.main/test/sap/ui/webc/main/demokit/sample/FileUploader/Component.js | JavaScript | apache-2.0 | 213 |
'use strict';
/**
* Tests for when Zotero is down/inaccessible
*/
const assert = require('../../utils/assert.js');
const Server = require('../../utils/server.js');
describe('Zotero service down or disabled:', function () {
describe('unreachable', function () {
this.timeout(20000);
const serve... | wikimedia/citoid | test/features/scraping/no-zotero.js | JavaScript | apache-2.0 | 28,920 |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* 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 ... | DebalinaDey/AuraDevelopDeb | aura-impl/src/main/resources/aura/storage/adapters/MemoryAdapter.js | JavaScript | apache-2.0 | 9,685 |
const TextBasedChannel = require('./interfaces/TextBasedChannel');
const Constants = require('../util/Constants');
const { Presence } = require('./Presence');
const UserProfile = require('./UserProfile');
const Snowflake = require('../util/Snowflake');
const { Error } = require('../errors');
/**
* Represents a user o... | zajrik/discord.js | src/structures/User.js | JavaScript | apache-2.0 | 7,871 |
module.exports = {
entry: {
app : './app/app.js'
},
output: {
filename: '[name]_bundle.js',
path: './dist'
}
}; | remibantos/jeeshop | admin/src/main/webapp/webpack.config.js | JavaScript | apache-2.0 | 151 |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requi... | mztaylor/rice-git | rice-framework/krad-web/src/main/webapp/krad/scripts/krad.initialize.js | JavaScript | apache-2.0 | 59,690 |
/**
* Copyright 2016-2017 IBM 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... | ratnakar-asara/fabric-sdk-node | test/unit/chain.js | JavaScript | apache-2.0 | 43,574 |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.or... | keizer619/carbon-analytics-common | features/analytics-gadget-templates/org.wso2.carbon.analytics.gadget.chart.template.feature/src/main/charts/geo-map/api.js | JavaScript | apache-2.0 | 17,596 |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {
PostOptions,
SettingsSidebar,
} from '@support/ui/component';
import {SearchResultPostScreen} from '@support/ui/screen';
class SavedMessagesScreen {
testID = {
savedMessagesScre... | mattermost/mattermost-mobile | detox/e2e/support/ui/screen/saved_messages.js | JavaScript | apache-2.0 | 1,602 |
//>>built
define("dojox/storage/BehaviorStorageProvider",["dojo","dijit","dojox","dojo/require!dojox/storage/Provider,dojox/storage/manager"],function(c,h,g){c.provide("dojox.storage.BehaviorStorageProvider");c.require("dojox.storage.Provider");c.require("dojox.storage.manager");c.declare("dojox.storage.BehaviorStorage... | wanglongbiao/webapp-tools | Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/dojox/storage/BehaviorStorageProvider.js | JavaScript | apache-2.0 | 3,379 |
// 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 in ... | googleapis/google-api-nodejs-client | src/apis/licensing/webpack.config.js | JavaScript | apache-2.0 | 2,010 |
/**
* 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... | kmh287/amphtml | build-system/pr-check.js | JavaScript | apache-2.0 | 13,048 |
import PinSvg from './svg/PinSvg';
export default function ActivityInfo({title, price, stars, reviews, location}) {
return (
<>
<div className='h2 line-height-2 mb1'>
<span className='travel-results-result-text'>{title}</span>
<span className='travel-results-result-subtext h3'>•</span>... | ampproject/ampstart | templates/travel/components/ActivityInfo.js | JavaScript | apache-2.0 | 887 |
$(function() {
/* ------------ 合作伙伴信息 ------------ */
$( "#partner_id" ).combobox( {
url : ksa.buildUrl( "/data/combo", "bd-partner-all" ),
onSelect : function( record ) {
$grid.datagrid( "load", { id : record.id } );
}
} );
// 确认选择
... | xsocket/ksa | ksa-web-root/ksa-bd-web/src/main/resources/ui/bd/component/partner-alias-selection.js | JavaScript | apache-2.0 | 4,709 |
var a04869 =
[
[ "font_sample_count", "a04869.html#af23335c4319e0c5f010380d9de8f5a6d", null ],
[ "Label", "a04869.html#ad4701118c2e75f005c1f7e4c53abb35d", null ],
[ "List", "a04869.html#a848ab6ee611dbc860f80a47ecef2faa7", null ],
[ "SampleCount", "a04869.html#aab481329945e65c4aeee79b145e4de51", null ]
]... | stweil/tesseract-ocr.github.io | 4.00.00dev/a04869.js | JavaScript | apache-2.0 | 321 |
'use strict';
/**
* @ngdoc overview
* @name hciApp
* @description
* # hciApp
*
* Main module of the application.
*/
angular
.module('hciApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngRoute',
'ngSanitize',
'ngTouch',
'ui.bootstrap',
'ngMaterial'
])
.config(function ($rou... | admitriyev/hci-prototype | app/scripts/app.js | JavaScript | apache-2.0 | 952 |
const config = require('./protractor.conf').config;
config.capabilities = {
browserName: 'chrome',
chromeOptions: {
args: ['--headless', '--no-sandbox', '--disable-gpu'],
},
};
exports.config = config;
| bwsw/cloudstack-ui | e2e/protractor-ci.conf.js | JavaScript | apache-2.0 | 214 |
export { default as Home} from './home';
export { default as Post} from './post';
export { default as Search} from './search';
export { default as About} from './about';
export { default as Author} from './author';
export { default as Comment} from './comment';
export { default as Setting} from './setting';
export { de... | cloudfavorites/favorites | android/source/view/index.js | JavaScript | apache-2.0 | 410 |
//
// Webble World 3.0 (IntelligentPad system for the web)
//
// Copyright (c) 2010-2015 Micke Nicander Kuwahara, Giannis Georgalis, Yuzuru Tanaka
// in Meme Media R&D Group of Hokkaido University, Japan. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... | BogusCurry/wblwrld3 | app/scripts/controllers/groups.js | JavaScript | apache-2.0 | 9,332 |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed un... | yssk22/gaecouch | futon/script/test/delayed_commits.js | JavaScript | apache-2.0 | 3,920 |
document.addEventListener('deviceready', ondeviceready, false);
function Notifi (){
cordova.plugins.notification.local.schedule({
id: 1,
title: "Atento!!!!!",
message: "Este evento se ha agregado a tu lista "
});
} | polieduco/practicaaplicada20172 | proyecto/www/js/notfica.js | JavaScript | apache-2.0 | 297 |
var a00278 =
[
[ "c_blob_comparator", "a00278.html#adf90dfe481e3980859ab92739b51caa6", null ]
]; | stweil/tesseract-ocr.github.io | 4.00.00dev/a00278.js | JavaScript | apache-2.0 | 100 |
'use strict';
var auth = require('../middleware/auth');
var express = require('express');
var router = express.Router();
var achievements = require('../common/achievements');
var User = require('../models').users;
var Action = require('../models').actions;
var Log = require('../models').logs;
/**
* @api {get} /user/... | CIVIS-project/YouPower | backend/routes/userAction.js | JavaScript | apache-2.0 | 4,813 |
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd 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
... | sung-su/crosswalk-tizen | extensions/internal/widget/widget_api.js | JavaScript | apache-2.0 | 2,433 |
//// [/lib/initial-buildOutput.txt]
/lib/tsc --b /src/src/main /src/src/other
exitCode:: ExitStatus.Success
//// [/src/dist/main/a.d.ts]
export {};
//// [/src/dist/main/a.js]
"use strict";
exports.__esModule = true;
var b_1 = require("./b");
var a = b_1.b;
//// [/src/dist/main/b.d.ts]
export declar... | nojvek/TypeScript | tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/builds-correctly.js | JavaScript | apache-2.0 | 4,380 |
var a00455 =
[
[ "UnicharIdArrayUtils", "a02761.html", null ],
[ "AmbigSpec", "a02765.html", "a02765" ],
[ "UnicharAmbigs", "a02769.html", "a02769" ],
[ "MAX_AMBIG_SIZE", "a00455.html#a66b35d22667233a1566433c6dd864463", null ],
[ "UnicharAmbigsVector", "a00455.html#aa63fceec9a01c185fac83c0e7d04fe08"... | stweil/tesseract-ocr.github.io | 4.00.00dev/a00455.js | JavaScript | apache-2.0 | 1,254 |
var robotsParser = require("robots-parser"),
urlMod = require("url");
/**
* This is a parse that analyzes URL with path /robots.txt.
*
* @return {Function} Returns the handler.
*/
module.exports = function (opts) {
if (!opts) {
opts = {};
}
if (!opts.urlFilter) {
opts.urlFilter = function () {
... | brendonboshell/supercrawler | lib/handlers/robotsParser.js | JavaScript | apache-2.0 | 868 |
import React from "react";
import { mount } from "enzyme";
import { TextArea as VanillaTextArea } from "hig-vanilla";
import TextAreaAdapter from "./TextAreaAdapter";
describe("TextAreaAdapter", () => {
it("implements the hig interface", () => {
expect(spiedInstance => {
mount(
<TextAreaAdapter
... | hyoshizumi/hig | packages/react/src/adapters/FormElements/TextAreaAdapter.test.js | JavaScript | apache-2.0 | 941 |
var a02762 =
[
[ "AmbigSpec", "a02762.html#aaa3a04113f5db03951771afa6423e7f4", null ],
[ "~AmbigSpec", "a02762.html#a5283933a9e7267b3505f5f18cf289f3e", null ],
[ "correct_fragments", "a02762.html#ad3a4b121b26cf829422700494aed91e4", null ],
[ "correct_ngram_id", "a02762.html#a879c6167dbfc54980bfeb5a15b32... | stweil/tesseract-ocr.github.io | 4.0.0-beta.1/a02762.js | JavaScript | apache-2.0 | 568 |
import React, {useContext} from 'react';
import {StyleSheet, ScrollView, Text, View, Platform, TouchableHighlight} from 'react-native';
import {NavigationContext} from 'navigation-react';
import {NavigationBar, RightBar, BarButton, SharedElement, useNavigated} from 'navigation-react-native';
export default ({colors, c... | grahammendick/navigation | NavigationReactNativeWeb/sample/zoom/Detail.js | JavaScript | apache-2.0 | 2,749 |
const log = require('../logger').gateway;
const policies = require('../policies');
const EgContextBase = require('./context');
const express = require('express');
const vhost = require('vhost');
const ConfigurationError = require('../errors').ConfigurationError;
/*
* A pipeline consists of an apiEndpoint and a set of... | srcnix/express-gateway | lib/gateway/pipelines.js | JavaScript | apache-2.0 | 7,806 |
const OpencgaSampleBrowserConfig = {
};
| opencb/iva | src/conf/opencga-sample-browser.config.js | JavaScript | apache-2.0 | 41 |
(function(root, undef) {
///////////////////////////////////////////////////////////////////////////////////////////////
// pg.js, part of rdflib-pg-extension.js made by Stample
// see https://github.com/stample/rdflib.js
///////////////////////////////////////////////////////////////////////////////////////////////... | read-write-web/react-foaf | js/lib/rdflib/rdflib-stample-pg-extension-0.1.1.js | JavaScript | apache-2.0 | 38,343 |
/**
* @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... | mixed/lighthouse | lighthouse-core/audits/accessibility/color-contrast.js | JavaScript | apache-2.0 | 1,473 |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* 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 ... | lhong375/aura | aura-impl/src/test/components/iterationTest/iterationWJSProviderOnlyList/iterationWJSProviderOnlyListTest.js | JavaScript | apache-2.0 | 1,218 |
import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import { Headline } from '@folio/stripes/components';
import css from './ProxyViewList.css';
const ProxyViewList = ({ records, name, label, itemComponent, stripes }) => {
const ComponentToRender = itemCompon... | folio-org/ui-users | src/components/ProxyGroup/ProxyViewList/ProxyViewList.js | JavaScript | apache-2.0 | 1,222 |
import { useEffect, useState, useMemo } from "react"
import useCommons from "../../../lib/hooks/useCommons"
import { Link } from "react-router-dom"
import StaticTags from "../StaticTags"
import useL7Policy from "../../../lib/hooks/useL7Policy"
import CopyPastePopover from "../shared/CopyPastePopover"
import useListener... | sapcc/elektra | plugins/lbaas2/app/javascript/app/components/l7policies/L7PolicyListItem.js | JavaScript | apache-2.0 | 8,173 |
'use strict';
import gulp from 'gulp';
import webpack from 'webpack';
import path from 'path';
import sync from 'run-sequence';
import rename from 'gulp-rename';
import template from 'gulp-template';
import fs from 'fs';
import yargs from 'yargs';
import lodash from 'lodash';
import gutil ... | mazurevich/test | gulpfile.babel.js | JavaScript | apache-2.0 | 3,235 |
// @Bind #menu1.#menuItem2.onClick
!function() {
dorado.MessageBox.alert("Dorado7.0 快速入门");
};
// @Bind #tree1.onDataRowClick
!function(self) {
// 定义Tab变量
var tab = {};
// self 代表事件所属的控件,此处指 Tree对象
// self.get("currentNode")表示获取当前被点击的节点。
with (self.get("currentNode")) {
// 制定当前的tab为IFrameTab
tab... | leifchen/hello-dorado | src/demo/chapter02/Main.js | JavaScript | apache-2.0 | 1,297 |
var GPSClient = {};
GPSClient.send = function(exeurl, latitude,longitude,actionname,username) {
var client = Titanium.Network.createHTTPClient({timeout : 100000});
var paramater = '&intaliouser=' + username + '¶meter=latitude:' + longitude + ',';
//var paramater = '&username=' + username + '¶meter=latitude:... | DaisukeSugai/salesreport | Resources/gps.js | JavaScript | apache-2.0 | 1,761 |
'use strict';
/**
* 블럭 모델
*
* @class Block
*
* @exception {Error} Messages.CONSTRUCT_ERROR
* 아래 문서의 1.3 Models Folder의 항목 참조
* @link https://github.com/Gaia3D/F4DConverter/blob/master/doc/F4D_SpecificationV1.pdf
*/
var Block = function()
{
if (!(this instanceof Block))
{
throw new Error(Messages.CONSTR... | Gaia3D/mago3djs | src/mago3d/f4d/Block.js | JavaScript | apache-2.0 | 2,674 |
// 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/stats/base/dists/exponential/pdf/benchmark_bundle.js | JavaScript | apache-2.0 | 938,262 |
/*
Dopetrope 2.0 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
window._skel_config = {
preset: 'standard',
prefix: DPT.theme + '/css/style',
resetCSS: true,
breakpoints: {
'desktop': {
grid: {
gutters: 50
}
}... | leagueofbeards/habaridopetrope | js/config.js | JavaScript | apache-2.0 | 387 |
/**
* @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... | osric-the-knight/foam | core/ChromeEval.js | JavaScript | apache-2.0 | 3,509 |
/**
* Copyright 2020 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... | jmadler/amphtml | extensions/amp-base-carousel/1.0/dimensions.js | JavaScript | apache-2.0 | 7,290 |
module.controller('ResourceServerCtrl', function($scope, realm, ResourceServer) {
$scope.realm = realm;
ResourceServer.query({realm : realm.realm}, function (data) {
$scope.servers = data;
});
});
module.controller('ResourceServerDetailCtrl', function($scope, $http, $route, $location, $upload, rea... | AOEpeople/keycloak | themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js | JavaScript | apache-2.0 | 43,159 |
'use strict';
let lib = {
"_id": "5e409c94c5a59210a815262c",
"name": "pay",
"description": "MS pay service for marketplace",
"type": "service",
"configuration": {
"subType": "ecommerce",
"port": 4102,
"group": "Marketplace",
"requestTimeout": 30,
"requestTimeoutRenewal": 5,
"maintenance": {
"port": ... | soajs/soajs | test/data/integration/marketplace/pay.js | JavaScript | apache-2.0 | 1,208 |
!function(o){o("#word").keydown(function(){o(this).css("background-color","#fff")}),o("#search button").on({click:function(c){return""==o("#word").val()?(o("#word").focus().css("background-color","#FAEBCC"),!1):($tmp=o("#word").val(),void o("#word").val($tmp+" site:geeknav.applinzi.com"))},focusout:function(c){o("#word... | darkless456/Geek_Navigation | dist/js/default.js | JavaScript | apache-2.0 | 411 |
define("gallery/spin/2.0.0/spin-debug", [], function(require, exports, module) {
/**
* Copyright (c) 2011-2014 Felix Gnass
* Licensed under the MIT license
*/
(function(root, factory) {
/* CommonJS */
if (typeof exports == "object") module.exports = factory(); else if (typeof define == "funct... | fuxiaoling/gulp | src/static/libs/cmd/gallery/spin/2.0.0/spin-debug.js | JavaScript | apache-2.0 | 12,137 |
/* ==========================================================
* bootstrap-affix.js v2.2.2
* http://twitter.github.com/bootstrap/javascript.html#affix
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | michaelcouck/ikube | code/war/src/main/webapp/assets/javascripts/bootstrap/bootstrap-affix.js | JavaScript | apache-2.0 | 3,485 |
describe('Service: angelloModel', function() {
//load module for service
beforeEach(module('Angello'));
var modelService;
beforeEach(inject(function(angelloModel) {
modelService = angelloModel;
}));
describe('#getStatuses', function() {
it('should return seven different statuses', function() {
expect(m... | jimfmunro/angello | tests/angelloModelSpec.js | JavaScript | apache-2.0 | 1,326 |
// Alias to import the folder
import Logo from './Logo';
export default Logo; | Angelmmiguel/discuzzion | client/src/components/Logo/index.js | JavaScript | apache-2.0 | 77 |
(function () {
'use strict';
angular.module('app.bankmaintenance').run(appRun);
/* @ngInject */
function appRun(routerHelper) {
routerHelper.configureStates(getStates());
}
function getStates() {
return [
{
state: 'app.listBanks',
con... | blessonkavala/cp | cashportal/src/main/resources/static/app/modules/bankmaintenance/bankmaintenance.route.js | JavaScript | apache-2.0 | 9,943 |
var extend = require('node.extend');
var PersistentCollection = require('./persistent-collection');
var preference = require('../model/preference');
var preferences = extend(true, {}, new PersistentCollection(), function() {
"use strict";
return {
collectionName: 'preferences',
fieldDefinition:... | stamp-web/stamp-webservices | app/services/preferences.js | JavaScript | apache-2.0 | 376 |
import React from 'react'
import GenericField from './genericfield'
import {object_is_equal, map_drop} from 'app/utils'
import PropTypes from 'prop-types'
import uuid4 from 'uuid/v4'
class GenericForm extends React.Component{
constructor(props){
super(props)
this.state = this.getInitialState(props)
this... | serverboards/serverboards | frontend/app/js/components/genericform/index.js | JavaScript | apache-2.0 | 2,808 |
'use strict';
var chai = require('chai');
var supertest = require('supertest');
var api = supertest('https://apis-bank-dev.apigee.net'); // supertest init;
chai.should();
describe('/branches', function() {
describe('get', function() {
it('should respond with 200 OK', function(done) {
this.timeout(0);
a... | siriscac/apigee-ci-demo | tests/branches-test.js | JavaScript | apache-2.0 | 488 |
import React from 'react';
import { screen } from '@testing-library/react';
import { createMemoryHistory } from 'history';
import '__mock__/stripesCore.mock';
import renderWithRouter from 'helpers/renderWithRouter';
import account from 'fixtures/account';
import openLoans from 'fixtures/openLoans';
import okapiCurrent... | folio-org/ui-users | src/views/AccountDetails/AccountDetails.test.js | JavaScript | apache-2.0 | 2,518 |
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
Ti.API.info( "Platform: " + Titanium.Platform.name );
/////////////////////////////////////////////
// Global Variables
/////////////////////////////////////////////
var site_url... | sekka1/Events-App | Resources/app.js | JavaScript | apache-2.0 | 5,846 |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | mfrederickson/ssat | app/assets/javascripts/application.js | JavaScript | apache-2.0 | 1,885 |
var searchData=
[
['scroll',['scroll',['../select2_8js.html#a6e3896ca7181e81b7757bfcca39055ec',1,'select2.js']]],
['scrollbardimensions',['scrollBarDimensions',['../select2_8js.html#a30eb565a7710bd54761b6bfbcfd9d3fd',1,'select2.js']]],
['select',['select',['../select2_8js.html#ac07257b5178416a2fbbba7365d2703a6',1... | zwmcfarland/MSEF | doxygen documentation/search/variables_15.js | JavaScript | apache-2.0 | 936 |
/* globals define */
define(function(require, exports, module) {
"use strict";
// Import famo.us dependencies
var Engine = require("famous/core/Engine");
var FastClick = require("famous/inputs/FastClick");
// Create main application view
var AppView = require("views/AppView");
var context ... | trigger-corp/generator-famous-triggerio | app/templates/src/js/main.js | JavaScript | bsd-2-clause | 437 |
/* global define */
define([
'jquery',
'marionette'
], function($, Marionette) {
var CountItem = Marionette.ItemView.extend({
tagName: 'tr',
template: 'stats/count-item'
});
var CountList = Marionette.CompositeView.extend({
template: 'stats/count-list',
itemView:... | chop-dbhi/varify | varify/static/cilantro/js/cilantro/ui/stats.js.src.js | JavaScript | bsd-2-clause | 2,255 |
var proj4 = require('proj4');
var transformCoordinates = function transformCoordinates(fromProjection, toProjection, coordinates) {
proj4.defs([
[
'EPSG:3006',
'+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'
],
[
'EPSG:3007',
'+proj=tmerc +lat_0=0 +lon_0... | origo-map/origo-server | lib/utils/transformcoordinates.js | JavaScript | bsd-2-clause | 2,452 |
/* */
"format cjs";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @module
* @description
* Entry point for all public APIs of the common/testing package.... | poste9/crud | deps/npm/@angular/common@2.4.4/testing/index.js | JavaScript | bsd-2-clause | 470 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/obj-ptrn-id-get-value-err.case
// - src/dstr-binding/error/gen-func-decl-dflt.template
/*---
description: Error thrown when accessing the corresponding property of the value object (generator function declaration (default paramete... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/generators/dstr-dflt-obj-ptrn-id-get-value-err.js | JavaScript | bsd-2-clause | 1,835 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-elem-obj-val-undef.case
// - src/dstr-binding/error/cls-expr-meth.template
/*---
description: Nested object destructuring with a value of `undefined` (class expression method)
esid: sec-class-definitions-runtime-semantics... | sebastienros/jint | Jint.Tests.Test262/test/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-val-undef.js | JavaScript | bsd-2-clause | 2,782 |
function privatesquare_trips_datepicker_init(){$(".form-control").focus(function(){var c=$(this).attr("id");if(c=="arrival"){$("#x-calendar-arrival-wrapper").show();$("#x-calendar-departure-wrapper").hide()}else if(c=="departure"){$("#x-calendar-arrival-wrapper").hide();$("#x-calendar-departure-wrapper").show()}else{$(... | straup/privatesquare | www/javascript/privatesquare.trips.min.js | JavaScript | bsd-2-clause | 7,486 |
/*****************************************************************************/
/* */
/* RobotIRC 0.1.2 */
/* Copyright (c) 2013-2017, Frederic Cambus */
... | fcambus/robotirc | lib/robotirc.js | JavaScript | bsd-2-clause | 6,242 |
'use strict'
class ScheduleEvents {
constructor (aws) {
// Authenticated `aws` object in `lib/main.js`
this.lambda = new aws.Lambda({
apiVersion: '2015-03-31'
})
this.cloudwatchevents = new aws.CloudWatchEvents({
apiVersion: '2015-10-07'
})
}
_ruleDescription (params) {
if ('... | teebu/node-lambda | lib/schedule_events.js | JavaScript | bsd-2-clause | 2,692 |
var middleware = require('../../middleware')
;
function handler (req, res, next) {
var profile = { };
res.send(200, res.profile);
next( );
return;
}
var endpoint = {
path: '/users/:user/create'
, method: 'get'
, handler: handler
};
module.exports = function configure (opts, server) {
function mount ... | bewest/restify-git-json | lib/handlers/users/create.js | JavaScript | bsd-2-clause | 976 |
if(!org) var org={};
if(!org.judison) org.judison={};
if(!org.judison.bmsp) org.judison.bmsp={};
with(org.judison.bmsp){
init = function(){
document.getElementById("bookmarks-view").place = "place:queryType=1&folder=" + window.top.PlacesUtils.bookmarksMenuFolderId;
}
} | judison/bmsp | src/content/overlay.js | JavaScript | bsd-2-clause | 290 |
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
console.log(process.env.NODE_ENV);
ReactDOM.render(<App />, document.getElementById('root'));
| freoff/zlecenia | src/index.js | JavaScript | bsd-2-clause | 204 |
(function() {
'use strict'
function queryLink() {
return {
restrict: 'E',
scope: {
'query': '=',
'visualization': '=?'
},
template: '<a ng-href="{{link}}" class="query-link">{{query.displayname}}</a>',
link: function(scope, element) {
var hash = null;
... | guaguadev/redash | rd_ui/app/scripts/directives/query_directives.js | JavaScript | bsd-2-clause | 11,659 |
// ## twig.functions.js
//
// This file handles parsing filters.
module.exports = function (Twig) {
/**
* @constant
* @type {string}
*/
var TEMPLATE_NOT_FOUND_MESSAGE = 'Template "{name}" is not defined.';
// Determine object type
function is(type, obj) {
var clas = Object.protot... | dave-irvine/twig.js | src/twig.functions.js | JavaScript | bsd-2-clause | 11,876 |
define(
['helper/english', 'vendor/underscore'],
function(englishHelper, _){
var persons, irregularVerbs;
/**
* @type {Array}
*/
persons = ['s1', 's2', 's3', 'p1', 'p2', 'p3'];
irregularVerbs = {
be: {
present: ['am', 'are', 'is', '... | peteraba/deutschodoro | app/library/english/verb.js | JavaScript | bsd-2-clause | 3,037 |
var Tag = require('./tag');
var ScriptTag = require('./script-tag');
var Utils = require('./../utils');
/**
* Script tag class that is loaded in a synchronous way.
*
* This is the class that will generate script tags that will be appended to the
* page using the document.write method.
*
* @param string ... | dompuiu/personal-tag-manager-enhanced-js-library | src/engine/tags/synchronous-script-tag.js | JavaScript | bsd-3-clause | 2,396 |
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dijit.Editor"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code... | najamelan/vhffs-4.5 | vhffs-panel/js/dijit/Editor.js | JavaScript | bsd-3-clause | 26,465 |
(function() {
'use strict';
angular.module('character-tracker.charactersheet')
.controller('GearController', GearController);
GearController.$inject =['GearService', 'InventoryService', '$scope'];
function GearController(GearService, InventoryService, $scope) {
var vm = this;
var currentItem ... | tenthirtyone/character-tracker | app/js/tracker/gear/gear.controller.js | JavaScript | bsd-3-clause | 1,270 |
module.exports = {
selector: '.skilifts .skilift',
parse: {
name: 1,
status: {
child: 0,
attribute: 'class',
regex: / ([a-z]+)$/
}
}
};
| pirxpilot/liftie | lib/resorts/larosiere/index.js | JavaScript | bsd-3-clause | 172 |
function postTodo ({input, state, output, services}) {
const todo = state.get(`app.todos.${input.ref}`)
services.http.post('/api/todos', todo)
.then(output.success)
.catch(output.error)
}
postTodo.async = true
postTodo.outputs = ['success', 'error']
export default postTodo
| morepath/morepath_cerebral_todomvc | client/modules/app/actions/postTodo.js | JavaScript | bsd-3-clause | 289 |
'use strict';
angular.module('user-filters')
.directive('zoUserFilters', function(){
return {
restrict: 'E',
replace: true,
templateUrl: 'app/user-filters/list-directive.html',
controller: 'UserFiltersDirectiveCtrl'
}
})
.controller('UserFiltersDirectiveCtrl', ['$scope',... | johnnycheng/AngularConcept | src/app/user-filters/list-directive.js | JavaScript | bsd-3-clause | 347 |
import React from 'react';
import PrivateRoute from '../../../routes/PrivateRoute';
import TextNodesEditorLayout from '../layouts/TextNodesLayout/TextNodesEditorLayout';
export default (
<PrivateRoute
exact
path="/textNodes/edit"
component={TextNodesEditorLayout}
roles={['commenter', 'editor', 'admin']}
/>
... | CtrHellenicStudies/Commentary | src/modules/textNodes/routes/index.js | JavaScript | bsd-3-clause | 323 |
var slug = require('slug');
var async = require('async');
var _ = require('underscore');
var kwery = require('kwery');
var functions = {
getInstances: function (state, next) {
var result = kwery.flat(state.db, { path: new RegExp('^' + state.data.path + '(/|$)') });
result.many(function (instances) {
... | Enome/jungles | data-memory/update/functions.js | JavaScript | bsd-3-clause | 2,479 |
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... | tmitchel2/relay | src/network-layer/default/RelayDefaultNetworkLayer.js | JavaScript | bsd-3-clause | 5,878 |
$(document).ready(function(){
$('.service-wrapper img').hover(
function(){
$(this).animate({'width':'100px'});
//$(this).next().css({'display':'none'});
},
function(){
$(this).animate({'width':'50px'});
//$(this)... | agent115/test2 | web/js/js.js | JavaScript | bsd-3-clause | 824 |
(function () {
'use strict';
var directives = angular.module('data-services.directives', []),
relationshipFormatter = function(cellValue, options, rowObject) {
var i, result = '', field;
for (i = 0; i < rowObject.fields.length; i += 1) {
if (rowObject.fields[i].... | koshalt/motech | platform/mds/mds-web/src/main/resources/webapp/js/directives.js | JavaScript | bsd-3-clause | 161,992 |
/* line 1 "./ragel/tsdp_parser_header_M.jrl" */
/*
* Copyright (C) 2012-2018 Doubango Telecom <http://www.doubango.org>
* License: BSD
* This file is part of Open Source sipML5 solution <http://www.sipml5.org>
*/
tsdp_header_M.prototype = Object.create(tsdp_header.prototype);
/* line 49 "./ragel/tsdp_parser_header_M... | DoubangoTelecom/sipml5 | src/tinySDP/src/headers/tsdp_header_M.js | JavaScript | bsd-3-clause | 15,015 |
(function ($) {
"use strict";
/* DEFINE VARIABLES */
var fu = $("#media-upload"), // FOR JQUERY FILE UPLOAD
fc = $("#file-container"), // FILE CONTAINER DISPLAY
md = $("#media-detail"), // FOR DETAIL ITEM
mf = $("#media-form"), // F... | cloud-github/Yii2-cms | admin/js/media.popup.js | JavaScript | bsd-3-clause | 9,054 |
var NAVTREEINDEX17 =
{
"classIoss_1_1Tet4.html#ae945be949a6165bf9cebf2b770699ebd":[4,0,69,135,22],
"classIoss_1_1Tet4.html#af2f9d7a80f796ded6a5ddfe374ed808e":[4,0,69,135,19],
"classIoss_1_1Tet7.html":[4,0,69,136],
"classIoss_1_1Tet7.html#a13df36e1096ef89227119e5d308ed628":[4,0,69,136,16],
"classIoss_1_1Tet7.html#a16e6f... | nschloe/seacas | docs/ioss_html/navtreeindex17.js | JavaScript | bsd-3-clause | 18,862 |
/**
* The Affix Component
*
* @module aui-affix
*/
var win = A.config.win;
/**
* A base class for Affix.
*
* Check the [live demo](http://alloyui.com/examples/affix/).
*
* @class A.Affix
* @extends Base
* @param {Object} config Object literal specifying scrollspy configuration
* properties.
* @constr... | adorjan/alloy-ui | src/aui-affix/js/aui-affix.js | JavaScript | bsd-3-clause | 6,261 |
export default function(path, width, height) {
this._images.push({path:path, width: width, height:height})
return this;
};
| magjac/d3-graphviz | src/images.js | JavaScript | bsd-3-clause | 133 |
/**
* Copyright (c) 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.
*
*/
'use stric... | skovhus/jest | packages/jest-cli/src/__tests__/watch_test_name_pattern_mode.test.js | JavaScript | bsd-3-clause | 5,369 |
/**
* DOCUMENTANTION
* ----------------------------------------------------------------------------
* Each key in the .eslintrc corresponds to a page in the rules directory.
* [Rules on eslint.org]{@link http://eslint.org/docs/rules/}
*
* The rest of the otpiosn can be found here:
* [Eslint Options][@link http:/... | jayzawrotny/gulp-casper-concat | gulp/config/eslint.js | JavaScript | bsd-3-clause | 742 |
var url = document.URL;
var array = url.split("/");
var base = array[3];
if (array[2] == 'localhost') {
var staticurl = '/' + base + '/client/dashboard/reporting';
//var url_action = array[6].split("?")[0];
} else {
var staticurl = '/client/dashboard/reporting';
// var url_action = array[5].split("?")[0];
}
... | skyinsurance/acars | js/basicscroll.js | JavaScript | bsd-3-clause | 1,662 |
//= require ../store
(function () {
"use strict";
var AppJobs = FlynnDashboard.Stores.AppJobs = FlynnDashboard.Store.createClass({
displayName: "Stores.AppJobs",
getState: function () {
return this.state;
},
willInitialize: function () {
this.props = {
appId: this.id.appId
};
},
didInitialize: func... | flynn-archive/flynn-dashboard-web | lib/javascripts/stores/app-jobs.js | JavaScript | bsd-3-clause | 899 |
$( document ).ready(function() {
$('.switch').bootstrapSwitch({onText: 'вкл', offText: 'выкл'}).on('switchChange.bootstrapSwitch', function () {
var checkbox = $(this);
checkbox.bootstrapSwitch('disabled', true);
$.getJSON(checkbox.data('link') + '?' + 'status=' + (checkbox.is(':checke... | Per1phery/wholetthedogout | web/js/backend/main.js | JavaScript | bsd-3-clause | 607 |
// Restrict output in a codecell to a maximum length
define([
'base/js/namespace',
'jquery',
'notebook/js/outputarea',
'base/js/dialog',
'notebook/js/codecell',
'services/config',
'base/js/utils'
], function(IPython, $, oa, dialog, cc, configmod, utils) {
"use strict";
var base_url... | jbn/IPython-notebook-extensions | nbextensions/usability/limit_output/main.js | JavaScript | bsd-3-clause | 4,242 |
(function(config, models, views, routers, utils, templates) {
// This is the top-level piece of UI.
views.Application = Backbone.View.extend({
// Events
// ------
events: {
'click .toggle-view': 'toggleView'
},
toggleView: function (e) {
e.preventDefault();
e.stopPropagation();
var l... | dilbapat/dilbapat.github.com | _includes/views/application.js | JavaScript | bsd-3-clause | 4,667 |
/* 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 20a23.74 23.74 0 00-23.73 23.85c0 16.48 17 31.59 22.23 35.59a2.44 2.44 0 ... | salesforce/design-system-react | icons/standard/field_sales.js | JavaScript | bsd-3-clause | 800 |