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 |
|---|---|---|---|---|---|
// JavaScript Document
var url= "../../php/sigesp_srh_a_llamada_atencion.php";
var metodo='get';
var params = 'operacion';
var img="<img src=\"../../../public/imagenes/progress.gif\"> ";
function ue_cancelar()
{
ue_nuevo();
scrollTo(0,0);
}
function ue_nuevo_codigo()
{
function onNu... | omerta/huayra | srh/pages/js/sigesp_srh_js_llamada_atencion.js | JavaScript | gpl-2.0 | 8,108 |
'use strict';
/* Services */
angular.module('themortgagemeterbestmortgagesservice',['ngResource']).factory('TheMortgageMeterBestMortgages', function($resource){
return $resource('/rest/best_mortgages/:n_results/:mortgage_type/:eligibility/:institution_code/:ltv/:initial_period', {}, {
query: {method:'GET', params:... | 13916688528/themort | website/angularjs/app/js/services.js | JavaScript | gpl-2.0 | 1,282 |
/*! asn1-1.0.9.js (c) 2013-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
*/
/*
* asn1.js - ASN.1 DER encoder classes
*
* Copyright (c) 2013-2015 Kenji Urushima (kenji.urushima@gmail.com)
*
* This software is licensed under the terms of the MIT License.
* http://kjur.github.com/jsrsasign/license
*
* T... | Fl0r14n/vehtrack-simulator | www/lib/jsrsasign/asn1-1.0.js | JavaScript | gpl-2.0 | 52,497 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'smiley', 'hr', {
options: 'Opcije smješka',
title: 'Ubaci smješka',
toolbar: 'Smješko'
} );
| darrylri/vintagebmw | libraries/smiley/lang/hr.js | JavaScript | gpl-2.0 | 268 |
export { ChangeDeviceMode } from './change-device-mode';
export { Close } from './close';
export { Exit } from './exit';
export { Open } from './open';
export { Publish } from './publish';
export { Save } from './save';
export { Toggle } from './toggle';
| pojome/elementor | assets/dev/js/editor/regions/panel/commands/index.js | JavaScript | gpl-3.0 | 255 |
/*
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versio... | chiwanpark/flamingo2 | flamingo2-web/src/main/webapp/resources/app/view/monitoring/namenode/NamenodeSummary.js | JavaScript | gpl-3.0 | 3,480 |
'use strict';
var querystring = require('querystring');
var hasOwn = {}.hasOwnProperty;
var toString = {}.toString;
var utils = module.exports = {
isObject: function(o) {
return toString.call(o) === '[object Object]';
},
isArrayObject: function(o) {
return toString.call(o) === '[object Array]';
},
... | together-web-pj/together-web-pj | node_modules/shippo/lib/utils.js | JavaScript | gpl-3.0 | 2,669 |
/* YUI 3.9.0pr1 (build 202) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
YUI.add('dom-size', function(Y) {
Y.mix(Y.DOM, {
/**
* Sets the width of the element to the given size, regardless
* of box model, border, padding, etc.
* @method setWidth
* @param {HTMLElement} element The... | rochestb/Adventurly | node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/dom-size/dom-size.js | JavaScript | gpl-3.0 | 1,306 |
/*globals Backbone, jQuery, Modernizr, Handlebars */
var Planbox = Planbox || {};
(function(NS, $) {
'use strict';
NS.Plugin = function(app) {
this.app = app;
this.initialize.apply(this, arguments);
return this;
};
_.extend(NS.Plugin.prototype, Backbone.Events, {
initialize: function() {}
... | MarcosBerger/planbox | src/planbox_ui/static/scripts/plugins.js | JavaScript | gpl-3.0 | 390 |
/**
* Application-spec
*
* @author tobiasb
* @since 2016
*/
describe('load the application', function () {
// beforeEach(function(done) {
// cv.Config.configSuffix = "demo";
// cv.Config.testMode = false;
// qx.event.message.Bus.subscribe("setup.dom.finished", function() {
// console.log("app... | jensgulow/CometVisu | source/test/karma/Application-spec.js | JavaScript | gpl-3.0 | 601 |
function getQueue(term) {
term.echo("");
term.echo("[[;"+ theme['quickIdColor'] +";]Currently Playing:] [[;"+ theme['trackIdColor'] +";]" + currentTrack['trackId'] + "] - [[;"+ theme['artistIdColor'] +";]" + currentTrack['trackArtist'] + "] - " + currentTrack['trackName']);
term.echo("=== " + queue.length + " ... | mridlen/encoderlogic | modules/oldcommands/getQueue.js | JavaScript | gpl-3.0 | 452 |
initSidebarItems({"constant":[["PERLD",""],["PERLS",""],["PERLW",""],["UNICODE_CLASSES",""]]}); | servo/doc.servo.org | regex_syntax/unicode/regex/sidebar-items.js | JavaScript | mpl-2.0 | 95 |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... | wlwwt/shopware | themes/Backend/ExtJs/backend/category/view/main/duplicate_settings.js | JavaScript | agpl-3.0 | 3,654 |
/**
* 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... | ericlindley-g/amphtml | extensions/amp-viz-vega/0.1/amp-viz-vega.js | JavaScript | apache-2.0 | 7,417 |
var args = arguments[0] || {};
var p_id = args.p_id || '';
Ti.App.Properties.setString('current_pid', p_id);
Ti.App.Properties.setString('module', 'dealer_poslist');
/**Experiment**/
Ti.App.fireEvent("getSession", {session:Ti.App.Properties.getString("session")});
/**End**/
$.posdetailview.addEventListener('load', ... | geonn/Online-Trader-For-China | app/controllers/staff_posdetail.js | JavaScript | apache-2.0 | 634 |
/**
* Copyright 2018 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... | engtat/amphtml | extensions/amp-story/0.1/page-scaling.js | JavaScript | apache-2.0 | 12,795 |
/**
* @license
* Copyright 2016 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 ... | brightcove/shaka-player | test/cast/cast_proxy_unit.js | JavaScript | apache-2.0 | 26,228 |
module.exports = function (grunt) {
'use strict';
var distFiles = [
// Main bundle with all the styles on the library
{
expand: true,
cwd: 'src/styles/',
src: ['britecharts.scss'],
dest: './dist/css',
ext: '... | jenjwong/britecharts | src/tasks/sass.js | JavaScript | apache-2.0 | 1,437 |
var getCoreRunner = require('./../getCoreRunner');
var cacheGenerator = require('./../CacheGenerator');
var toTree = require('falcor-path-utils').toTree;
var jsonGraph = require('falcor-json-graph');
var ref = jsonGraph.ref;
var error = jsonGraph.error;
var _ = require('lodash');
var __key = require('./../../lib/intern... | darioajr/falcor | test/get-core/errors.spec.js | JavaScript | apache-2.0 | 3,360 |
'use strict';
goog.provide('grrUi.forms.module');
goog.require('grrUi.core.module');
goog.require('grrUi.core.semanticRegistry.SemanticRegistryService');
goog.require('grrUi.forms.datetimeFormDirective.DatetimeFormDirective');
goog.require('grrUi.forms.dictFormDirective.DictFormDirective');
goog.require('grrUi.forms.... | ahojjati/grr | gui/static/angular-components/forms/forms.js | JavaScript | apache-2.0 | 5,796 |
// Copyright 2011, 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... | bob6664569/google-api-adwords-js | js/adwordsapi/examples/google/ads/adwords/v201109/GetOperationCount.js | JavaScript | apache-2.0 | 4,798 |
require("./env");
var vows = require('vows');
var assert = require('assert');
var suite = vows.describe('Base chart');
suite.addBatch({
'renderlet': {
topic: function () {
return dc.baseChart({}).renderlet(function (chart) {
});
},
'should be set': function (chart... | wheercool/dc.js | test/base-chart-test.js | JavaScript | apache-2.0 | 4,838 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | sospartan/weex | android/playground/app/src/main/assets/component/countdown-demo.js | JavaScript | apache-2.0 | 33,516 |
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-dataview.prototype.setfloat64
description: >
DataView.prototype.setFloat64.name is "setFloat64".
info: |
DataView.prototype.setFloat64 ( byteOffset, value [ , littleEndia... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/DataView/prototype/setFloat64/name.js | JavaScript | bsd-2-clause | 1,010 |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 21.1.3.7
description: >
Returns false if searchString is not found.
info: |
21.1.3.7 String.prototype.includes ( searchString [ , position ] )
...
11. Let len b... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/String/prototype/includes/searchstring-not-found-without-position.js | JavaScript | bsd-2-clause | 1,015 |
var test = require("test");
var main = require("dependency/main");
test.assert(main.main === true, "can load module in script injection package");
test.print("DONE", "info");
| kriskowal/mr | test/script-injection/program.js | JavaScript | bsd-3-clause | 178 |
// Copyright 2020 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.
function f() {
for (var i = 0; i < 100000; i++) {
var a = arguments[0] + 2;
var b = arguments[1] + 2;
var c = a + i + 5;
var d = c + 3... | youtube/cobalt | third_party/v8/test/mjsunit/regress/regress-crbug-1137586.js | JavaScript | bsd-3-clause | 372 |
var $ = require('jquery-cdb-v3');
var cdb = require('cartodb.js-v3');
/**
* Public vis (map itself)
*
*/
module.exports = cdb.core.View.extend({
initialize: function() {
this._createVis();
},
_manageError: function(err, layer) {
if(layer && layer.get('type') === 'torque') {
this.trigger('ma... | bloomberg/cartodb | lib/assets/javascripts/cartodb/public_map/public_map_view.js | JavaScript | bsd-3-clause | 2,124 |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('... | benjaminbecktg/echarts | theme/dark.js | JavaScript | bsd-3-clause | 2,106 |
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
"use strict";
var obj = {
"length": 6,
"1": "A",
"3": "B",
"5": "C"
};
obj[Symbol.isConcatSpreadable] = true;
var obj2 = { length: 3, "0": "0", ... | youtube/cobalt | third_party/v8/test/mjsunit/es6/array-concat-arraylike.js | JavaScript | bsd-3-clause | 557 |
/* global server */
import Ember from 'ember';
import {module, test} from 'qunit';
import startApp from '../helpers/start-app';
var application;
module('Acceptance: SSH keys', {
beforeEach: function() {
application = startApp();
server.create('host_app', { id: 'current' });
},
afterEach: function() {
... | tedconf/front_end_builds | admin/tests/acceptance/adding-ssh-key-test.js | JavaScript | mit | 3,051 |
var _ = require("lodash");
var Msg = require("../../models/msg");
module.exports = function(irc, network) {
var client = this;
irc.on("nick", function(data) {
var self = false;
var nick = data["new"];
if (nick == irc.me) {
var lobby = network.channels[0];
var msg = new Msg({
text: "You're now known a... | togusafish/floogulinc-_-Shuo | src/plugins/irc-events/nick.js | JavaScript | mit | 1,027 |
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | kolipka/brackets | src/extensions/samples/LocalizationExample/main.js | JavaScript | mit | 3,141 |
import _extends from 'babel-runtime/helpers/extends';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/i... | yhx0634/foodshopfront | node_modules/antd/es/dropdown/dropdown-button.js | JavaScript | mit | 3,456 |
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/BaseTypes/Date.js
* @requires OpenLayers... | flavour/helios | static/scripts/gis/openlayers/lib/OpenLayers/Format/KML.js | JavaScript | mit | 52,329 |
angular.module('oauth.digitalOcean', ['oauth.utils'])
.factory('$digitalOcean', digitalOcean);
function digitalOcean($q, $http, $cordovaOauthUtility) {
return { signin: oauthDigitalOcean };
/*
* Sign into the Digital Ocean service
*
* @param string clientId
* @param string clientSecret
* @p... | volontario/volontario-client | www/lib/ng-cordova-oauth/src/oauth.digitalOcean.js | JavaScript | mit | 2,374 |
(function (window, $, undefined) {
'use strict';
var FlyByWire;
FlyByWire = function Example(cockpit) {
console.log('Loading FlyByWire plugin in the browser.');
// Instance variables
this.cockpit = cockpit;
this.flybywireControlActive = false;
this.originalsettings = {};
this.leftx = 0;
... | BenjaminTsai/openrov-cockpit | src/plugins/flybywire/public/js/flybywire.js | JavaScript | mit | 2,926 |
var parent = require('../../actual/instance/every');
module.exports = parent;
| zloirock/core-js | packages/core-js/features/instance/every.js | JavaScript | mit | 79 |
(function ($, global) {
var Sidebar = function (conf) {
this.conf = $.extend({
// Collapsed class
collapsedClass: 'is-collapsed',
// Storage key
storageKey: '_sassdoc_sidebar_index',
// Index attribute
indexAttribute: 'data-slug',
// Toggle button
toggleBtn: '.... | jaredhowland/rhythm | src/sassdoc/assets/js/sidebar.js | JavaScript | mit | 3,594 |
// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Some binary properties used to be part of the Unicode property escapes
proposal but were later removed. They must not be supported.
esid: sec-sta... | mathiasbynens/unicode-property-escapes-tests | basic-tests/unsupported-binary-property-Expands_On_NFKC.js | JavaScript | mit | 496 |
var tape = require("tape"),
Canvas = require("canvas"),
d3 = require("d3"),
path = require("path"),
fs = require("fs"),
initializeCanvas = require("../audiogram/initialize-canvas.js"),
drawFrames = require("../audiogram/draw-frames.js");
require("mkdirp").sync(path.join(__dirname, "tmp", "frame... | Derskerm/audiogram | test/frame-test.js | JavaScript | mit | 4,420 |
'use strict';
/**
* UserLogin.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
schema: true,
attributes: {
// User IP-address
ip: {
type: 'string',
... | funyx/www.dizymart.com | backend/api/models/UserLogin.js | JavaScript | mit | 1,494 |
// Copyright (c) 2018, Frappe Technologies and contributors
// For license information, please see license.txt
frappe.ui.form.on('Post Comment', {
refresh: function() {
}
});
| vjFaLk/frappe | frappe/social/doctype/post_comment/post_comment.js | JavaScript | mit | 179 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is admitted,
Additive/Substract Operator(A/SO) in combination with I/DO separ... | PiotrDabkowski/Js2Py | tests/test_cases/language/asi/S7.9_A5.8_T1.js | JavaScript | mit | 1,219 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... | myfintech/material-ui | svg-icons/notification/tap-and-play.js | JavaScript | mit | 1,068 |
var title = "Carry That Weight II";
var desc = "Return the Ancestral Paperweight to the Secret Juju Bandit Hideout";
var offer = "You found the Ancestral Paperweight!<split butt_txt=\"Yay!\" \/>You'll need to return that to the Juju Bandits' Hideout. Ready?";
var completion = "Ah, the Paperweight!<split butt_txt=\"Will... | Mexiswow/eleven-gsjs | quests/help_juju_bandits_2.js | JavaScript | mit | 2,940 |
var keystone = require('keystone'),
moment = require('moment'),
_ = require('underscore'),
Types = keystone.Field.Types;
/**
* Meetups Model
* =============
*/
var Meetup = new keystone.List('Meetup', {
track: true,
autokey: { path: 'key', from: 'name', unique: true }
});
Meetup.add({
name: { type: String, ... | aitnasser/sydjs-site | models/Meetup.js | JavaScript | mit | 3,894 |
export class UISelectList {
constructor(options) {
if (!options || !options.element) return
var self = this
let settings = {
element: undefined,
selected: undefined,
name: $.uuid(),
callback: $.noop,
state: undefined,
render: undefined,
value: undefined,
}
... | chocolatechip-ui/chocolatechipui | reference-apps/Vino/dev/src/widgets/ui-select-list.js | JavaScript | mit | 3,152 |
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const http2 = require('http2');
// Regression test for https://github.com/nodejs/node/issues/27416.
// Check that received data is accounted for correctly in the maxSessionMemory
// mechanism.
const bodyLength =... | enclose-io/compiler | lts/test/parallel/test-http2-max-session-memory-leak.js | JavaScript | mit | 1,145 |
Clazz.declarePackage ("org.eclipse.core.runtime.adaptor");
Clazz.load (["java.lang.Boolean", "java.util.Properties"], "org.eclipse.core.runtime.adaptor.FileManager", ["java.io.File", "$.IOException", "java.lang.Thread", "org.eclipse.core.runtime.adaptor.EclipseAdaptorMsg", "org.eclipse.core.runtime.internal.adaptor.Ba... | backwind1233/mayloon-portingtool | sources/net.sf.j2s.lib/j2slib/org/eclipse/core/runtime/adaptor/FileManager.js | JavaScript | epl-1.0 | 15,360 |
Clazz.declarePackage ("org.eclipse.core.runtime.preferences");
Clazz.load (["java.util.EventObject", "org.osgi.service.prefs.Preferences", "java.lang.IllegalArgumentException"], "org.eclipse.core.runtime.preferences.IEclipsePreferences", null, function () {
Clazz.declareInterface (org.eclipse.core.runtime.preferences,... | royleexhFake/mayloon-portingtool | sources/net.sf.j2s.lib/j2slib/org/eclipse/core/runtime/preferences/IEclipsePreferences.js | JavaScript | epl-1.0 | 2,195 |
"use strict";
angular.module('fileUpload', [ 'angularFileUpload' ]);
//var uploadUrl = 'http://angular-file-upload-cors-srv.appspot.com/upload';
window.uploadUrl = window.uploadUrl || 'upload';
var MyCtrl = [ '$scope', '$http', '$timeout', '$upload', function($scope, $http, $timeout, $upload) {
$scope.usingFlash ... | FlorianTopf/impex-portal | public/js/bower_components/danialfarid-angular-file-upload/demo/war/js/upload.js | JavaScript | gpl-2.0 | 4,393 |
import { themr } from 'react-css-themr';
import { CHECKBOX } from '../identifiers.js';
import themedRippleFactory from '../ripple';
import { checkboxFactory } from './Checkbox.js';
import checkFactory from './Check.js';
import theme from './theme.scss';
const ThemedCheck = checkFactory(themedRippleFactory({ centered: ... | fonea/velon | themes/frontend/assets/vendor/node_modules/react-toolbox/components/checkbox/index.js | JavaScript | gpl-2.0 | 490 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
*******************************... | flyor/OPMS | static/keditor/plugins/image/image.js | JavaScript | gpl-2.0 | 10,806 |
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file ... | stweil/TYPO3.CMS | typo3/sysext/core/Resources/Public/JavaScript/Event/ThrottleEvent.js | JavaScript | gpl-2.0 | 701 |
/**
* Copyright Intermesh
*
* This file is part of Group-Office. You should have received a copy of the
* Group-Office license along with Group-Office. See the file /LICENSE.TXT
*
* If you have questions write an e-mail to info@intermesh.nl
*
* @version $Id: ViewGroupGrid.js 15395 2013-08-06 10:18:32Z mschering... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/modules/calendar/ViewGroupGrid.js | JavaScript | gpl-3.0 | 1,229 |
GO.billing.DocTemplateDialog = function(config) {
if (!config)
{
config = {};
}
this.buildForm();
var focusFirstField = function() {
this.propertiesPanel.items.items[0].focus();
};
config.maximizable = true;
config.layout = 'fit';
config.modal = false;
config.resizable = false;
config.width = 500;
c... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/modules/billing/DocTemplateDialog.js | JavaScript | gpl-3.0 | 4,043 |
"use strict";
tutao.provide('tutao.entity.tutanota.PasswordMessagingReturn');
/**
* @constructor
* @param {Object=} data The json data to store in this entity.
*/
tutao.entity.tutanota.PasswordMessagingReturn = function(data) {
if (data) {
this.updateData(data);
} else {
this.__format = "0";
this._... | msoftware/tutanota-1 | web/js/generated/entity/tutanota/PasswordMessagingReturn.js | JavaScript | gpl-3.0 | 3,008 |
var base = require('settings/teams/current-teams');
Vue.component('spark-current-teams', {
mixins: [base]
});
| expoteca/expoteca.com | spark/install-stubs/resources/assets/js/spark-components/settings/teams/current-teams.js | JavaScript | gpl-3.0 | 115 |
import angular from 'angular';
angular.module('selectedFilesService', []).
// Tracks a list of selected files; intended to be used by the Transfer controller
// to share the list of files selected in the user interface.
service('SelectedFiles', [function() {
return {
// Adds a single `file` object to the list o... | artefactual-labs/appraisal-tab | app/services/selected.service.js | JavaScript | agpl-3.0 | 1,484 |
/* ***** BEGIN LICENSE BLOCK *****
*
* Copyright (C) 1997, 1998 Netscape Communications Corporation.
* Copyright (C) 2010 Apple Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundati... | youfoh/webkit-efl | LayoutTests/java/lc3/JSObject/ToJSObject-001.js | JavaScript | lgpl-2.1 | 5,616 |
/**
* Copyright 2015 The Incremental DOM 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 ... | loverajoel/incremental-dom | test/functional/virtual_attributes.js | JavaScript | apache-2.0 | 2,199 |
/**
* Sitespeed.io - How speedy is your site? (http://www.sitespeed.io)
* Copyright (c) 2014, Peter Hedenskog, Tobias Lidskog
* and other contributors
* Released under the Apache 2.0 License
*/
'use strict';
var util = require('../util/util'),
yslowUtil = require('../util/yslowUtil');
var assets = {};
export... | mattdcamp/sitespeed.io | lib/collectors/assets.js | JavaScript | apache-2.0 | 1,210 |
/*******************************************************************************
* Copyright (C) 2012 eBay 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/lic... | daniellee/asimov-deploy | app/auth/auth.js | JavaScript | apache-2.0 | 2,052 |
var express = require("express");
var open = require('open');
var app = express();
app.use(express.cookieParser());
app.use(express.bodyParser());
app.use(express.session({secret: '1234567890QWERTY'}));
app.get("/", checkAuth, function(req, res) {
res.redirect("/index.html");
});
app.get('/data/customer:id.json... | sabob/jock | spar-examples/server.js | JavaScript | apache-2.0 | 1,727 |
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.yaddaumd=e():"undefined"!=typeof global?global.yaddaumd=e():"undefined"!=typeof self&&(self.yaddaumd=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(... | thr0w/yadda | dist/yadda-umd-0.10.8.js | JavaScript | apache-2.0 | 107,939 |
/**
* @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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
function plural(n) {
va... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/@angular/common/locales/yi.js | JavaScript | apache-2.0 | 2,126 |
/*
* Copyright 2012 Amadeus s.a.s.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | lsimone/ariatemplates | test/aria/storage/userData/Serialize.js | JavaScript | apache-2.0 | 1,487 |
var TFS = Titanium.Filesystem;
Titanium.AppCreator = {
osx: function(runtime,destination,name,appid,install)
{
var src = TFS.getFile(destination,name+'.app');
src.createDirectory(true);
var contents = TFS.getFile(src,'Contents');
contents.createDirectory(true);
var resources = TFS.getFile(contents,'Resou... | olmstead/Carbon | dist/osx/Carbon.app/Contents/Resources/js/app.js | JavaScript | apache-2.0 | 5,339 |
/**
* This is just used to update the translation keys from the code until a grunt
* task for i18next-parser becomes available.
*
* If not working on updating translations, this can be ignored.
*/
"use strict";
var gulp = require( 'gulp' );
var i18next = require( 'i18next-parser' );
gulp.task( 'default', functi... | kevinmwangi/enketo-express | locales/gulpfile.js | JavaScript | apache-2.0 | 1,057 |
MathJax.Extension["semantic-enrich"] = {
version: "1.6.0",
config: MathJax.Hub.CombineConfig("semantic-enrich", {
disabled: !1
}),
dependents: [],
running: !1,
mstyleLookup: {
mi: [ "mathvariant" ],
mo: [ "mathvariant", "accent", "largeop", "form", "fence", "separator", "... | jgraph/drawio | src/main/webapp/math/extensions/a11y/semantic-enrich.js | JavaScript | apache-2.0 | 4,237 |
export default function baz() {}
| dhoward/react-codemod | test/fixtures/import-stubs/baz.js | JavaScript | bsd-3-clause | 33 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
/**
* Constants for interacting with the directory tree on the LHS of Files.
* When we are not in guest mode, we fill Google Drive with t... | SaschaMester/delicium | ui/file_manager/integration_tests/file_manager/keyboard_operations.js | JavaScript | bsd-3-clause | 11,170 |
/**
* emojiarea - A rich textarea control that supports emojis, WYSIWYG-style.
* Copyright (c) 2012 DIY Co
*
* 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/license... | Abstracter/ProjectX | web/js/jquery.emojiarea.js | JavaScript | mit | 13,077 |
'use strict';
// Copyright 2011 Chris Williams <chris@iterativedesigns.com>
// Require serialport binding from pre-compiled binaries using
// node-pre-gyp, if something fails or package not available fallback
// to regular build from source.
// 3rd Party Dependencies
var debug = require('debug')('serialport');
// s... | pfnegrini/Bailey | server/app/node_modules/serialport/serialport.js | JavaScript | mit | 14,046 |
(function () {
'use strict';
// Shims for older browsers
if ( !Date.now ) {
Date.now = function () { return +new Date(); };
}
if ( !document.createElementNS ) {
document.createElementNS = function ( ns, type ) {
if ( ns !== null && ns !== 'http://www.w3.org/1999/xhtml' ) {
throw 'This browser does n... | parhelium/hasher | web/components/ractive/release/0.2.0/Ractive-legacy.runtime.js | JavaScript | mit | 62,729 |
/* global QUnit */
import { Path } from '../../../../../src/extras/core/Path';
export default QUnit.module( 'Extras', () => {
QUnit.module( 'Core', () => {
QUnit.module( 'Path', () => {
// INHERITANCE
QUnit.todo( "Extending", ( assert ) => {
assert.ok( false, "everything's gonna be alright" );
} ... | greggman/three.js | test/unit/src/extras/core/Path.tests.js | JavaScript | mit | 1,610 |
//
// Advanced transaction with OP_RETURN output
// This transaction will send out an OP_RETURN message onto the blockchain
//
// Copyright 2015, BitGo, Inc. All Rights Reserved.
//
var BitGoJS = require('../src/index.js');
var BitcoinJSLib = require('bitcoinjs-lib');
if (process.argv.length < 6) {
console.log("us... | BhaskarNewase/NodeApp | node_modules/bitgo/example/transactionOPReturnTokenAuth.js | JavaScript | mit | 3,134 |
var express = require('express');
var mbaasApi = require('fh-mbaas-api');
var mbaasExpress = mbaasApi.mbaasExpress();
var app = express();
app.use('/sys', mbaasExpress.sys([]));
app.use('/mbaas', mbaasExpress.mbaas);
app.use(mbaasExpress.fhmiddleware());
app.use('/hello', require('lib/hello.js')());
app.use('/', func... | secondsun/FH-Google-mBaas-Auth | test/server.js | JavaScript | mit | 947 |
import MaterializeInputField from './md-input-field';
import layout from '../templates/components/md-input';
export default MaterializeInputField.extend({
layout: layout,
type: 'text',
didInsertElement() {
this._super(...arguments);
// make sure the label moves when a value is bound.
this._setupLabe... | unmanbearpig/ember-cli-materialize | addon/components/md-input.js | JavaScript | mit | 333 |
import numeral from 'numeral';
export class NumberFormatValueConverter {
toView(value, format) {
if (value === null || value === undefined || isNaN(value)) {
return null;
}
return numeral(value).format(format);
}
}
| jdanyow/aurelia-breeze-northwind | src/resources/number-format.js | JavaScript | mit | 238 |
module.exports={title:"micro:bit",slug:"microbit",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>micro:bit icon</title><path d="M6.857 5.143A6.865 6.865 0 000 12a6.864 6.864 0 006.857 6.857h10.287A6.863 6.863 0 0024 12c0-3.781-3.075-6.857-6.856-6.857zm0 2.744h10.287A4.117 4.117 0 012... | cdnjs/cdnjs | ajax/libs/simple-icons/4.16.0/microbit.min.js | JavaScript | mit | 677 |
if (process.env.NODE_ENV === 'production') {
module.exports = require('./san.js');
} else {
module.exports = require('./san.dev.js');
}
| cdnjs/cdnjs | ajax/libs/san/3.11.1/index.js | JavaScript | mit | 144 |
module.exports={title:"Sennheiser",slug:"sennheiser",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Sennheiser icon</title><path d="M0 3v18h24V3zm13.209 1.659c-1.428.548-2.799 1.757-3.905 4.182-.321.703-.925 2.062-1.2 2.67-2.224 4.882-3.364 5.932-6.72 5.932V4.35H13.15c.184-.011.235.2... | cdnjs/cdnjs | ajax/libs/simple-icons/4.16.0/sennheiser.min.js | JavaScript | mit | 612 |
'use strict';
module.exports = function bcdiv(leftOperand, rightOperand, scale) {
// discuss at: http://locutus.io/php/bcdiv/
// original by: lmeyrick (https://sourceforge.net/projects/bcmath-js/)
// example 1: bcdiv(1, 2)
// returns 1: '0'
// @todo: implement these testcases
var _bc = require('../_h... | mollyklecompte/receipt | sites/all/themes/receiptzen/node_modules/locutus/php/bc/bcdiv.js | JavaScript | gpl-2.0 | 1,013 |
var searchData=
[
['latest_5fframe_5fonly',['LATEST_FRAME_ONLY',['../classmalmo_1_1_agent_host.html#ababdc77d6279d2d18899e6449dfd2d80ae026d134bf4c5ac6fd4f6863f77e864a',1,'malmo::AgentHost']]],
['latest_5fobservation_5fonly',['LATEST_OBSERVATION_ONLY',['../classmalmo_1_1_agent_host.html#abdf1035a7a56e4f100a58c5e4db0... | Yarichi/Proyecto-DASI | Malmo/Documentation/search/enumvalues_2.js | JavaScript | gpl-2.0 | 565 |
/*global define*/
define([
'../Core/Ellipsoid',
'../Core/PolylineVolumeOutlineGeometry'
], function(
Ellipsoid,
PolylineVolumeOutlineGeometry) {
"use strict";
function createPolylineVolumeOutlineGeometry(polylineVolumeOutlineGeometry) {
polylineVolumeOutlineGeometry.... | rbensa01/Cesium-ESIPE-Project-District | projet/cesium/Source/Workers/createPolylineVolumeOutlineGeometry.js | JavaScript | gpl-3.0 | 543 |
"use strict";
tutao.provide('tutao.tutanota.ctrl.AdminUserAddViewModel');
/**
* Shows a list of all users of a company
* @constructor
*/
tutao.tutanota.ctrl.AdminUserAddViewModel = function(adminUserListViewModel) {
tutao.util.FunctionUtils.bindPrototypeMethodsToThis(this);
/**
* @type {tutao.tutanota.ct... | msoftware/tutanota-1 | web/js/ctrl/AdminUserAddViewModel.js | JavaScript | gpl-3.0 | 5,544 |
var module = angular.module("utopia-card-ship-class", []);
module.directive( "cardShipClass", function() {
return {
scope: {
shipClass: "=",
ship: "=",
fleet: "="
},
templateUrl: "card-ship-class.html",
controller: [ "$scope", function($scope) {
$scope.abs = Math.abs;
$scope.speeds ... | KFNEXUS/KFNEXUS.github.io | src/js/common/utopia-card-ship-class.js | JavaScript | lgpl-3.0 | 842 |
//>>built
define(
"dijit/form/nls/ar/Textarea", //begin v1.x content
({
iframeEditTitle: 'مساحة التحرير', // primary title for editable IFRAME, for screen readers when focus is in the editing area
iframeFocusTitle: 'اطار مساحة التحرير' // secondary title for editable IFRAME when focus is on outer container
... | cfxram/grails-dojo | web-app/js/dojo/1.7.2/dijit/form/nls/ar/Textarea.js | JavaScript | apache-2.0 | 497 |
/*
* 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 may ... | MikeThomsen/nifi | nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main/webpack.alias.js | JavaScript | apache-2.0 | 1,577 |
function (doc) {
if (doc.doc_type === "RegistrationRequest") {
emit(doc.new_user_username, null);
}
} | gmimano/commcaretest | corehq/apps/registration/_design/views/requests_by_username/map.js | JavaScript | bsd-3-clause | 117 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* Returns the height of the intersection of two rectangles.
* @param {Object} rect1 the first rect
* @param {Object} rect2 the second rect
* @retu... | Chilledheart/chromium | chrome/browser/resources/pdf/viewport.js | JavaScript | bsd-3-clause | 19,861 |
import { setEmberArray, isEmberArray } from '..';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';
moduleFor(
'@ember/-internals/utils Trackable Object',
class extends AbstractTestCase {
['@test classes'](assert) {
class Test {
constructor() {
setEmberArray(this);
... | sly7-7/ember.js | packages/@ember/-internals/utils/tests/trackable-object-test.js | JavaScript | mit | 434 |
'use strict';
var _ = require('lodash');
var React = require('react');
var DeskPageFrameActions = require('../../action/desk/DeskPageFrameActions.js');
var OverlayTreeviewItemPaste = require('../desk/OverlayTreeviewItemPaste.js');
var OverlayTreeviewItem = require('../desk/OverlayTreeviewItem.js');
var ContentEditable... | mcanthony/react-ui-builder | client/src/component/panel/PanelComponentHierarchyTextItem.js | JavaScript | mit | 2,463 |
define('myModule', ['something'], function (Something) {
'use strict';
function meaningOfLife() {
new Something();
throw new Error(42);
}
function boom() {
throw new Error('boom');
}
var x = meaningOfLife + 42;
var bundle = x;
return bundle;
}); | joliss/broccoli-es6modules | test/expected/bundledNamedAmd/myModule.js | JavaScript | mit | 281 |
/*! jQuery UI - v1.10.4 - 2014-05-18
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","opacity","height","width"],o=t.effects.setMode(n,e.mode||"hide"),r="show"==... | haakonsk/O2-Framework | var/www/js/jquery-ui/jquery-ui-1.10.4/smoothness/development-bundle/ui/minified/jquery.ui.effect-drop.min.js | JavaScript | mit | 812 |
'use strict';
moduloDirectivas.directive('plistfilter', function () {
return {
restrict: 'E',
templateUrl: 'js/system/components/plist/filter.html',
// scope:{
// Fields:'@' //one way data binding
// }
};
});
moduloSistema.controller('plistFilterController', ['$scope', ... | manuel-fp/sisane-server | public_html/js/system/components/plist/filter.js | JavaScript | mit | 1,692 |
var AWS = require('../core');
var EventEmitter = require('events').EventEmitter;
require('../http');
/**
* @api private
*/
AWS.XHRClient = AWS.util.inherit({
handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
var self = this;
var endpoint = httpRequest.endpoint;
va... | reedr3/unofficial-sorting-hat | src/node_modules/aws-sdk/lib/http/xhr.js | JavaScript | mit | 3,802 |
'use strict';
var windowDefined = typeof window !== 'undefined';
var environment = windowDefined ? 'browser' : 'server';
module.exports = {
environment: environment,
isServer: environment === 'server',
isBrowser: environment === 'browser'
}; | KeKs0r/marty-lib | modules/core/environment.js | JavaScript | mit | 249 |