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 |
|---|---|---|---|---|---|
// moment.js locale configuration
// locale : galician (gl)
// author : Juan G. Hurtado : https://github.com/juanghurtado
(function( factory )
{
if (typeof define === 'function' && define.amd) {
define( ['moment'], factory ); // AMD
} else {
if (typeof exports === 'object') {
module... | hannesk001/SPHERE-Framework | Library/Moment.Js/2.8.4/locale/gl.js | JavaScript | agpl-3.0 | 2,839 |
/**
* Kendo UI v2018.1.221 (http://www.telerik.com/kendo-ui)
* Copyright 2018 Telerik AD. All rights reserved. ... | Memba/Memba-Widgets | src/js/vendor/kendo/cultures/kendo.culture.bg.js | JavaScript | agpl-3.0 | 6,694 |
(function (requirejs, require, define) {
// Main module.
require(
[
'video/01_initialize.js',
'video/025_focus_grabber.js',
'video/04_video_control.js',
'video/05_video_quality_control.js',
'video/06_video_progress_slider.js',
'video/07_video_volume_control.js',
'video/08_video_speed_contro... | syjeon/new_edx | lms/static/xmodule_js/src/video/10_main.js | JavaScript | agpl-3.0 | 3,079 |
odoo.define('hr/static/src/bugfix/bugfix_tests.js', function (require) {
'use strict';
/**
* This file allows introducing new QUnit test modules without contaminating
* other test files. This is useful when bug fixing requires adding new
* components for instance in stable versions of Odoo. Any test that is defined... | rven/odoo | addons/hr/static/src/bugfix/bugfix_tests.js | JavaScript | agpl-3.0 | 517 |
/**
* 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... | prateekbh/amphtml | ads/vendors/_ping_.js | JavaScript | apache-2.0 | 3,466 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi... | Maxwelloff/react-football | node_modules/material-ui/lib/svg-icons/action/eject.js | JavaScript | apache-2.0 | 934 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fab';
var iconName = 'ideal';
var width = 576;
var height = 512;
var ligatures = [];
var unicode = 'e013';
var svgPathData = 'M125.61,165.48a49.07,49.07,0,1,0,49.06,49.06A49.08,49.08,0,0,0,125.61,165.48ZM86.15,425.84h78.94V285.32... | googleforgames/open-match-docs | site/themes/docsy/assets/vendor/Font-Awesome/js-packages/@fortawesome/free-brands-svg-icons/faIdeal.js | JavaScript | apache-2.0 | 1,377 |
//// [baseIndexSignatureResolution.ts]
class Base { private a: string; }
class Derived extends Base { private b: string; }
// Note - commmenting "extends Foo" prevents the error
interface Foo {
[i: number]: Base;
}
interface FooOf<TBase extends Base> extends Foo {
[i: number]: TBase;
}
var x: FooOf<Derived> =... | kitsonk/TypeScript | tests/baselines/reference/baseIndexSignatureResolution.js | JavaScript | apache-2.0 | 1,974 |
/************************************工具函数************************************/
function jsTrim(str)
{
return str.replace(/(^\s*)|(\s*$)/g,"");
}
//将小数点清零
function returnFloat0(value)
{
value = Math.round(parseFloat(value));
return value;
}
//保留一位小数点
function returnFloat1(value)
{
value = Math.r... | royalwang/saivi | tpl/static/dining/js/shoporder.js | JavaScript | apache-2.0 | 15,526 |
//// [tests/cases/compiler/aliasUsageInOrExpression.ts] ////
//// [aliasUsageInOrExpression_backbone.ts]
export class Model {
public someData: string;
}
//// [aliasUsageInOrExpression_moduleA.ts]
import Backbone = require("./aliasUsageInOrExpression_backbone");
export class VisualizationModel extends Backbon... | microsoft/TypeScript | tests/baselines/reference/aliasUsageInOrExpression.js | JavaScript | apache-2.0 | 2,791 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _index = _interopRequireDefault(require("../../parse/index.js"));
var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js"));
function _interopRequireDefault(obj) { return obj && obj.__esM... | BigBoss424/portfolio | v8/development/node_modules/date-fns/fp/parse/index.js | JavaScript | apache-2.0 | 582 |
/*
* 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... | flongo/ariatemplates | test/aria/html/element/ElementBindingsTest.js | JavaScript | apache-2.0 | 9,393 |
/** @license React v16.13.1
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
if (process.env.NODE_ENV !== "production") {
(function() {
'... | BigBoss424/portfolio | v8/development/node_modules/react/cjs/react.development.js | JavaScript | apache-2.0 | 60,645 |
var Linq = (function () {
function Linq() {
}
Linq.select = function (values, func) {
var result = new Array(values.length);
for (var i = 0; i < values.length; i++) {
result[i] = func(values[i]);
}
return result;
};
return Linq;
})();
| hippich/typescript | tests/baselines/reference/unknownSymbolInGenericReturnType.js | JavaScript | apache-2.0 | 315 |
//// [intersectionWithUnionConstraint.ts]
function f1<T extends string | number, U extends string | number>(x: T & U) {
// Combined constraint of 'T & U' is 'string | number'
let y: string | number = x;
}
function f2<T extends string | number | undefined, U extends string | null | undefined>(x: T & U) {
l... | donaldpipowitch/TypeScript | tests/baselines/reference/intersectionWithUnionConstraint.js | JavaScript | apache-2.0 | 1,636 |
/**
* @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) {
re... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/@angular/common/locales/lkt.js | JavaScript | apache-2.0 | 1,713 |
/*
* Copyright (C) 2011 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... | VikingsYip/webkitdotnet | webkit/WebKit.resources/inspector/ExtensionServer.js | JavaScript | bsd-2-clause | 33,321 |
/*
YUI 3.6.0 (build 5521)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("lang/datatype-date-format_en-MY",function(a){a.Intl.add("datatype-date-format","en-MY",{"a":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"A":["Sunday","Monday","Tuesday","W... | bretkikehara/wattdepot-visualization | src/main/webapp/yui/3.6.0/build/datatype-date-format/lang/datatype-date-format_en-MY.js | JavaScript | bsd-3-clause | 669 |
// Copyright (c) 2014 The crouton Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/* Constants */
var URL = "ws://localhost:30001/";
var VERSION = 2; /* Note: the extension must always be backward compatible */
var MAXLOGGERLEN = 20;... | JDGBOLT/chroagh | host-ext/crouton/background.js | JavaScript | bsd-3-clause | 24,630 |
/*!
* @package ElkArte Forum
* @copyright ElkArte Forum contributors
* @license BSD http://opensource.org/licenses/BSD-3-Clause (see accompanying LICENSE.txt file)
*
* This file contains code covered by:
* copyright: 2011 Simple Machines (http://www.simplemachines.org)
*
* @version 2.0 dev
*/
/**
* This ... | elkarte/Elkarte | themes/default/scripts/stats.js | JavaScript | bsd-3-clause | 8,815 |
//>>built
define(
({
invalidMessage: "Η τιμή που καταχωρήσατε δεν είναι έγκυρη.",
missingMessage: "Η τιμή αυτή πρέπει απαραίτητα να καθοριστεί.",
rangeMessage: "Η τιμή αυτή δεν ανήκει στο εύρος έγκυρων τιμών."
})
);
| NCIP/cabio | software/cabio-api/system/web/dijit/form/nls/el/validate.js | JavaScript | bsd-3-clause | 328 |
require("should");
var helper = require("../../helper");
var accountDataUtil = require("../../data-util/auth/account-data-util");
var validateAccount = require("dl-models").validator.auth.account;
var AccountManager = require("../../../src/managers/auth/account-manager");
var accountManager = null;
var account;
var r... | indriHutabalian/dl-module | test/auth/role/update.js | JavaScript | mit | 2,841 |
{
return str.replace(hyphenateRE, "-$1").toLowerCase();
}
| stas-vilchik/bdd-ml | data/9944.js | JavaScript | mit | 60 |
import _extends from 'babel-runtime/helpers/extends';
import moment from 'moment';
var defaultDisabledTime = {
disabledHours: function disabledHours() {
return [];
},
disabledMinutes: function disabledMinutes() {
return [];
},
disabledSeconds: function disabledSeconds() {
return [];
}
};
expor... | prodigalyijun/demo-by-antd | node_modules/rc-calendar/es/util/index.js | JavaScript | mit | 2,378 |
const BaseChecker = require('./../base-checker')
const ruleId = 'visibility-modifier-order'
const meta = {
type: 'order',
docs: {
description: `Visibility modifier must be first in list of modifiers.`,
category: 'Style Guide Rules',
examples: {
good: [
{
description: 'Visibilit... | protofire/solhint | lib/rules/order/visibility-modifier-order.js | JavaScript | mit | 2,711 |
// Find all <input type="file"> elements with a data-uploadto attribute
// and register an onchange handler so that any selected file is
// automatically POSTED to the specified "uploadto" URL. The server's
// response is ignored.
whenReady(function() { // Run when the document is ready
var ... | yangjunjun/examples | source-from-book/codes_of_JavaScript_the_Definitive_Guide/examples/18.09.autoUpload.js | JavaScript | mit | 1,187 |
/*! jQuery UI - v1.10.3 - 2013-09-09
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.fi={closeText:"Sulje",prevText:"«Edellinen",nextText:"Seuraava»",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","H... | hillst/spirobase | web/includes/jquery-ui-1.10.3.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fi.min.js | JavaScript | mit | 872 |
import { ArrayTests } from 'ember-runtime/tests/suites/array';
import insertAtTests from 'ember-runtime/tests/suites/mutable_array/insertAt';
import popObjectTests from 'ember-runtime/tests/suites/mutable_array/popObject';
import pushObjectTests from 'ember-runtime/tests/suites/mutable_array/pushObject';
import pushOb... | vikram7/ember.js | packages/ember-runtime/tests/suites/mutable_array.js | JavaScript | mit | 1,381 |
'use strict';
describe('Controller: LoginCtrl', function () {
// load the controller's module
beforeEach(module('quiverInvoiceApp'));
var LoginCtrl,
scope,
q,
generic = function () {
var deferred = q.defer();
deferred.resolve(arguments);
return deferred.promise;
};
// Initi... | deltaepsilon/quiver-invoice | test/spec/controllers/Login.js | JavaScript | mit | 1,521 |
export const Types = {
Startup: 'Startup'
}
export const Actions = {
startup: () => ({ type: Types.Startup })
}
| rmevans9/reactotron | packages/demo-react-native/App/Redux/StartupRedux.js | JavaScript | mit | 117 |
'use strict';
angular.module('ngQuantum.modalBox', ['ngQuantum.modal'])
.provider('$modalBox', function () {
var defaults = this.defaults = {
effect: 'slit',
boxType: 'alert',
typeClass: 'modalbox',
instanceName: 'modal',
... | nagyistoce/quantumui | src/components/modalbox.js | JavaScript | mit | 7,811 |
(function()
{
'use strict';
angular
.module('lumx.ripple')
.directive('lxRipple', lxRipple);
lxRipple.$inject = ['$timeout'];
function lxRipple($timeout)
{
return {
restrict: 'A',
link: link,
};
function link(scope, element, attrs)
... | jefvel/lumX | modules/ripple/js/ripple_directive.js | JavaScript | mit | 2,372 |
function RowConfigController($scope) {
$scope.currentRow = $scope.model.currentRow;
$scope.editors = $scope.model.editors;
$scope.columns = $scope.model.columns;
$scope.scaleUp = function(section, max, overflow) {
var add = 1;
if (overflow !== true) {
add = (max > 1) ? 1 : ... | neilgaietto/Umbraco-CMS | src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowconfig.controller.js | JavaScript | mit | 2,477 |
((function(){
var rainbow = this.MooRainbow = new Class({
Implements: [Options, Events],
options: {
data: 'moorainbow',
startColor: '#f00',
transparency: 1,
activeForm: 'hsb',
forms: {
'rgb': ['red', 'green', 'blue'],
'hsb': ['hue', 'saturation', 'brightness']
},
defaults: {
rel... | Dwightgnjohnson/corcoranpruett.com | wp-content/themes/gantry/admin/widgets/colorchooser/js/mooRainbow-2.0.js | JavaScript | gpl-2.0 | 18,068 |
jQuery(function($) {
$('div.inline-group').sortable({
/*containment: 'parent',
zindex: 10, */
items: 'div.inline-related',
handle: 'h3:first',
update: function() {
$(this).find('div.inline-related').each(function(i) {
if ($(this).find('input[id$=id... | alirizakeles/tendenci | tendenci/apps/base/static/js/admin/sortable_inline/stacked-sort.js | JavaScript | gpl-3.0 | 581 |
// Copyright (c) 2005 Tom Wu
// All Rights Reserved.
// See "LICENSE" for details.
// Basic JavaScript BN library - subset useful for RSA encryption.
// Bits per digit
var dbits;
// JavaScript engine analysis
var canary = 0xdeadbeefcafe;
var j_lm = ((canary&0xffffff)==0xefcafe);
// (public) Constructor
// tutao: a... | msoftware/tutanota-1 | web/lib/worker/crypto-jsbn-2012-08-09_1.js | JavaScript | gpl-3.0 | 90,904 |
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public L... | maruthisivaprasad/zurmo | app/themes/default/js/ListViewUtils.js | JavaScript | agpl-3.0 | 4,206 |
define(
//begin v1.x content
({
loadingState: "טעינה...",
errorState: "אירעה שגיאה"
})
//end v1.x content
);
| sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dijit/nls/he/loading.js | JavaScript | apache-2.0 | 129 |
"use strict";
var f = require('util').format,
fs = require('fs');
exports['Correctly receive the APM events for an insert'] = {
metadata: { requires: { topology: ['single'] } },
// The actual test we wish to run
test: function(configuration, test) {
var started = [];
var succeeded = [];
var faile... | capaj/node-mongodb-native | test/functional/apm_tests.js | JavaScript | apache-2.0 | 19,537 |
'use strict';
var fs = require('fs');
var utils = require('./utils');
/**
* Add the `contents` property to a `file` object.
*
* @param {Object} `options`
* @return {Object} File object.
* @api public
*/
module.exports = function(options) {
return utils.through.obj(function(file, enc, next) {
contentsAsy... | mrtequino/JSW | nodejs/pos-server/node_modules/base-config-schema/node_modules/file-contents/index.js | JavaScript | apache-2.0 | 1,645 |
//>>built
define("dojox/gantt/GanttChart","./GanttProjectItem ./GanttResourceItem ./GanttProjectControl ./GanttTaskControl ./GanttTaskItem ./TabMenu dijit/Tooltip dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/date/locale dojo/request dojo/request/util dojo/on dojo/dom dojo/dom-class dojo/dom-construct dojo/d... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/gantt/GanttChart.js | JavaScript | apache-2.0 | 28,342 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
* string.charAt(k + 5)) or (string.charAt(k + 7) and
* string.charAt(k + 8)) or (string.charAt(k + 10) and
* string.charAt(... | popravich/typescript | tests/Fidelity/test262/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js | JavaScript | apache-2.0 | 1,224 |
/**
* Created by Michael on 02/04/14.
*/
angular.module('angularUtils.directives.uiBreadcrumbs', ['ui.router'])
.directive('uiBreadcrumbs', function($interpolate, $state) {
return {
restrict: 'E',
templateUrl: 'vendors/angularUtils/directives/uiBreadcrumbs/uiBreadcrumbs.tpl.html'... | VHAINNOVATIONS/Mental-Health-eScreening | UIResources/WYSIWYGUITestPages/vendors/angularUtils/directives/uiBreadcrumbs/uiBreadcrumbs.js | JavaScript | apache-2.0 | 3,722 |
var searchData=
[
['client_2ec',['client.c',['../client_8c.html',1,'']]],
['co_2ec',['co.c',['../co_8c.html',1,'']]],
['coap_2dobserver_2ec',['coap-observer.c',['../coap-observer_8c.html',1,'']]],
['coap_2dserver_2ec',['coap-server.c',['../coap-server_8c.html',1,'']]],
['coap_2eh',['coap.h',['../coap_8h.html'... | SunKyu/HUFS_libcoap_gateway | doc/html/search/files_63.js | JavaScript | bsd-2-clause | 600 |
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Poornakiruthika/Test | node_modules/googleapis/apis/cloudkms/v1.js | JavaScript | mit | 53,015 |
/*
* 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
* ... | revi/brackets | src/utils/Global.js | JavaScript | mit | 5,374 |
// - jquery.event.livehack.js
(function() {
var event = jQuery.event,
//helper that finds handlers by type and calls back a function, this is basically handle
// events - the events object
// types - an array of event types to look for
// callback(type, handlerFunc, selector) - a callback
// selector - ... | kristianmandrup/jquerypp-rails | vendor/assets/javascripts/jquery.event.livehack.js | JavaScript | mit | 4,918 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/... | DelvarWorld/react-router | website/modules/animated/Animated.js | JavaScript | mit | 717 |
const wrapMapStateToProps = (mapStateToProps, getForm) => {
if (mapStateToProps) {
if (typeof mapStateToProps !== 'function') {
throw new Error('mapStateToProps must be a function');
}
if (mapStateToProps.length > 1) {
return (state, ownProps) => ({
...mapStateToProps(state, ownProps),... | mikekidder/redux-form | src/wrapMapStateToProps.js | JavaScript | mit | 553 |
/**
* @fileoverview Source code for spaced-comments rule
* @author Gyandeep Singh
* @copyright 2015 Toru Nagashima. All rights reserved.
* @copyright 2015 Gyandeep Singh. All rights reserved.
* @copyright 2014 Greg Cochard. All rights reserved.
*/
"use strict";
var escapeStringRegexp = require("escape-string-reg... | Lukkub/Redux-ShopCartApp | node_modules/eslint/lib/rules/spaced-comment.js | JavaScript | mit | 6,753 |
/*!
* Less - Leaner CSS v3.5.0-beta.6
* http://lesscss.org
*
* Copyright (c) 2009-2018, Alexis Sellier <[email protected]>
* Licensed under the Apache-2.0 License.
*
*/
/** * @license Apache-2.0
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof defi... | extend1994/cdnjs | ajax/libs/less.js/3.5.0-beta.6/less.js | JavaScript | mit | 435,251 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransitionIndicator = void 0;
/** @internal */
class TransitionIndicator {
constructor() {
this._element = document.createElement('div');
this._element.classList.add("lm_transition_indicator" /* TransitionIndicator ... | cdnjs/cdnjs | ajax/libs/golden-layout/2.2.1/cjs/ts/controls/transition-indicator.js | JavaScript | mit | 2,585 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PolygonDrawer = void 0;
var tslib_1 = require("tslib");
var PolygonDrawerBase_1 = require("./PolygonDrawerBase");
var PolygonDrawer = (function (_super) {
tslib_1.__extends(PolygonDrawer, _super);
function PolygonDrawer() {
... | cdnjs/cdnjs | ajax/libs/tsparticles/1.15.0-alpha.8/ShapeDrawers/PolygonDrawer.js | JavaScript | mit | 1,541 |
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softw... | md-5/jdk10 | test/nashorn/script/basic/JDK-8069338.js | JavaScript | gpl-2.0 | 1,846 |
jQuery(function($){$(".siteorigin-premium-teaser").has(".teaser-image").mouseenter(function(){var $$=$(this).find(".teaser-image");if($$.is(":hover"))return;$$.fadeIn(100)}).mouseleave(function(){$(this).find(".teaser-image").clearQueue().fadeOut(100)})}); | dconcepcion79/WordPress_TestBuild | wp-content/themes/vantage/extras/premium/js/premium-teaser.min.js | JavaScript | gpl-2.0 | 256 |
<script type="text/javascript"><!--
function rowOverEffect(object) {
if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}
function rowOutEffect(object) {
if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
function checkBox(object) {
document.account_newsletter.eleme... | loadedcommerce/Loaded6CE | Loaded_Commerce_CE/includes/javascript/account_newsletters.js | JavaScript | gpl-2.0 | 414 |
import _ from "lodash";
import { Meteor } from "meteor/meteor";
/**
* Callback hooks to alter the behavior of common operations or trigger other things.
* @namespace Hooks.Events
*/
const Hooks = {};
Hooks.Events = {};
/**
* Add a callback function to a hook
* @param {String} name - The name of the hook
* @para... | spestushko/reaction | server/api/hooks.js | JavaScript | gpl-3.0 | 2,641 |
$(function(){var url=location.pathname;url=url.substring($('body').data('locale-root'),url.length);url=url.replace(/\/*$/,'');$.ajax({url:$('body').data('site-root')+'_tracking',type:'POST',data:{url:url,type:'page'},timeout:300});$('a.resource-url-analytics').click(function(e){var url=$(e.target).closest('a').attr('hr... | nucleo-digital/ckan-theme-cmbd | public/base/javascript/tracking.min.js | JavaScript | gpl-3.0 | 498 |
import { clickable, fillable } from 'ember-cli-page-object';
import fields from '../form-field';
export default {
...fields,
ttlValue: fillable('[data-test-ttl-value]'),
ttlUnit: fillable('[data-test-ttl-value]'),
save: clickable('[data-test-save-config]'),
};
| joelthompson/vault | ui/tests/pages/components/auth-config-form/options.js | JavaScript | mpl-2.0 | 270 |
/**
* Advanced OpenWorkflow, Automating SugarCRM.
* @package Advanced OpenWorkflow for SugarCRM
* @copyright SalesAgility Ltd http://www.salesagility.com
*
* 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 Fr... | ben-github/SuiteCRM | modules/AOW_Actions/actions/actionCreateRecord.js | JavaScript | agpl-3.0 | 14,151 |
putCshData(gsProjPath,gaCsh,gaWindow,gaRmtProj);
| SuperMap/iClient-Android-Example | help/html/mergedProjects/forAndroidJavaDoc/whcshdata.js | JavaScript | apache-2.0 | 53 |
/**
* 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... | prateekbh/amphtml | build-system/eslint-rules/no-es2015-number-props.js | JavaScript | apache-2.0 | 1,349 |
'use strict';
var $ = require('../internals/export');
var IS_PURE = require('../internals/is-pure');
var getBuiltIn = require('../internals/get-built-in');
var anObject = require('../internals/an-object');
var aFunction = require('../internals/a-function');
var bind = require('../internals/bind-context');
var speciesCo... | ChromeDevTools/devtools-node-modules | third_party/node_modules/core-js/modules/esnext.map.map-keys.js | JavaScript | apache-2.0 | 1,143 |
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.5.3
description: >
computed property generator method names can be called "constructor"
---*/
class C4 {
*['constructor']() {}
}
| sebastienros/jint | Jint.Tests.Test262/test/language/computed-property-names/class/method/constructor-can-be-generator.js | JavaScript | bsd-2-clause | 289 |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... | staltz/react | src/renderers/shared/stack/event/EventPluginRegistry.js | JavaScript | bsd-3-clause | 9,997 |
var mdeps = require('../');
var test = require('tape');
var JSONStream = require('JSONStream');
var packer = require('browser-pack');
var concat = require('concat-stream');
test('global transforms', function (t) {
t.plan(1);
var p = mdeps(__dirname + '/files/tr_global/main.js', {
transform: [ 'tr-... | frangucc/gamify | www/sandbox/pals/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-js/node_modules/browserify/node_modules/module-deps/test/tr_global.js | JavaScript | mit | 808 |
define(['aeris/util'], function(_) {
/**
* Logical operators for use in constructing
* queries included in Aeris API requests.
*
* @class aeris.api.Operator
* @static
*/
var Operators = {
AND: 'AND',
OR: 'OR'
};
return _.expose(Operators, 'aeris.api.Operator');
});
| MikeLockz/exit-now-mobile | www/lib/aerisjs/src/api/operator.js | JavaScript | mit | 302 |
define(
//begin v1.x content
{
"HKD_displayName": "Dólar de Hong Kong",
"CNY_displayName": "Yuan chinês",
"JPY_displayName": "Iene japonês",
"JPY_symbol": "JP¥",
"USD_displayName": "Dólar americano",
"CAD_symbol": "CA$",
"GBP_displayName": "Libra esterlina",
"CHF_displayName": "Franco suíço",
"CNY_symbol": "CN... | cdnjs/cdnjs | ajax/libs/dojo/1.17.1/cldr/nls/pt/currency.js | JavaScript | mit | 595 |
addModule('RESMenu', function(module, moduleID) {
module.moduleName = 'RES Menu';
module.category = 'Core';
module.description = 'The <span class="gearIcon"></span> dropdown menu to manage RES settings and quick options';
module.alwaysEnabled = true;
module.hidden = true;
module.beforeLoad = function() {
rende... | Goctionni/Reddit-Enhancement-Suite | lib/modules/menu.js | JavaScript | gpl-3.0 | 3,043 |
var validLangs = ["bg","ca","ca@valencia","cs","da","de","el","en","en-GB","es","es-ES","fi","fr","fr-CA","fy","hu","id","it","ja","ko-KR","lt","nb","nl","nn","pl","pt-BR","pt-PT","ru","sv","tr","uk","vi","zh-CN","zh-TW"]
| plouj/syncthing | gui/default/assets/lang/valid-langs.js | JavaScript | mpl-2.0 | 222 |
//>>built
define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","./lambda"],function(k,h,n,g){var l={};h.mixin(g,{filter:function(a,d,c){"string"==typeof a&&(a=a.split(""));c=c||k.global;d=g.lambda(d);var b=[],f,e,m;if(h.isArray(a)){e=0;for(m=a.length;e<m;++e)f=a[e],d.call(c,f,e... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/lang/functional/array.js | JavaScript | apache-2.0 | 1,955 |
/* eslint-env jest */
/**
* @fileoverview Enforce all aria-* properties are valid.
* @author Ethan Cohen
*/
// -----------------------------------------------------------------------------
// Requirements
// -----------------------------------------------------------------------------
import { aria } from 'aria-qu... | BigBoss424/portfolio | v8/development/node_modules/eslint-plugin-jsx-a11y/__tests__/src/rules/aria-props-test.js | JavaScript | apache-2.0 | 2,215 |
var element = document.getElementById("pagination");
var comp = new u.pagination({ el: element,showState:false });
comp.update({ totalPages: 100, pageSize: 20, currentPage: 1, totalCount: 200 });
comp.on('pageChange', function(pageIndex) {
console.log('新的页号为' + pageIndex);
});
comp.on('sizeChange', fu... | iuap-design/neoui | snippets/plugin/jspagination/demo/1-base/widget.js | JavaScript | bsd-2-clause | 402 |
var base = require('./webpack.base.config');
var config = base('production');
// production overrides go here
module.exports = config;
| chrxr/wagtail | webpack.prd.config.js | JavaScript | bsd-3-clause | 139 |
// 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.
import {addWebUIListener} from 'chrome://resources/js/cr.m.js';
import {$} from 'chrome://resources/js/util.m.js';
import {createElementFromText} from './... | ric2b/Vivaldi-browser | chromium/chrome/browser/resources/sync_file_system_internals/task_log.js | JavaScript | bsd-3-clause | 1,852 |
/**
* Copyright 2012 Google, Inc. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/**
* @fileoverview Chrome extension content script.
* Injected onto all pages at all times. Checks for the existence of a special
* cookie ({@see WT... | google/tracing-framework | extensions/wtf-injector-chrome/wtf-injector.js | JavaScript | bsd-3-clause | 15,362 |
// @flow
// The algorithm used to determine whether a regexp can appear at a
// given point in the program is loosely based on sweet.js' approach.
// See https://github.com/mozilla/sweet.js/wiki/design
import { types as tt } from "./types";
import { lineBreak } from "../util/whitespace";
export class TokContext {
... | samwgoldman/babel | packages/babylon/src/tokenizer/context.js | JavaScript | mit | 3,313 |
define(function (require) {
var zrUtil = require('zrender/core/util');
var numberUtil = require('./number');
var textContain = require('zrender/contain/text');
var formatUtil = {};
/**
* 每三位默认加,格式化
* @type {string|number} x
*/
formatUtil.addCommas = function (x) {
if (is... | yhtml5/YHTML5-Work | work-summary/20170115-Annual-Summary/app/bower_components/echarts/src/util/format.js | JavaScript | mit | 4,398 |
export const shared = Object.create(null);
| Hansoft/meteor | tools/tests/apps/dynamic-import/imports/prefetch-child.js | JavaScript | mit | 43 |
(function ($) {
"use strict";
// autoResize option will turn off resizable and draggable.
Drupal.settings.dialog = $.extend({autoResize: true, maxHeight: '95%'}, Drupal.settings.dialog);
/**
* Resets the current options for positioning.
*
* This is used as a window resize and scroll callback to repo... | mhamed/wordtosay | sites/all/modules/contrib/dialog/js/dialog/dialog.position.js | JavaScript | gpl-2.0 | 3,252 |
/*global avadaredux_change, wp, avadaredux*/
(function( $ ) {
"use strict";
avadaredux.field_objects = avadaredux.field_objects || {};
avadaredux.field_objects.slides = avadaredux.field_objects.slides || {};
$( document ).ready(
function() {
//avadaredux.field_objects.slides.init(... | aotash/chemdry | wp-content/themes/chemdry/includes/avadaredux/avadaredux-framework/AvadaReduxCore/inc/fields/slides/field_slides.js | JavaScript | gpl-2.0 | 6,882 |
( function( mw, $ ) { "use strict";
mw.PluginManager.add( 'watermark', mw.KBaseComponent.extend({
defaultConfig: {
"parent": "videoHolder",
"order": "3",
"cssClass": "bottomLeft",
"img": null,
"href": null,
"padding": null,
"hideTimeout": 0
},
isSafeEnviornment: function(){
return this.g... | FlixMaster/mwEmbed | modules/KalturaSupport/resources/uiConfComponents/watermarkPlugin.js | JavaScript | agpl-3.0 | 2,158 |
import { Component, Input } from '@angular/core';
export var NgbDatepickerDayView = (function () {
function NgbDatepickerDayView() {
}
NgbDatepickerDayView.prototype.isMuted = function () { return !this.selected && (this.date.month !== this.currentMonth || this.disabled); };
NgbDatepickerDayView.decorat... | CAH-FlyChen/Evolution.Framework | src/Evolution.Web.Html/wwwroot/lib/@ng-bootstrap/ng-bootstrap/datepicker/datepicker-day-view.js | JavaScript | apache-2.0 | 1,312 |
/*
Copyright (c) 2004-2011, 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
*/
//>>built
define("dojo/data/api/Identity",["../../_base/declare","./Read"],function(b,c){return b("dojo.data.api.Identity",c... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojo/data/api/Identity.js | JavaScript | apache-2.0 | 762 |
Package.describe({
name: 'mizzao:timesync',
summary: 'NTP-style time synchronization between server and client',
version: '0.3.4',
git: 'https://github.com/mizzao/meteor-timesync.git'
});
Package.onUse(function (api) {
api.use([
'check',
'tracker',
'http',
], 'client');
api.use([
'webapp',
], 'ser... | Sing-Li/Rocket.Chat | packages/meteor-timesync/package.js | JavaScript | mit | 666 |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordance with th... | ryancanulla/findMe | web/ext/src/dom/Element_fx.js | JavaScript | mit | 7,489 |
frappe.ui.form.GridRowForm = Class.extend({
init: function(opts) {
$.extend(this, opts);
this.wrapper = $('<div class="form-in-grid"></div>')
.appendTo(this.row.wrapper);
},
render: function() {
var me = this;
this.make_form();
this.form_area.empty();
this.layout = new frappe.ui.form.Layout({
fie... | StrellaGroup/frappe | frappe/public/js/frappe/form/grid_row_form.js | JavaScript | mit | 2,632 |
var irc = require('../lib/irc.js');
var should = require('should');
var _ = require('underscore');
describe("irc.parseMessage", function() {
var checks = {
':irc.dollyfish.net.nz 372 nodebot :The message of the day was last changed: 2012-6-16 23:57': {
prefix: "irc.dollyfish.net.nz",
... | clarkeadg/piratesails | node_modules/sails-irc/node_modules/irc/test/parse-line.js | JavaScript | mit | 3,289 |
ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(acequire, exports, module) {
"use strict";
acequire("ace/lib/fixoldbrowsers");
var themeData = [
["Chrome" ],
["Clouds" ],
["Crimson Editor" ],
["Dawn" ],
["Dreamweaver" ],
... | phupn1510/ELK | kibana/kibana/node_modules/brace/ext/themelist.js | JavaScript | mit | 2,271 |
(function(){var e=function(e){var t=this,n=function(){function r(e){var t="100%",n="0px",r={top:n,bottom:t,left:n,right:t};return r[e]||e}var t="background-position",n=e.camelCase;e.each(["x","y"],function(i,s){var o=n(t+"-"+s);e.cssHooks[o]={get:function(n){var s=e.css(n,t).split(/\s+/,2);return r(s[i])},set:function(... | cjaypierson/lpm | media/foundry/2.1/scripts/backgroundPosition.js | JavaScript | gpl-2.0 | 549 |
(function ($) {
Drupal.behaviors.openlayers_spinjs = {
attach: function (context, settings) {
for (var map_id in settings.spinjs) {
var target = document.getElementById('map-container-' + map_id);
var spinner = new Spinner(settings.spinjs[map_id]).spin(target);
setTimeout(function() ... | KenAdamson/rwb-site | sites/all/modules/openlayers/modules/openlayers_library/src/Plugin/Component/SpinJS/js/spin.js | JavaScript | gpl-2.0 | 465 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'showblocks', 'ko', {
toolbar: '블록 보기'
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ko.js | JavaScript | gpl-3.0 | 222 |
/*
* Copyright (c) 2012 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
* the ri... | MatiasNAmendola/gnome-web | usr/lib/brackets/src/utils/ExtensionUtils.js | JavaScript | gpl-3.0 | 7,333 |
// 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.
/**
* @fileoverview TraceEventImporter imports TraceEvent-formatted data
* into the provided timeline model.
*/
base.require('timeline_model');
bas... | ThangBK2009/android-source-browsing.platform--external--chromium-trace | trace-viewer/src/trace_event_importer.js | JavaScript | bsd-3-clause | 12,543 |
var through = require('through2');
var derequire = require('./');
module.exports = function apply(b, opts) {
var buffers = [];
if (!Array.isArray(opts)) {
opts = undefined;
}
b.pipeline.get('pack').push(through(function(chunk, enc, next) {
buffers.push(chunk);
next();
}, function(next) {
t... | LeoLombardi/tos-laimas-compass | tos-laimas-compass-win32-x64/resources/app/node_modules/derequire/plugin.js | JavaScript | mit | 451 |
require([ 'core/dispatcher' ], function(Dispatcher) {
var global = this;
/**
* Store-testing facilities for jasmine suites.
*
* Exposed facilities:
*
* 1. Global onChange and onError spies
*
* Since it's very common you'll want to pass "onChange" and "onError"
* callbacks to test store acti... | dgynn/canvas-lms | client_apps/canvas_quizzes/apps/statistics/test/helpers/store_suite.js | JavaScript | agpl-3.0 | 2,326 |
//! moment.js locale configuration
//! locale : Gujarati [gu]
//! author : Kaushik Thanki : https://github.com/Kaushik1987
import moment from '../moment';
var symbolMap = {
'1': '૧',
'2': '૨',
'3': '૩',
'4': '૪',
'5': '૫',
'6': '૬',
'7': '૭',
'8': '૮',
... | edwinspire/open-ams | node_modules/moment/src/locale/gu.js | JavaScript | lgpl-3.0 | 4,136 |
define([
'underscore',
'./interval'
],
function (_, Interval) {
'use strict';
var ts = {};
// map compatable parseInt
function base10Int(val) {
return parseInt(val, 10);
}
// trim the ms off of a time, but return it with empty ms.
function getDatesTime(date) {
return Math.floor(date.getTime... | LucidWorks/solr-for-datascience | static/app/panels/rangeFacet/timeSeries.js | JavaScript | apache-2.0 | 5,619 |
// Copyright 2016 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: --allow-natives-syntax
"use strict";
function f(v) {
%DeoptimizeFunction(test);
return 153;
}
function test() {
var o = {};
var q =... | weolar/miniblink49 | v8_7_5/test/mjsunit/compiler/deopt-accessors6.js | JavaScript | apache-2.0 | 484 |
// Copyright 2012 the V8 project authors. 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 ... | weolar/miniblink49 | v8_7_5/test/mjsunit/compiler/osr-sar.js | JavaScript | apache-2.0 | 2,041 |