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 |
|---|---|---|---|---|---|
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | oliviertassinari/material-ui | packages/mui-icons-material/lib/CancelScheduleSendRounded.js | JavaScript | mit | 1,091 |
(function() {
var content = '';
[
{ name: 'Device Name', value: window.device.name },
{ name: 'Device UUID', value: window.device.uuid },
{ name: 'Platform Name', value: window.device.platform },
{ name: 'Platform Version', value: window.device.version },
{ name: 'Phone... | aniket143/sbitapp | jQuery Mobile Kitchen Sink App/www/js/api/device.js | JavaScript | mit | 633 |
//>>built
define("dijit/nls/dijit-all_nb",{"dojo/nls/colors":{aliceblue:"bl\u00e5hvit",antiquewhite:"antikk hvit",aqua:"akva",aquamarine:"akvamarin",azure:"asur",beige:"beige",bisque:"gulrosa",black:"svart",blanchedalmond:"lys mandel",blue:"bl\u00e5",blueviolet:"bl\u00e5fiolett",brown:"brun",burlywood:"matt mellombrun"... | darklilium/Factigis_2 | arcgis_js_api/library/3.17/3.17compact/dijit/nls/dijit-all_nb.js | JavaScript | mit | 13,091 |
/**
* Created by Luke on 01/05/15.
*/
const APD_BASE = '/apd-api';
const apdRoute = (route, transformer) => `${APD_BASE}/${transformer(route)}`;
const endpoints = {
/**
* source: https://wiki.appnexus.com/display/api/API+Services
*/
ACCOUNT_RECOVERY_SERVICE: '/account-recovery',
AD_PROFILE_SERVICE: '... | LukevdPalen/adnxs-api | src/Endpoints.js | JavaScript | mit | 4,574 |
angular.module('ngApp.directives.bbRating', [])
.directive('bbRating', function () {
var MAX = 5;
return {
restrict: 'AE',
replace: true,
scope: {
value: '='
},
templateUrl: 'bbRating/bbRating.tpl.html',
link: function(scope, el, attrs) {
scope.percents = Math.round(scope.value ... | d42f/swex | ngapp/components/bbRating/bbRating.js | JavaScript | mit | 351 |
define({
root: ({
instruction: "Create the content that displays in this widget.",
defaultContent: "Add text, links, and small graphics here.",
productVersion: "Product version: ",
kernelVersion: "Kernel version: "
}),
"ar": 1,
"bs": 1,
"ca": 1,
"cs": 1,
"da": 1,
"de": 1,
"el": 1,
"e... | tmcgee/cmv-wab-widgets | wab/2.14/widgets/About/setting/nls/strings.js | JavaScript | mit | 674 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global','sap/ui/core/library','./View'],function(q,l,V){"use strict";var a=l.mvc.ViewType;var T=V.extend("s... | Hochfrequenz/aurelia-openui5-bridge | sample/vendor/openui5/sap/ui/core/mvc/TemplateView.js | JavaScript | mit | 1,043 |
'use strict';
exports.init = function(req, res, next){
var sigma = {};
var collections = ['User', 'Account', 'Admin', 'AdminGroup', 'AccountCategory', 'Status'];
var queries = [];
collections.forEach(function(el, i, arr) {
queries.push(function(done) {
req.app.db.models[el].count({}, function(err, c... | dsalunga/wikitruth | public/templates/jade/admin/index.js | JavaScript | mit | 678 |
import { UserAccount } from '@vue-storefront/core/modules/user/components/UserAccount'
// Component deprecated, now in User module
export default {
name: 'MyProfile',
mixins: [UserAccount]
}
| pkarw/vue-storefront | core/compatibility/components/blocks/MyAccount/MyProfile.js | JavaScript | mit | 197 |
const _ = require('lodash');
const testHelpers = require('@quoin/node-test-helpers');
const utils = require('./utils');
const expect = testHelpers.expect;
describe("lib/utils", () => {
it("should export an object", () => {
expect(utils).to.be.an('object');
});
it("should expose known properties"... | WarpWorks/studio | lib/utils.unit.test.js | JavaScript | mit | 723 |
var searchData=
[
['port_5ftypes_5fen',['PORT_TYPES_EN',['../_i_o_8h.html#aef5326c2f51b2d56b88ee83510957620',1,'IO.h']]],
['port_5ftypes_5fst',['PORT_TYPES_ST',['../_i_o_8h.html#abcc00397ac4ddbe16561385a7805311d',1,'IO.h']]]
];
| trex2000/Arobs-Academy | Doxygen Generated/html/search/typedefs_2.js | JavaScript | mit | 232 |
/**
* Dual licensed under the Apache License 2.0 and the MIT license.
* $Revision$ $Date: 2009-11-18 10:26:09 +0000 (Wed, 18 Nov 2009) $
*/
(function($) {
// Remap cometd JSON functions to jquery JSON functions
org.cometd.JSON.toJSON = $.toJSON;
org.cometd.JSON.fromJSON = $.secureEvalJSON;
function ... | Apathak-tba/ApathakMailTest | eSignal/OpenBeast/js/jquery.cometd.js | JavaScript | mit | 2,891 |
var global_navigation_data = [
{
"id": "downloads",
"items": [
{
"link": "http://software.opensuse.org/",
"image": "release-stable",
"title": "Última versión estable",
"desc": "Get the latest stable release of openSUSE"
},
{
"link": "http://software.opensuse.org/developer/",
"image": "... | marguerite/bento | js/l10n/global-navigation-data-es.js | JavaScript | mit | 3,700 |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.17/esri/copyright.txt for details.
//>>built
define("esri/dijit/metadata/nls/es/i18nBase",{general:{cancel:"Cancelar",close:"Cerrar",none:"Ninguno",ok:"Aceptar",other:"Otro",stamp:"Estampar",now:"Ahora",choose... | darklilium/Factigis_2 | arcgis_js_api/library/3.17/3.17compact/esri/dijit/metadata/nls/es/i18nBase.js | JavaScript | mit | 5,788 |
/* *
*
* (c) 2009-2019 Øystein Moseng
*
* Class that can keep track of elements added to DOM and clean them up on
* destroy.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../../../parts/Globals.js'... | cdnjs/cdnjs | ajax/libs/highcharts/8.0.0/es-modules/modules/accessibility/utils/DOMElementProvider.js | JavaScript | mit | 1,299 |
import _extends from "@babel/runtime/helpers/extends";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["getRef", "content", "children", "onShownChange", "shown", "showDelay", "hideDelay"];
import {... | cdnjs/cdnjs | ajax/libs/vkui/4.24.0/cssm/components/HoverPopper/HoverPopper.js | JavaScript | mit | 2,780 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ValidationController = undefined;
var _dec, _class;
var _aureliaDependencyInjection = require('aurelia-dependency-injection');
var _validator = require('./validator');
var _validateTrigger = require('./validate-trigger');
var _... | Zensavona/validation | dist/commonjs/validation-controller.js | JavaScript | cc0-1.0 | 5,608 |
define([
'redux',
'js/widgets/facet/actions',
'js/widgets/facet/reducers',
'js/widgets/facet/create_store',
'js/wraps/author_facet',
'js/bugutils/minimal_pubsub',
'react',
'react-dom',
], function(
Redux,
Actions,
Reducers,
createStore,
AuthorFacet,
MinSub,
React,
ReactDOM
) {
describe... | adsabs/bumblebee | test/mocha/js/widgets/facet_widget.spec.js | JavaScript | gpl-2.0 | 21,732 |
//
// Copyright (c) 2012-2013, Peter Jekel
// All rights reserved.
//
// The Checkbox Tree (cbtree) is released under to following three licenses:
//
// 1 - BSD 2-Clause (http://thejekels.com/cbtree/LICENSE)
// 2 - The "New" BSD License (http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13)
// 3 - The A... | nextgis/nextgisbio | nextgisbio/static/js/lib/cbtree-v0.9.4-0/model/_base/Prologue.js | JavaScript | gpl-2.0 | 2,481 |
/**
* Created by Bozhidar on 23.12.2014
* Contains the login and create new user functionality
*/
"use strict";
var userEngine = require('../engine/core.userEngine'),
userValidations = require('../engine/core.engine.validations').userValidations;
exports.login = function(redisClient, secret){
return functio... | mvladimirova/Chronos-refactor | core/routes/login.js | JavaScript | gpl-2.0 | 1,386 |
var gId = '#dataGrid';
$(document).ready(function(){
//列表
$(gId).datagrid({
url:getUrlOpt(),
idField:'id',
fitColumns:true,
frozenColumns:[[
{field:'ck',checkbox:true}
]],
columns:[
getTableHeadOpt(),
getColumnsOpt()
],
pageSize:20,
rownumbers:true,
pagination:true,
... | shenzeyu/3dweb | src/main/webapp/scripts/store/promotecolumn/list_Promotecolumn.js | JavaScript | gpl-2.0 | 3,983 |
/*! jQuery UI - v1.10.4 - 2014-06-26
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്ച്ച്","ഏപ്രില്","മേയ്"... | imie-source/POEC-N-02-SHARE | AJAX_IHM/avant_ajax/personneWeb/WebContent/jquery-ui-1.10.4.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ml.min.js | JavaScript | gpl-2.0 | 1,330 |
/*
Copyright (c) 2004-2008, 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["dojox.grid.compat._grid.publicEvents"]){ //_hasResource checks added by build. Do not use _hasResour... | fedora-infra/packagedb | pkgdb/static/js/dojox/grid/compat/_grid/publicEvents.js | JavaScript | gpl-2.0 | 13,664 |
/*
* Ext JS Library 2.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.onReady(function(){
var ds = new Ext.data.Store({
proxy: new Ext.data.ScriptTagProxy({
url: 'http://extjs.com/forum/topics-remote.php'
}),
... | Kev/maybelater | static/ext-2.1/examples/form/custom.js | JavaScript | gpl-2.0 | 2,077 |
/**
* @file
* This file contain the javascript necessary to display google maps created
* using the WYSIWYG inline map token builder.
*/
(function ($) {
Drupal.behaviors.google_map_field_tokens = {
attach: function (context) {
var map_collection = Drupal.settings.gmf_token_maps;
var map = [];
... | akendrick/PW | sites/all/modules/google_map_field/js/google_map_field_token_maps.js | JavaScript | gpl-2.0 | 1,038 |
/**
* Provides callback for saving destination file into it's source directory.
*
* This scripts exists to re-use for Gulp tasks that requires destination files
* to be placed into their source directory.
*/
export default function (file) {
return file.base;
}
| Niklan/Glisseo | STARTER_SCSS/scripts/utils/destinationToSource.js | JavaScript | gpl-2.0 | 269 |
import $ from 'jquery';
//------------------------------------------------
// Custom publish metabox.
//------------------------------------------------
// Handle the custom statuses.
let submitdiv = $('#themosisSubmitdiv'),
editButton = submitdiv.find('.edit-post-status'),
selectDiv = submitdiv.find('#post-st... | ramon-villain/framework-1 | src/Themosis/_assets/components/poststatus/poststatus.js | JavaScript | gpl-2.0 | 2,191 |
define(
({
label: "Katman",
show: "Göster",
actions: "Katman Alanlarını Yapılandır",
field: "Alan",
alias: "Takma Ad",
visible: "Görünür",
linkField: "Bağlantı Alanı",
noLayers: "Detay katmanı mevcut değil",
back: "Geri",
exportCSV: "CSV\'ye Aktarmaya İzin Ver",
restore: ... | johnaagudelo/ofertaquequieres | visor-oferta/widgets/AttributeTable/setting/nls/tr/strings.js | JavaScript | gpl-2.0 | 1,070 |
jQuery(document).ready(function($){
//Upload function
function initUpload(clone){
var itemToInit = null;
itemToInit = typeof clone !== 'undefined' ? clone : $('.shortcode-dynamic-item');
itemToInit.find('.redux-opts-upload').on('click',function( event ) {
... | nathanyyl/Woo-Commerce | wp-content/themes/salient/nectar/tinymce/shortcode_generator/js/popup.js | JavaScript | gpl-2.0 | 18,727 |
jQuery.noConflict();
jQuery(document).ready(function($){
rsm_init_toolbar(jQuery);
rsm_init_suckerfish(jQuery);
jQuery('#rsm_operator').hide();
jQuery('#rsm_text_input').hide();
jQuery('#rsm_load_more_results').live('click', function(e){
e.preventDefault();
var limitstart = jQuery('#rsm_load_more_results').a... | bundocba/amici | administrator/components/com_rsmail/assets/js/jquery.scripts.js | JavaScript | gpl-2.0 | 12,696 |
myjs_aftersave = function (data) {
if (data == "login_id_duplicate") {
warningDialog("登录名已经被使用");
return false;
}
return true;
}; | alucard263096/AMK | DoctorWeb/js/myjs/user.js | JavaScript | gpl-2.0 | 176 |
/*
* Copyright 2016 OICR
*
* 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... | CancerCollaboratory/dockstore-ui | app/scripts/services/organizationService.js | JavaScript | gpl-2.0 | 2,639 |
(function () {
var valoracion = function () {
return {
restrict: 'AE',
templateUrl: '/static/directivas/valoracion/tpl-valoracion.html',
scope: {
valor: '=',
max: '@',
soloLectura: '@'
},
link: functi... | EscuelaIt/Curso-angularjs-FS-2015 | 25-socket-io/client/static/directivas/valoracion/valoracion.js | JavaScript | gpl-2.0 | 1,160 |
/**
* roll.js
*
* A game where the bot will generate two random dices and award the sender with the points corresponding to the output.
*/
(function() {
var prizes = [];
/* Set default prices in the DB for the Panel */
$.getSetIniDbNumber('rollprizes', 'prizes_0', 4);
$.getSetIniDbNumber('rollprize... | stachu540/PhantomBot | javascript-source/games/roll.js | JavaScript | gpl-3.0 | 5,043 |
module.exports={A:{A:{"1":"B","2":"K D G E A hB"},B:{"1":"2 C d J M H I"},C:{"1":"0 1 2 3 4 6 7 8 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB AB CB DB FB","2":"eB BB YB XB"},D:{"1":"0 1 2 3 4 6 7 8 K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f ... | hhkaos/awesome-arcgis | node_modules/caniuse-lite/data/features/hidden.js | JavaScript | gpl-3.0 | 913 |
'use strict';
/* globals define, app, ajaxify, utils, socket, templates */
define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll', 'translator'], function(components, S, sounds, infinitescroll, translator) {
var Chats = {
initialised: false
};
var newMessage = false;
Chats.init = func... | HorusGoul/NodeBB | public/src/client/chats.js | JavaScript | gpl-3.0 | 8,861 |
var mongoose = require('mongoose');
var objetosSchema = new mongoose.Schema({
nombre: String,
descripcion: String,
imagen: String
});
mongoose.model('objetos', objetosSchema); | lejacome/TranEspol | models/objetos.js | JavaScript | gpl-3.0 | 184 |
/*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | Alberto-Beralix/Beralix | i386-squashfs-root/usr/share/webkitgtk-3.0/webinspector/CSSStyleModel.js | JavaScript | gpl-3.0 | 19,784 |
(function($,window,WSU_THEME) {
$.extend( WSU_THEME, {
state:{
debug:false,
}
});
})(jQuery,window,jQuery.wsu_theme||(jQuery.wsu_theme={})); | washingtonstateuniversity/WSUMAGE-theme-base | skin/frontend/wsu_base/default/src/js/wsu_theme.state.js | JavaScript | gpl-3.0 | 149 |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'./insert',
'mageUtils',
'jquery'
], function (Insert, utils, $) {
'use strict';
/**
* Get page actions element.
*
* @param {String} elem
* @param {String} actionsClass
... | rajmahesh/magento2-master | vendor/magento/module-ui/view/base/web/js/form/components/insert-form.js | JavaScript | gpl-3.0 | 4,200 |
/**
* GaiaEHR (Electronic Health Records)
* Copyright (C) 2013 Certun, LLC.
*
* 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 la... | gaiaehr/gaiaehr | app/store/administration/Modules.js | JavaScript | gpl-3.0 | 862 |
'use strict';
(function() {
var interpolationTests = [];
var cssAnimationsData = {
sharedStyle: null,
nextID: 0,
};
var expectNoInterpolation = {};
var neutralKeyframe = {};
function isNeutralKeyframe(keyframe) {
return keyframe === neutralKeyframe;
}
// For the CSS interpolation methods, w... | nnethercote/servo | tests/wpt/web-platform-tests/css/support/interpolation-testcommon.js | JavaScript | mpl-2.0 | 12,099 |
'use strict';
// Core node modules
var path = require('path');
// Third party libs
var when = require('when');
var activitiesDir = path.join(__dirname, '../../../src/activities');
// Return a function that behaves like getActivities. Taking no parameters and
// returning a promise that resolves to a list of activit... | councilforeconed/interactive-activities | test/server/mock/mock_getactivities.js | JavaScript | mpl-2.0 | 632 |
import React from 'react';
import ReactDOM from 'react-dom';
import Nested from './nested-component';
class Popup extends React.Component {
constructor(props) {
super(props);
this.state = {activeTab: null};
}
componentDidMount() {
// Get the active tab and store it in component state.
chrome.ta... | matthewjwein/webextensions-examples | react-es6-popup/src/popup.js | JavaScript | mpl-2.0 | 801 |
(function() {
function mapConfig() {
return $(this).data('widget');
}
window.Dashboard = {
serializeColumn: function(col) {
return $('div.dashboard_column:nth-child('+col+') fieldset.widget').map(mapConfig).get();
},
serialize: function() {
return [
... | OutOfOrder/HumbleBugs | app/assets/javascripts/controllers/dashboard.js | JavaScript | agpl-3.0 | 1,412 |
import * as _stats from './stats';
import * as _settings from './settings';
import * as _workspace from './workspace';
import * as _workspaceMeta from './workspace-meta';
import * as _environment from './environment';
import * as _cookieJar from './cookie-jar';
import * as _requestGroup from './request-group';
import *... | PavanKu/insomnia | app/models/index.js | JavaScript | agpl-3.0 | 2,834 |
import CoreCooldownThroughputTracker, { BUILT_IN_SUMMARY_TYPES } from 'Parser/Core/Modules/CooldownThroughputTracker';
import SPELLS from 'common/SPELLS';
const debug = false;
class CooldownThroughputTracker extends CoreCooldownThroughputTracker {
static cooldownSpells = [
...CooldownThroughputTracker.cooldown... | enragednuke/WoWAnalyzer | src/Parser/Warlock/Affliction/Modules/Features/CooldownThroughputTracker.js | JavaScript | agpl-3.0 | 2,682 |
// Some content here.
var code = 'hello';
// This comment contains # multiple
// hash signs (#).
code = 'hello';
/**
* This is the first line of a function comment.
* This is the second line.
*/
function testFunction()
{
// Callback methods which are added by external objects.
this.callbacks = {};
}//end ... | shashank19gaurav/tatoeba2 | tools/PHP_CodeSniffer-1.2.1/CodeSniffer/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js | JavaScript | agpl-3.0 | 1,279 |
/*
* Copyright (C) 2012-2013 B3Partners B.V.
*
* This program 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, either version 3 of the License, or
* (at your option) any later version.
*
* This ... | B3Partners/flamingo | viewer/src/main/webapp/viewer-html/components/SpatialFilter-config.js | JavaScript | agpl-3.0 | 2,265 |
'use strict';
/* jasmine specs for filters go here */
//
describe('filter', function () {
beforeEach(module('KMC.filters'));
describe('startFrom', function () {
it('should cut the beginging of a string by a set number of characters ', inject(function ($filter) {
var startFrom = $filter('sta... | kaltura/player-studio | test/unit/filtersSpec.js | JavaScript | agpl-3.0 | 1,617 |
// --
// Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
// --
"use strict";
var Core = Core || {};
C... | mburggraf/otrs | var/httpd/htdocs/js/Core.Agent.TicketAction.js | JavaScript | agpl-3.0 | 12,173 |
import SPELLS from 'common/SPELLS';
import { EventType } from 'parser/core/Events';
import EventsNormalizer from 'parser/core/EventsNormalizer';
const CAST_WINDOW = 100;
/**
* During the opener garrote casts seems to sometimes appear after the damage and energize event, as well as stealth being removed.
* Moving th... | Juko8/WoWAnalyzer | analysis/rogueassassination/src/normalizers/GarroteOpenerNormalizer.js | JavaScript | agpl-3.0 | 1,639 |
// Dimensions of sunburst.
var width = 750;
var height = 600;
var radius = Math.min(width, height) / 2;
// Breadcrumb dimensions: width, height, spacing, width of tip/tail.
var b = {
w: 75, h: 30, s: 3, t: 10
};
// Mapping of step names to colors.
//var colors = {
// "": "#5687d1",
// "1": "#7b615c",
// "2": "#d... | MilletPu/airvis | src/main/webapp/js/otherdemos/rose/sequences_noInter.js | JavaScript | agpl-3.0 | 9,654 |
YUI.add('color-hsv', function (Y, NAME) {
/**
Color provides static methods for color conversion hsv values.
Y.Color.toHSV('f00'); // hsv(0, 100%, 100%)
Y.Color.toHSVA('rgb(255, 255, 0'); // hsva(60, 100%, 100%, 1)
@module color
@submodule color-hsv
@class HSV
@namespace Color
@since 3.8.0
**/
Color = {
... | FuadEfendi/lpotal | tomcat-7.0.57/webapps/ROOT/html/js/aui/color-hsv/color-hsv.js | JavaScript | lgpl-2.1 | 4,434 |
/**
* @author Gionatan Iasio <gionatan@sferalabs.cc>
* @copyright 2016 SferaLabs
* @license {@link http://sfera.sferalabs.cc/docs/sfera/license.html|LGPL License}
*/
/**
* Image component.
*
* @class Sfera.Components.Image
* @mixes Sfera.Behaviors.Visibility
* @mixes Sfera.Behaviors.Position
* ... | sfera-labs/sfera-app-webapp | src/main/resources/webapp/components/image/image.js | JavaScript | lgpl-3.0 | 2,043 |
/* */
var isArguments = require('./isArguments'),
isArray = require('./isArray'),
isArrayLike = require('./isArrayLike'),
isFunction = require('./isFunction'),
isString = require('./isString');
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
function isEmpty(value) ... | EpitaJS/js-class-2016 | jspm_packages/npm/lodash@4.6.1/isEmpty.js | JavaScript | unlicense | 612 |
Bridge.assembly("TestProject", function ($asm, globals) {
"use strict";
var $m = Bridge.setMetadata,
$n = [];
$m("TestProject1.AliasUsing", function () { return {"att":1048577,"a":2,"m":[{"a":2,"n":".ctor","t":1,"sn":"ctor"}]}; }, $n);
$m("TestProject1.StaticUsing", function () { return {"att"... | AndreyZM/Bridge | Compiler/TranslatorTests/TestProjects/25/Bridge/reference/TestProject1.meta.js | JavaScript | apache-2.0 | 393 |
/*******************************************************************************
* 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
*******************************... | mysisl/blade | src/main/webapp/static/kindeditor/plugins/image/image.js | JavaScript | apache-2.0 | 12,419 |
/**
* `tasks/config/uglify`
*
* ---------------------------------------------------------------
*
* Minify client-side JavaScript files using UglifyES.
*
* For more information, see:
* https://sailsjs.com/anatomy/tasks/config/uglify.js
*
*/
module.exports = function(grunt) {
grunt.config.set('uglify', {
... | Dmdv/WebPlayground | Sails/bugTracker/tasks/config/uglify.js | JavaScript | apache-2.0 | 1,612 |
import {List, Map, ListWrapper, MapWrapper} from 'facade/collection';
import {Element, DOM} from 'facade/dom';
import {int, isBlank, isPresent} from 'facade/lang';
import {AnnotatedType} from '../annotated_type';
import {Decorator} from '../../annotations/annotations';
import {Component} from '../../annotations/annotat... | rtdkumar/angular | modules/core/src/compiler/pipeline/compile_element.js | JavaScript | apache-2.0 | 4,021 |
require('../lib/node_loader');
var AWS = require('../lib/core');
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['personalizeevents'] = {};
AWS.PersonalizeEvents = Service.defineService('personalizeevents', ['2018-03-22']);
Object.defineProperty(apiLoader.services['personalizeevents'], '20... | aws/aws-sdk-js | clients/personalizeevents.js | JavaScript | apache-2.0 | 641 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.unified.CalendarLegendItem.
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Element', './library'],
func... | icgretethe/AwarenessApp | resources/sap/ui/unified/CalendarLegendItem-dbg.js | JavaScript | apache-2.0 | 1,762 |
/*
* Copyright (C) 2016 Acrolinx GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | acrolinx/acrolinx-scale | lib/scale.js | JavaScript | apache-2.0 | 5,429 |
(function (angular) {
"use strict";
angular.module('dashboard.track', [])
.controller('trackCtrl',['$scope', function ($scope) {
$scope.Text = 'Track page';
}]);
})(angular); | RLOpenCatalyst/core | client/cat3/src/partials/sections/dashboard/track/trackCtrl.js | JavaScript | apache-2.0 | 186 |
/*
* 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.
*/
'... | begoldsm/azure-sdk-for-node | lib/services/batch/lib/models/poolEnableAutoScaleOptions.js | JavaScript | apache-2.0 | 3,796 |
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
// Tests that compatibility overrides are refreshed when showing the addon
// selection UI.
const PREF_GETADDONS_BYIDS = "extensions.getAddons.get.url";
const PREF_MIN_PLATFORM_COMPAT = "exte... | sergecodd/FireFox-OS | B2G/gecko/toolkit/mozapps/extensions/test/browser/browser_select_compatoverrides.js | JavaScript | apache-2.0 | 3,468 |
// Copyright 2017 The Kubernetes Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | kenan435/dashboard | src/app/frontend/storageclass/detail/stateconfig.js | JavaScript | apache-2.0 | 2,627 |
/*
* Copyright 2011-2020, The Trustees of Indiana University and Northwestern
* University. 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/LICENS... | nulib/avalon | app/javascript/components/collections/list/ButtonCollectionListShowAll.js | JavaScript | apache-2.0 | 1,564 |
define({
"viewer": {
"common": {
"close": "Sluiten",
"focusMainstage": "Stuur toetsenbordfocus naar media",
"expandImage": "Beeld vergroten"
},
"a11y": {
"skipToContent": "Overslaan naar content",
"headerAria": "Koptekst verhaal",
"panelAria": "Verhaalinhoud",
"ma... | Esri/map-series-storytelling-template-js | src/resources/tpl/viewer/nls/nl/template.js | JavaScript | apache-2.0 | 6,236 |
/**
* 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... | apache/incubator-superset | superset-frontend/src/SqlLab/reducers/index.js | JavaScript | apache-2.0 | 1,150 |
/*
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apigee/apigeelint | lib/package/Condition.js | JavaScript | apache-2.0 | 2,195 |
"use strict";
describe("View", function() {
var View = require("../../../lib/viewing/View");
var Backbone = require("../../../lib/application/Backbone");
var noop = require("../../../lib/util/noop");
it("overwrites delegateEvents", function() {
expect(View.prototype.delegateEvents).not.toBe(Ba... | bloomberg/brisket | spec/server/viewing/ViewSpec.js | JavaScript | apache-2.0 | 2,157 |
<!--
// Function to validate EMail IDs
// Arguments : 1. mail : Value of the field containing Email or String Constant.
// Return Value: true if date is valid, false otherwise.
function isValidMail(mail)
{
m=new String(mail);
var mailLength=m.length
var totalDOT=0
var totalROUTE=0
var totalSPACE=0
// Should ... | peter-watters/WebPortfolio | integra/airspeed/MailValidation.js | JavaScript | apache-2.0 | 2,169 |
/**
* Exports the {@link module:enyo/Scrollable~Scrollable} mixin.
*
* @wip
* @public
* @module enyo/Scrollable
*/
var
kind = require('../kind'),
utils = require('../utils'),
dom = require('../dom'),
dispatcher = require('../dispatcher');
var
Control = require('../Control'),
EventEmitter = require('../EventEmit... | enyojs/enyo | src/Scrollable/Scrollable.js | JavaScript | apache-2.0 | 27,197 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | thauser/pnc | ui/app/projects/_projects.js | JavaScript | apache-2.0 | 3,420 |
/**
* @license Copyright 2016 The Lighthouse 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 required by applica... | umaar/lighthouse | lighthouse-cli/commands/commands.js | JavaScript | apache-2.0 | 794 |
/* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | ydfzgyj/pdf.js | test/unit/cff_parser_spec.js | JavaScript | apache-2.0 | 14,372 |
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { mapToCssModules, tagPropType } from './utils';
const propTypes = {
tag: tagPropType,
className: PropTypes.any,
cssModule: PropTypes.object,
};
const defaultProps = {
tag: 'p'
};
const ListGroupItemTex... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/reactstrap/src/ListGroupItemText.js | JavaScript | apache-2.0 | 719 |
/*!
Copyright (C) 2014 Google Inc., authors, and contributors <see AUTHORS file>
Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
Created By: dan@reciprocitylabs.com
Maintained By: dan@reciprocitylabs.com
*/
(function(can) {
var _mustache_path,
overdue_compute;
... | prasannav7/ggrc-core | src/ggrc_workflows/assets/javascripts/models/cycle_models.js | JavaScript | apache-2.0 | 12,025 |
var leftMenuView = Ti.UI.createView({
backgroundColor:'white',
width: Ti.UI.FILL,
height: Ti.UI.FILL
});
var centerView = Ti.UI.createView({
backgroundColor:'white',
width: Ti.UI.FILL,
height: Ti.UI.FILL
});
var rightMenuView = Ti.UI.createView({
backgroundColor:'#ddd',
width: Ti.UI.FILL,
height: Ti.UI.FILL... | vitorebatista/NgMobile | modules/android/dk.napp.drawer/1.0/example/app.js | JavaScript | apache-2.0 | 5,098 |
/*
* 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 ... | naamashoresh/incubator-trafficcontrol | traffic_portal/app/src/modules/private/admin/profiles/list/index.js | JavaScript | apache-2.0 | 1,627 |
/**
* Copyright 2016 IBM Corp. 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 a... | GorillaGorilla/tj-improvements | recipes/sentiment_analysis/sentiment.js | JavaScript | apache-2.0 | 4,941 |
import log from './utils/log';
/*
* @file extends.js
*
* A combination of node inherits and babel's inherits (after transpile).
* Both work the same but node adds `super_` to the subClass
* and Bable adds the superClass as __proto__. Both seem useful.
*/
const _inherits = function (subClass, superClass) {
if (... | heff/docs | videojs-src/extends.js | JavaScript | artistic-2.0 | 2,097 |
// Format function for the tooltip values column.
function makeGenerator(tooltip) {
return function tooltipGenerator(d) {
if (d === null) {
return '';
}
var table = d3.select(document.createElement("table"));
var theadEnter = table.selectAll("thead")
.data([d])
... | logV/snorkel.sf | snorkel/components/nvd3/nvd3.js | JavaScript | bsd-2-clause | 17,595 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: |
The String.prototype.lastIndexOf.length property has the attribute
ReadOnly
es5id: 15.5.4.8_A10
description: >
Checking if varying the String.prototype.lastIndex... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A10.js | JavaScript | bsd-2-clause | 1,378 |
/*
* Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyrig... | tabordasolutions/nics-web | modules/administration/src/main/js/nics/modules/administration/OrganizationController.js | JavaScript | bsd-3-clause | 4,799 |
/**
* Openbiz App Module Frontend Main Package File
*
* APPBUILDER_ALLOW_OVERRIDE = YES // if you have manual modified this file please change APPBUILDER_ALLOW_OVERRIDE value to NO
*/
"use strict";
define(['./router'],
function(router){
return openbiz.Module.extend({
router: router
});
}); | openbiz/openbiz-appbuilder | templates/module/frontend/main-template.js | JavaScript | bsd-3-clause | 307 |
shouldBeTrue("successfullyParsed");
debug('<br><span class="pass">TEST COMPLETE</span>'); | amyvmiwei/chromium | webkit/data/layout_tests/chrome/fast/js/resources/js-test-post.js | JavaScript | bsd-3-clause | 89 |
/**
# Game Controller
Keeps track of keyboard and mouse state globally, so you don't have to.
*/
import b8r from '../source/b8r.js'
import { keycode } from '../source/b8r.keystroke.js'
const buttons = { mouseButtons: [] }
// const _gamepads = b8r.makeArray(navigator.getGamepads()).map(gamepad => gamepad || {});
cons... | tonioloewald/Bind-O-Matic.js | lib/game-controller.js | JavaScript | bsd-3-clause | 1,678 |
// Copyright (c) 2012 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.
cr.define('options', function() {
var OptionsPage = options.OptionsPage;
const ArrayDataModel = cr.ui.ArrayDataModel;
/////////////////////////... | aYukiSekiguchi/ACCESS-Chromium | chrome/browser/resources/options/chromeos/internet_options.js | JavaScript | bsd-3-clause | 27,029 |
/**
* The Alert Component
*
* @module aui-alert
*/
var getClassName = A.getClassName,
CSS_CLOSE = getClassName('close'),
CSS_INFO = getClassName('alert', 'info'),
CSS_DISMISSABLE = getClassName('alert', 'dismissable');
/**
* A base class for Alert.
*
* Check the [live demo](http://alloyui.com/examp... | adorjan/alloy-ui | src/aui-alert/js/aui-alert.js | JavaScript | bsd-3-clause | 4,409 |
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['detail'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0... | OpenSyracuse/eatsafecny | assets/js/templates.js | JavaScript | bsd-3-clause | 8,263 |
/*
* information about range and zoom level for a dimension, to be used in visual tiles, data tiles and vis specs
*/
var DimInfo = Backbone.Model.extend({
/**
* @memberOf DimInfo
*/
setInfo : function(dim, zm, start, end){
var d = parseInt(dim);
if (d == NaN)
d = dim;
this.set("info", {dim: d, zoom:zm, ... | uwdata/imMens | webapp/WebContent/lib/spec/dimInfo.js | JavaScript | bsd-3-clause | 3,121 |
#! /usr/bin/env node
'use strict'
/* eslint-disable no-console */
var fs = require('fs')
var path = require('path')
var readline = require('readline')
var url = require('url')
var MetricNormalizer = require('../lib/metrics/normalizer')
var cwd = process.cwd()
var opts = null
if (arrayContainsAny(process.argv, '-h', '... | devierol/heroku-gjs | node_modules/newrelic/bin/test-naming-rules.js | JavaScript | bsd-3-clause | 4,868 |
"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 __decorate = (this && this.__decorate) || fu... | MengjiaoH/UpSet-Phovea | node_modules/typedoc/dist/lib/utils/options/readers/typedoc.js | JavaScript | bsd-3-clause | 3,587 |
import express from 'express';
import BodyParser from 'body-parser';
import * as Middlewares from '../middlewares';
import Parse from 'parse/node';
import Config from '../Config';
import mime from 'mime';
export class FilesRouter {
expressRouter(opti... | Isaack90/parse-server | src/Routers/FilesRouter.js | JavaScript | bsd-3-clause | 6,212 |
// Copyright 2022 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.
export const generatedProperties = [
{'name': '-webkit-border-horizontal-spacing', 'inherited': true},
{'name': '-webkit-border-image'},
{'name': '-... | ChromeDevTools/devtools-frontend | front_end/generated/SupportedCSSProperties.js | JavaScript | bsd-3-clause | 63,358 |
/*!
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
*/
import runAbstractStorageAdapterSpec from '@webex/storage-adapter-spec';
import {skipInNode} from '@webex/test-helper-mocha';
import StorageAdapterLocalForage from '@webex/storage-adapter-local-forage';
skipInNode(describe)('StorageAdapterLocalF... | aimeex3/spark-js-sdk | packages/node_modules/@webex/storage-adapter-local-forage/test/unit/spec/storage-adapter-local-forage.js | JavaScript | mit | 413 |
var expect = require('expect.js');
var stub = require('sinon').stub;
var PopupHandler = require('../../src/helper/popup-handler');
var MockAuth0Plugin = require('../mock/mock-auth0-plugin');
var WebAuth = require('../../src/web-auth');
var version = require('../../src/version');
describe('auth0.WebAuth extensibility'... | saphocom/auth0.js | test/web-auth/extensibility.test.js | JavaScript | mit | 3,378 |
define({
"_widgetLabel": "Kesadaran Situasi",
"locate_incident": "Cari Lokasi Insiden",
"reverse_geocoded_address": "Alamat Terdekat",
"reverse_geocoded_error": "Tidak tersedia",
"actionLabel": "Atur Lokasi",
"drawPoint": "Gambar titik",
"drawLine": "Gambar garis",
"drawPolygon": "Gambar poligon",
"sa... | tmcgee/cmv-wab-widgets | wab/2.15/widgets/SituationAwareness/nls/id/strings.js | JavaScript | mit | 2,455 |