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 |
|---|---|---|---|---|---|
/**
* Dialog for saving modified trees.
*
* Author: Özcan Esen <ozcanesen@gmail.com>
* Credits: A. Murat Eren
* Copyright 2018, The anvio Project
*
* This file is part of anvi'o (<https://github.com/merenlab/anvio>).
*
* Anvi'o is a free software. You can redistribute this program
* and/or modify it unde... | merenlab/anvio | anvio/data/interactive/js/dialogs/save-tree.js | JavaScript | gpl-3.0 | 5,493 |
/*!
* http://www.shamasis.net/projects/ga/
* Refer jquery.ga.debug.js
* Revision: 13
*/
(function($){$.ga={};$.ga.load=function(uid,callback){jQuery.ajax({type:'GET',url:(document.location.protocol=="https:"?"https://ssl":"http://www")+'.google-analytics.com/ga.js',cache:true,success:function(){if(typeof _gat==unde... | tsweets/MrPickles | src/main/webapp/resources/js/jquery/jquery.ga.js | JavaScript | gpl-3.0 | 683 |
'use strict';
$(document).ready(function() {
try {
var restServer = 'http://192.168.88.213:3100/api/';
var service = 'DgrpEntradas/abiertasXtipo';
var dataset;
//Load data from the server
function loadData() {
/*$.ajax({
url: restServer + service
}).then(function(re... | kplian/pxp | sis_seguridad/widgets/usuarios_login/script.js | JavaScript | gpl-3.0 | 2,275 |
#!/usr/bin/env node
var fs = require('fs')
var path = require('path')
var nugget = require('./')
var args = require('minimist')(process.argv.slice(2))
var urls = args._
if (urls.length === 0) {
console.log(fs.readFileSync(path.join(__dirname, 'usage.txt')).toString())
process.exit(1)
}
var opts = {
... | klhdy/im-indepartment | packORGAN/client/sealtalk-desktop-ent-src/node_modules/nugget/bin.js | JavaScript | gpl-3.0 | 795 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'forms', 'zh', {
button: {
title: '按鈕內容',
text: '顯示文字 (值)',
type: '類型',
typeBtn: '按鈕',
typeSbm: '送出',
typeRst: '重設'
},
che... | vanpouckesven/cosnics | src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/forms/lang/zh.js | JavaScript | gpl-3.0 | 1,502 |
Compass.ErpApp.Desktop.Applications.Knitkit.addWebsiteNavItemOptions = function (self, items, record) {
var websiteId = compassDesktop.getModule('knitkit-win').currentWebsite.id;
if (currentUser.hasCapability('edit', 'WebsiteNavItem')) {
items.push({
text: 'Update Menu Item',
ic... | xuewenfei/compass_agile_enterprise | knitkit/app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js | JavaScript | gpl-3.0 | 11,147 |
import isEmpty from 'lodash/isEmpty'
import {setIfError, notBlank} from '#/main/app/data/types/validators'
import {constants} from '#/plugin/drop-zone/plugin/configuration/constants'
/**
* Checks if a DropzoneTool data are valid.
*
* @param {Object} tool
*
* @returns {boolean}
*/
function isValid(tool) {
r... | claroline/Distribution | plugin/drop-zone/Resources/modules/plugin/configuration/validator.js | JavaScript | gpl-3.0 | 774 |
YUI.add('moodle-availability_paypal-form', function (Y, NAME) {
/**
* JavaScript for form editing date conditions.
*
* @module moodle-availability_paypal-form
*/
M.availability_paypal = M.availability_paypal || {};
/**
* @class M.availability_paypal.form
* @extends M.core_availability.plugin
*/
M.availability_... | nitro2010/moodle | availability/condition/paypal/yui/build/moodle-availability_paypal-form/moodle-availability_paypal-form.js | JavaScript | gpl-3.0 | 5,422 |
var searchData=
[
['gethashvalue',['getHashValue',['../classRollingHash.html#a234a787077388a3825a9218702ce8647',1,'RollingHash']]]
];
| iruynarak/rorschach | Rorschach/html/search/functions_4.js | JavaScript | gpl-3.0 | 136 |
/* GCompris - erase.js
*
* Copyright (C) 2014 Bruno Coudoin
*
* Authors:
* Bruno Coudoin <bruno.coudoin@gcompris.net> (GTK+ version)
* Bruno Coudoin <bruno.coudoin@gcompris.net> (Qt Quick port)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | petitlapin/GCompris-qt | src/activities/erase/erase.js | JavaScript | gpl-3.0 | 4,512 |
/**
* DB/Monsters/MonsterTable.js
*
* Monster Table ID
*
* This file is part of ROBrowser, Ragnarok Online in the Web Browser (http://www.robrowser.com/).
*
* @author Vincent Thibault
*/
define(function()
{
"use strict";
return {
0: "Novice",
1: "Swordman",
2: "Mage",
3: "Archer",
4: "Acolyte",
... | funbather/nhnh-client | src/DB/Monsters/ClassTable.js | JavaScript | gpl-3.0 | 356 |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
define(
[],
function() {
'use strict';
var validators = [];
return {
/**
* Register unique validator
*
* @param validator
*/
... | rajmahesh/magento2-master | vendor/magento/module-checkout/view/frontend/web/js/model/payment/additional-validators.js | JavaScript | gpl-3.0 | 1,272 |
var IpWidget_Block = function () {
this.init = function (widgetObject, data) {
//store widgetObject variable to be accessible from other functions
this.widgetObject = widgetObject;
this.widgetObject.css('min-height', '30px'); //if widget is empty it could be impossible to click on.
... | sspaeti/ImpressPages | Theme/Glori/Plugin/Block/Widget/Block/assets/Block.js | JavaScript | gpl-3.0 | 5,604 |
/**
* ColorPicker.js
* Mithril component for a colorselector tool.
*
*/
import m from 'mithril';
import PubSub from 'pubsub-js';
import {pageToCanvas} from '../../util/CanvasUtil';
/**
*
* @type {{oninit: ColorPicker.oninit, onupdate: ColorPicker.onupdate, view: ColorPicker.view}}
*/
export let ColorPicker = {... | ncgr/cmap-js | src/ui/menus/ColorPicker.js | JavaScript | gpl-3.0 | 18,645 |
const dLog = console.debug;
import EmberObject, { computed } from '@ember/object';
/** Allocate a unique id to each search / blast-result tab, for navigation.
*/
let searchId = 0;
/** Data which backs each search instance initiated by sequence-search.
* @param promise, seq, parent, searchType
*/
export default Em... | plantinformatics/pretzel | frontend/app/utils/data/sequence-search-data.js | JavaScript | gpl-3.0 | 1,165 |
////////////////////////////////////////////////////////////////////////////////
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/////////////////////////////////////... | klahnakoski/Contributors | modevlib/imports/import.js | JavaScript | mpl-2.0 | 15,524 |
import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
import { fragmentArray } from 'ember-data-model-fragments/attributes';
import { hasMany } from '@ember-data/model';
export default class JobPlan extends Model {
@attr() diff;
@fragmentArray('placement-failure', { defaultValue: () => [... | burdandrei/nomad | ui/app/models/job-plan.js | JavaScript | mpl-2.0 | 381 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* Provides reset password helper methods.
*
* Dependent on the ResumeTokenMixin which is automatically mix... | swatilk/fxa-content-server | app/scripts/views/mixins/password-reset-mixin.js | JavaScript | mpl-2.0 | 1,824 |
module.exports = {
// When adding items to this file please check for effects on sub-directories.
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"env": {
"node": true
},
"plugins": [
"import", // re... | mozilla/activity-streams | .eslintrc.js | JavaScript | mpl-2.0 | 6,805 |
'use strict'
/* global winston */
const Promise = require('bluebird')
const _ = require('lodash')
const searchIndex = require('./search-index')
const stopWord = require('stopword')
const streamToPromise = require('stream-to-promise')
const searchAllowedChars = new RegExp('[^a-z0-9' + appdata.regex.cjk + appdata.regex... | NotBrianZach/collectiveWiki | server/libs/search.js | JavaScript | agpl-3.0 | 4,888 |
import React from 'react';
import ITEMS from 'common/ITEMS';
import SPELLS from 'common/SPELLS';
import Wrapper from 'common/Wrapper';
import SpellLink from 'common/SpellLink';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
class SoulOfTheArchdruid extends Analy... | enragednuke/WoWAnalyzer | src/Parser/Druid/Restoration/Modules/Items/SoulOfTheArchdruid.js | JavaScript | agpl-3.0 | 728 |
define(['../../../fstepmodules'], function (fstepmodules) {
'use strict';
fstepmodules.directive('imageLoader', function() {
return {
scope: {
source: '=',
loading: '=',
errorSrc: '=',
errorAlt: '='
},
r... | cgi-eoss/fstep | fs-tep-portal/src/main/resources/app/scripts/controllers/common/directives/imageLoader.js | JavaScript | agpl-3.0 | 983 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.ui.form.on("Supplier", {
refresh: function(frm) {
frm.cscript.make_dashboard(frm.doc);
if(frappe.defaults.get_default("supp_master_name")!="Naming Series") {
frm.toggle_displ... | mahabuber/erpnext | erpnext/buying/doctype/supplier/supplier.js | JavaScript | agpl-3.0 | 2,858 |
/**
* A link to a certain page, an anchor tag
*/
import styled from 'styled-components';
const A = styled.a`
color: #41addd;
cursor: pointer;
&:hover {
color: #6cc0e5;
}
`;
export default A;
| VonIobro/ab-web | app/components/A/index.js | JavaScript | agpl-3.0 | 208 |
/*
* Copyright (C) 2017 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... | venturehive/canvas-lms | spec/javascripts/jsx/gradebook-history/api/UserApiSpec.js | JavaScript | agpl-3.0 | 2,405 |
/**
* @author zhixin wen <wenzhixin2010@gmail.com>
* version: 1.9.1
* https://github.com/wenzhixin/bootstrap-table/
*/
!function ($) {
'use strict';
// TOOLS DEFINITION
// ======================
var cachedWidth = null;
// it only does '%s', and return '' when arguments are undefined
var ... | masoudmasoud/snip | resources/assets/js/bootstrap-table.js | JavaScript | agpl-3.0 | 95,931 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
MLJ.gui = {};
MLJ.gui.Widget = function (build, refresh) {
this._build = jQuery.isFunction(build) ? build : function () {
};... | cignoni/meshlabjs | test/jQueryGUI/v2/js/mlj/gui/Gui.js | JavaScript | agpl-3.0 | 4,037 |
CATS.Adapter.Codeforces = Classify({
init : function() {
this.name = "codeforces";
this.contest_aliases = {
id : 'id',
name : 'name',
startTimeSeconds : 'start_time',
},
this.rules_aliases = {
ICPC : 'acm'
}
},
parse_s... | klenin/cats-score | app/adapters/codeforces.js | JavaScript | lgpl-2.1 | 4,060 |
suite('Typography Attributes', function() {
let myp5;
setup(function(done) {
new p5(function(p) {
p.setup = function() {
myp5 = p;
done();
};
});
});
teardown(function() {
myp5.remove();
});
suite('p5.prototype.textAlign', function() {
test('wrong param at #0',... | processing/p5.js | test/unit/typography/attributes.js | JavaScript | lgpl-2.1 | 3,494 |
define([
'backbone.marionette',
'./templates'
], function (Marionette) {
return Marionette.ItemView.extend({
template: Templates['markdown-help']
});
});
| dgageot/sonarqube | server/sonar-web/src/main/js/apps/markdown/markdown-help-view.js | JavaScript | lgpl-3.0 | 168 |
/* global LXQ */
/*
Component: lxq.main
*/
const LXQ = {
enabled: function () {
return !!config.lxq_enabled
},
enable: function () {
if (!config.lxq_enabled) {
config.lxq_enabled = 1
// Todo Call Service to enable Tag Lexiqa
var path = sprintf(
APP.getRandomUrl() + 'api/v2/job... | riccio82/MateCat | public/js/cat_source/es6/utils/lxq.main.js | JavaScript | lgpl-3.0 | 27,325 |
var searchData=
[
['value',['value',['../structToken.html#a3cb4743f3dd1dbc6bdfc84c415e9b37b',1,'Token']]]
];
| atronah/tableManagedParser | doc/html/search/variables_76.js | JavaScript | lgpl-3.0 | 115 |
exports.buildStyles = require('./build-styles.js');
exports.buildScripts = require('./build-scripts.js');
exports.watchStyles = require('./watch-styles.js');
exports.watchScripts = require('./watch-scripts.js');
| abradley2/knockout-spa | build/index.js | JavaScript | unlicense | 215 |
//////////////////////////////////////////////////////////
// Addrable core
//
// Michael Hausenblas, 2011.
//
// -------------------------------------------------------
// Includes code from jQuery JavaScript Library v1.5
// http://jquery.com/
//
// Copyright 2011, John Resig
// Dual licensed under the MIT or GPL... | mhausenblas/addrable | addrable-core.js | JavaScript | unlicense | 12,206 |
define("app/saludador", ["jquery"], function($) {
function Saludador(spec) {
this.spec = spec;
}
Saludador.prototype.render = function() {
$(this.spec.selector).html(this.spec.mensaje);
}
function init(spec) {
new Saludador(spec).render();
}
return {
init: init
};
}); | picodotdev/elblogdepicodev | PlugInTapestry/src/main/resources/META-INF/modules/app/saludador.js | JavaScript | unlicense | 291 |
define({
"widgets": {
"ShareDialog": {
"title": "Deli",
"heading": "Deli to karto",
"url": "Povezava do karte",
"embed": "Vdelana karta",
"extent": "Deli trenutni pogled karte",
"size": "Velikost (širina/višina):",
"facebookTooltip": "Facebook",
"twitterTooltip": "T... | Esri/Viewer | js/nls/sl/ShareDialog.js | JavaScript | apache-2.0 | 489 |
var testUtils = require('./util/testUtils');
var assert = testUtils.assert;
testUtils.setupLocales();
var testCollectionUtils = require('./util/testCollectionUtils');
var sharedFunctionalBlocks = require('@cdo/apps/sharedFunctionalBlocks');
/**
* Loads blocks into the workspace, then calls
* checkForEmptyContainerB... | rvarshney/code-dot-org | apps/test/feedbackTests.js | JavaScript | apache-2.0 | 25,447 |
'use strict';
require('css/registrations.css');
require('bootstrap');
var $ = require('jquery');
var ko = require('knockout');
var Raven = require('raven-js');
var bootbox = require('bootbox');
var moment = require('moment');
var History = require('exports?History!history');
require('js/koHelpers');
var $osf = req... | DanielSBrown/osf.io | website/static/js/registrationUtils.js | JavaScript | apache-2.0 | 45,503 |
import InlineWorker from 'inline-worker';
export class Recorder {
config = {
bufferLen: 4096,
numChannels: 2,
mimeType: 'audio/wav'
};
recording = false;
callbacks = {
getBuffer: [],
exportWAV: []
};
constructor(source, cfg) {
Object.assign(thi... | Eyra-is/Eyra | Frontend/da-webapp/src/recorderjs/src/recorder.js | JavaScript | apache-2.0 | 8,268 |
/*! jQuery UI - v1.10.4 - 2017-01-22
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,l,h,c,u=e... | zhanggenlove/zhanggenlove.github.io | js/jqueryui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js | JavaScript | apache-2.0 | 980 |
module.exports = {
stylesFolder: '/styles',
sourceFolder: '/src',
distFolder: '/dist',
javascriptFolder: 'js',
stylesheetFolder: 'css',
appName: 'hawkular-ui-components',
bowerLibs: 'libs/',
nodePackages: 'node_modules/',
get stylesheetPath() {
return this.stylesheetFolder + '/[name]' + '.css';
... | hawkular/hawkular-ui-components | application-settings.js | JavaScript | apache-2.0 | 746 |
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'DefaultEndpointsProtocol=https;AccountName=xplat;AccountKey=null';
}
exports.scopes = [[function (nock) {
var result =
nock('https://xplat.table.core.windows.net:443')
.filteringRequestBo... | auth0/azure-storage-node | test/recordings/tableservice-gb-tests.nock.js | JavaScript | apache-2.0 | 8,028 |
/* _TO_SVG_START_ */
fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
/**
* Returns styles-string for svg-export
* @return {String}
*/
getSvgStyles: function() {
var fill = this.fill
? (this.fill.toLive ? 'url(#SVGID_' + this.fill.id + ')' : this.fi... | victzero/activeUI | public/js/fabric.js/src/mixins/object.svg_export.js | JavaScript | apache-2.0 | 3,883 |
var args = arguments[0] || {};
// function goNav(event){
// alert("footer");
// }
/** For footer More options**/
//$.more.addEventListener('click', expandMoreMenu);
function expandMoreMenu(e){
if(expandMoreMenu.__isExecuting) {
return;
}
expandMoreMenu.__isExecuting = true;
if(e.source.mod == 'mor... | geonn/Online-Trader-For-China | app/controllers/_dealer_footer.js | JavaScript | apache-2.0 | 813 |
/**
* 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... | sekikn/ambari | ambari-web/test/controllers/main/admin/highAvailability/hawq/addStandby/step3_controller_test.js | JavaScript | apache-2.0 | 7,503 |
/* Copyright 2001-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* 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
*
*... | sebbASF/infrastructure-puppet | modules/mail_private/files/assets/archives.js | JavaScript | apache-2.0 | 17,049 |
/**
* Make sure that all versions of all required packages are what they oughta be.
*/
/* eslint-disable no-console */
const { resolve } = require("path");
const fs = require("fs");
function auditPackageVersions(dir) {
if (!dir) {
throw new Error("Missing directory!");
}
const problems = [];
const corr... | streamkitchen/streamkitchen | run/audit-package-versions.js | JavaScript | apache-2.0 | 1,674 |
/*
jQuery plugin to add functionality to your forms to add multiple records on single click on the fly using client side javascript
author: Vipul Limbachiya
http://vipulilmbachiya.com
*/
/*
* This program is free software. It comes without any warranty, to the extent permitted by applicable law.
* You can red... | mrinsss/Full-Repo | jae/resource/web_master/js/jquery.multiFieldExtender-2.0.js | JavaScript | apache-2.0 | 8,422 |
var concatCommonOptions = {
separator: '\n'
};
module.exports = function( grunt, options ) {
return {
'base_lib': {
options: concatCommonOptions,
src: options.makePath([
'/jquery/dist/jquery.min.js',
'/jquery-ui/ui/jquery-ui.js',
'/underscore/underscore-min.js'
], options.RESOURCE_PATH.COMPON... | eBaoTech/pinpoint | web/src/grunt/concat.js | JavaScript | apache-2.0 | 11,656 |
import * as consent from '../../../../src/consent';
import '../amp-brightcove';
import {toggleExperiment} from '#experiments';
import {waitFor} from '#testing/helpers/service';
import {createElementWithAttributes} from '#core/dom';
import {parseUrlDeprecated} from '../../../../src/url';
import {CONSENT_POLICY_STATE} fr... | jridgewell/amphtml | extensions/amp-brightcove/1.0/test/test-amp-brightcove.js | JavaScript | apache-2.0 | 6,257 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
/... | xingwu1/azure-sdk-for-node | lib/services/luis/authoring/lib/models/index.js | JavaScript | apache-2.0 | 7,150 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/frontdoorManagement/lib/models/checkNameAvailabilityInput.js | JavaScript | apache-2.0 | 1,616 |
// @flow
import React, { Component } from 'react';
import { connect } from 'react-redux';
import Viva from 'vivagraphjs';
import difference from 'lodash/difference';
import { Motion, spring } from 'react-motion';
import { ListGroup, ListGroupItem } from 'react-bootstrap';
import { push } from 'react-router-redux';
imp... | erlanglab/erlangpl | ui/src/plugins/epl-sup-tree/components/SupTree.js | JavaScript | apache-2.0 | 10,798 |
// Copyright 2012 Google 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 law or agreed to in... | hmrc/accessibility-developer-tools | src/js/Properties.js | JavaScript | apache-2.0 | 36,670 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['bn'] = {
"dir": "ltr",
"editor": "Rich Text Editor",
"common": {
"editorHelp": "Press ALT 0 for help",
"browseServer": "ব্রাউজ স... | tanvirshuvo/abtec | target/ABTeC/resources/assets/ckeditor/lang/bn.js | JavaScript | apache-2.0 | 19,972 |
'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, opt_pr... | yoyocms/YoYoCms.AbpProjectTemplate | src/YoYoCms.AbpProjectTemplate.Web/Scripts/i18n/angular-locale_teo.js | JavaScript | apache-2.0 | 2,799 |
var searchData=
[
['verifyreply',['verifyReply',['../classerpc_1_1_client_manager.html#a4f9ffa06d9ec8896566912db571d71ca',1,'erpc::ClientManager']]]
];
| scottdarch/Noer | FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/middleware/multicore_2.1.0/erpc/doc/eRPC_infrastructure/eRPC/search/functions_10.js | JavaScript | apache-2.0 | 154 |
define([
'../ThirdParty/Uri',
'../ThirdParty/when',
'./BoundingSphere',
'./Cartesian3',
'./Credit',
'./defaultValue',
'./defined',
'./defineProperties',
'./DeveloperError',
'./Event',
'./GeographicTilingScheme',
'./Heightmap... | ggetz/cesium | Source/Core/CesiumTerrainProvider.js | JavaScript | apache-2.0 | 35,091 |
/*global define*/
define([
'../Core/Cartesian3',
'../Core/createGuid',
'../Core/defaultValue',
'../Core/defined',
'../Core/defineProperties',
'../Core/DeveloperError',
'../Core/Event',
'../Core/Matrix3',
'../Core/Matrix4',
'../Co... | OSGeo-live/CesiumWidget | CesiumWidget/static/CesiumWidget/cesium/Source/DataSources/Entity.js | JavaScript | apache-2.0 | 22,828 |
//
// getInspirationalQuoteOfDay.js
//
// created by Liv Erickson on 12/04/18
// Copyright 2018 High Fidelity, Inc.
// Quotes provided by 'They Said So' - https://theysaidso.com/api
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICE... | RebeccaStankus/hifi-content | Marketplace/inspirational-sign/getInspirationalQuoteOfDay.js | JavaScript | apache-2.0 | 1,541 |
// @flow
import Bourne from '@hapi/bourne';
import { jitsiLocalStorage } from '@jitsi/js-utils/jitsi-local-storage';
import { browser } from '../lib-jitsi-meet';
import { parseURLParams } from '../util/parseURLParams';
import logger from './logger';
declare var APP: Object;
declare var config: Object;
/**
* Check... | jitsi/jitsi-meet | react/features/base/jitsi-local-storage/setup.web.js | JavaScript | apache-2.0 | 2,779 |
describe('Handsontable.Dom', () => {
describe('offset', () => {
const $window = $(window);
const $forceScrollbar = $('<div id="forceScrollbar"></div>').css({
position: 'absolute',
height: '4000px',
width: '4000px',
top: 0,
left: 0
});
beforeEach(function() {
$forc... | victorbrodsky/order-lab | orderflex/public/orderassets/AppUserdirectoryBundle/handsontable-6/test/e2e/Dom.spec.js | JavaScript | apache-2.0 | 16,860 |
require('../../modules/es6.object.get-own-property-names');
var $Object = require('../../modules/_core').Object;
module.exports = function getOwnPropertyNames(it) {
return $Object.getOwnPropertyNames(it);
}; | ionutbarau/petstore | petstore-app/src/main/resources/static/node_modules/core-js/library/fn/object/get-own-property-names.js | JavaScript | apache-2.0 | 211 |
const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']);
describe('output tree spec resolves', () => {
it('should resolve runfiles relative', () => {
try {
const json = require(runfiles.resolvePackageRelative('test.json'));
expect(json.foo).toBe('bar');
} catch (_) {
fail(`runfi... | alexeagle/rules_nodejs | packages/jasmine/test/generated_runfiles.spec.js | JavaScript | apache-2.0 | 398 |
/* eslint-disable local/window-property-name */
import {tryResolve} from '#core/data-structures/promise';
import {isFiniteNumber} from '#core/types';
import {once} from '#core/types/function';
import {dict} from '#core/types/object';
import {tryParseJson} from '#core/types/object/json';
import {getData, listen} from ... | jridgewell/amphtml | src/video-iframe-integration.js | JavaScript | apache-2.0 | 11,439 |
define(function(require, exports, module) {
exports.run = function() {
var $message = $("#page-message-container");
var gotoUrl = $message.data('goto');
var duration = $message.data('duration');
if (duration > 0 && gotoUrl) {
setTimeout(function() {
window.location.href... | 18826252059/im | web/bundles/topxiaweb/js/controller/default/message.js | JavaScript | apache-2.0 | 368 |
/* Copyright IBM Corp. 2014 All Rights Reserved */
var UI = require('ui');
var Vector2 = require('vector2');
var config = require('./config');
// Placeholders for elements we'll want to access later
var mainWindow;
var headerText;
var dateTimeText;
var geolocationText;
var addressHeader;
var ... | aerwin/bluemix-where-pebble | src/location-view.js | JavaScript | apache-2.0 | 5,472 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | AuxMon/azure-sdk-for-node | lib/services/search/lib/service/models/dictionaryDecompounderTokenFilter.js | JavaScript | apache-2.0 | 3,719 |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
function dialContactNumber(e) {
var phoneno = e.source.phonenum.replace(/[^0-9]/g, "");
var extno = e.source.extension.replac... | suresh-mobilocity/SchoolAtHand | Resources/iphone/alloy/controllers/ContactRow.js | JavaScript | apache-2.0 | 7,373 |
import {buildUrl} from '#ads/google/a4a/shared/url-builder';
import {Services} from '#service';
/**
* @implements {./ad-network-config.AdNetworkConfigDef}
*/
export class WunderkindNetworkConfig {
/**
* @param {!Element} autoAmpAdsElement
*/
constructor(autoAmpAdsElement) {
this.autoAmpAdsElement_ = a... | danielrozenberg/amphtml | extensions/amp-auto-ads/0.1/wunderkind-network-config.js | JavaScript | apache-2.0 | 1,679 |
/*
* Copyright 2015 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | EclairJS/eclairjs | examples/ml/polynomialexpansion.js | JavaScript | apache-2.0 | 2,038 |
'use strict';
var should = require('should');
var when = require('when');
var seedData = require('../config/seedData.js');
var userService = require('./user.service.js');
describe('User service methods', function () {
var databaseUsers;
beforeEach(function (done) {
// clear and repopulate database... | makeandbuild/Courier | server/service/user.service.spec.js | JavaScript | apache-2.0 | 5,242 |
/*
* Copyright 2014 Google 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 law or agreed to... | patricmutwiri/mod_pagespeed | pagespeed/opt/mobilize/xhr.js | JavaScript | apache-2.0 | 8,871 |
'use strict';
angular.module('courierApp')
.controller('MainCtrl', function ($scope, $http, socket, $location, $filter, $routeParams) {
$scope.awesomeThings = [];
$http.get('/api/beacons').success(function(beacons) {
console.log(beacons);
$scope.beacons = beacons;
socket.syncUpdates('beaco... | makeandbuild/Courier | client/app/scripts/main.controller.js | JavaScript | apache-2.0 | 3,168 |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: 'bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948',
managementCertificate: {
key: '... | alexlau811/azure-xplat-cli | test/recordings/arm-network-subnet-tests/arm_network_vnet_subnet_list_should_display_all_subnets_from_vnet.nock.js | JavaScript | apache-2.0 | 4,081 |
/a/lib/tsc.js -p plugin-one --listFiles
//// [/user/username/projects/myproject/plugin-two/index.d.ts]
declare const _default: {
features: {
featureOne: {
actions: {
featureOne: {
(payload: {
name: string;
orde... | nojvek/TypeScript | tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js | JavaScript | apache-2.0 | 9,752 |
/*
* Minio Cloud Storage (C) 2018 Minio, 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 law... | abperiasamy/minio | browser/app/js/objects/__tests__/reducer.test.js | JavaScript | apache-2.0 | 4,672 |
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
/* global json */
var midas = midas || {};
midas.assetstore = midas.assetstore || {};
$('#moveBitstreamsConfirm').click(function () {
'use strict';
$(this).attr('disabled', 'disabled');
var params = {
srcAssetstoreId: ... | jcfr/Midas | core/public/js/assetstore/assetstore.movedialog.js | JavaScript | apache-2.0 | 859 |
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for a positionable UI element.
*/
'use strict';
/**
* The interface for a positionable UI element.
* @namespace Blockly.IPositionable
*/
goog.module('Blockly.IPositionable');
/* eslint-disa... | rachel-fenichel/blockly | core/interfaces/i_positionable.js | JavaScript | apache-2.0 | 1,412 |
// This file was automatically generated. Do not modify.
'use strict';
Blockly.Msg["ADD_COMMENT"] = "Tefsir cı ke";
Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; // untranslated
Blockly.Msg["CHANGE_VALUE_TITLE"] = "Erci b... | rachel-fenichel/blockly | msg/js/diq.js | JavaScript | apache-2.0 | 34,812 |
/**
* Copyright 2015 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | avimehta/amphtml | extensions/amp-audio/0.1/amp-audio.js | JavaScript | apache-2.0 | 2,207 |
/*
Copyright 2012 Twitter, 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 law or agreed to in writing, software
distr... | tim777z/ambrose | common/src/main/resources/com/twitter/ambrose/server/web/js/modules/ambrose/view/graph-edge-popover.js | JavaScript | apache-2.0 | 6,689 |
// Karma configuration
module.exports = function(config) {
var configuration = {
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: 'siteservice/website',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapt... | GlenDC/zerodisk | vendor/github.com/itsyouonline/identityserver/karma.conf.js | JavaScript | apache-2.0 | 5,571 |
Geolocation = (function() {
var get = function(element) {
var missing = function() {element.innerHTML = "MISSING.";};
var error = function() {element.innerHTML = "ERROR!"; };
if (!("geolocation" in navigator)) {
return missing();
}
navigator.geolocation.getCurrentPosition(function(pos... | rm-training/advanced-js | www/apis/geolocation/geolocation.js | JavaScript | bsd-2-clause | 775 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const nsIX509Cert = Components.interfaces.nsIX509Cert;
const nsX509CertDB = "@mozilla.org/security/x509certdb;1";
... | GaloisInc/hacrypto | src/C++/Mozilla/old_snapshots/manager/pki/resources/content/editcerts.js | JavaScript | bsd-3-clause | 4,653 |
// Load modules
var Util = require('util');
var Stream = require('stream');
var Fs = require('fs');
var Zlib = require('zlib');
var Lab = require('lab');
var Shot = require('../lib');
var Code = require('code');
// Declare internals
var internals = {};
// Test shortcuts
var lab = exports.lab = Lab.script();
var d... | danielb2/shot | test/index.js | JavaScript | bsd-3-clause | 17,706 |
/*
* nyroModal - jQuery Plugin
* http://nyromodal.nyrodev.com
*
* Copyright (c) 2008 Cedric Nirousset (nyrodev.com)
* Licensed under the MIT license
*
* $Date: 2009-08-14 (Fri, 14 Aug 2009) $
* $version: 1.5.5
*/
jQuery(function($) {
// -------------------------------------------------------
//... | icomms/wqmanager | apps/domain/static/javascripts/nyroModal/js/jquery.nyroModal-1.5.5.js | JavaScript | bsd-3-clause | 53,145 |
/*eslint-env mocha*/
/*global BOOMR_test,assert*/
describe("e2e/00-basic/12-addvar", function() {
var tf = BOOMR.plugins.TestFramework;
var t = BOOMR_test;
function getBeaconDataByName(name, url) {
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)");
var results = regex.exec(url);
if (!results) {
... | lognormal/boomerang | tests/page-templates/00-basic/12-addvar.js | JavaScript | bsd-3-clause | 8,783 |
var searchData=
[
['eliminationtreetester',['EliminationTreeTester',['../a00059.html#afb1e378ea19d4d4de1a201e467e0699d',1,'gtsam::EliminationTree']]]
];
| malcolmreynolds/GTSAM | doc/html/search/related_3a.js | JavaScript | bsd-3-clause | 155 |
function wpf_preformatter_batch_request(reset, iteration, num) {
iteration++;
var params = {action:'wpf_preformatter_batch', security:wpf_nonce};
if (reset)
params['reset'] = 1;
jQuery.ajax({
type: 'POST',
url: ajaxurl,
async: true,
data... | ludoo/wpkit | attic/ngfrontman/wp_frontman/wp-plugins/wp_frontman/js/wpf_preformatter.js | JavaScript | bsd-3-clause | 2,564 |
'use strict';
const Bell = require('../..');
const Code = require('@hapi/code');
const Hapi = require('@hapi/hapi');
const Hoek = require('@hapi/hoek');
const Lab = require('@hapi/lab');
const Mock = require('../mock');
const internals = {};
const { describe, it } = exports.lab = Lab.script();
const expect = Code... | lloydbenson/bell | test/providers/auth0.js | JavaScript | bsd-3-clause | 2,613 |
/**
* @license AngularJS v1.5.5
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function (window, angular) {
'use strict';
/**
* @ngdoc module
* @name ngRoute
* @description
*
* # ngRoute
*
* The `ngRoute` module provides routing and deeplinking servi... | mudunuriRaju/tlr-live | tollbackend/web/js/angular-1.5.5/angular-route.js | JavaScript | bsd-3-clause | 45,546 |
Ext.define('KitchenSink.view.charts.line.RealTime', {
extend: 'Ext.tab.Panel',
xtype: 'line-real-time',
controller: 'line-real-time',
// <example>
// Content between example tags is omitted from code preview.
otherContent: [{
type: 'Controller',
path: 'classic/samples/v... | sqlwang/DeviceManagementSystem | backend/webapp/ext/examples/kitchensink/classic/samples/view/charts/line/RealTime.js | JavaScript | bsd-3-clause | 4,092 |
"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 Handlebars = require("handlebars");
var fs_1... | MengjiaoH/UpSet-Phovea | node_modules/typedoc/dist/lib/output/utils/resources/templates.js | JavaScript | bsd-3-clause | 2,566 |
/**
* Collection of various utility functions.
*
*
* <i>Copyright (c) 2014 ITSA - https://github.com/itsa</i>
* New BSD License - http://choosealicense.com/licenses/bsd-3-clause/
*
* @module utils
* @class Utils
* @static
*/
"use strict";
require('polyfill/polyfill-base.js');
var NAME = '[utils-timers]: ',... | ItsAsbreuk/utils | lib/timers.js | JavaScript | bsd-3-clause | 4,777 |
/*
* Package: linker.js
*
* Namespace: amigo.linker
*
* Generic AmiGO link generator, fed by <amigo.data.server> for local
* links and <amigo.data.xrefs> for non-local links.
*
* NOTE: A lot of this is lifted from the (defunct) amigo2.js
* package. However, the future should be here.
*/
var us = require(... | geneontology/amigo | javascript/lib/amigo/linker.js | JavaScript | bsd-3-clause | 8,232 |
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --strong-mode --allow-natives-syntax
// Flags: --harmony-arrow-functions --harmony-rest-parameters
// Flags: --harmony-destructuring
'use str... | yury-s/v8-inspector | Source/chrome/v8/test/mjsunit/strong/literals.js | JavaScript | bsd-3-clause | 11,160 |
/**
* Static HTTP Server
*/
// modules
var static = require( 'node-static' ),
port = (process.env.PORT | 0) || 4321,
http = require( 'http' );
// config
var file = new static.Server( './pub', {
cache: 3600,
gzip: true
} );
// serve
http.createServer( function ( request, response ) {
request.add... | ground-hogs/witty-inputs | app.js | JavaScript | mit | 429 |
import React from 'react'
import { render } from 'react-dom'
import { browserHistory, Router, Route, Link } from 'react-router'
import './app.css'
const App = React.createClass({
contextTypes: {
router: React.PropTypes.object.isRequired
},
getInitialState() {
return {
tacos: [
{ name: 'duc... | malte-wessel/react-router | examples/passing-props-to-children/app.js | JavaScript | mit | 1,801 |
//
//Copyright (c) 2014, Priologic Software 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:
//
// * Redistributions of source code must retain the above copyright notice,
// this lis... | krunnal/rtcServer | static/js/demo_instant_messaging_rooms.js | JavaScript | mit | 13,540 |