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 |
|---|---|---|---|---|---|
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
const BIDDER_CODE = 'ias';
const otherBidIds = [];
function isBidRequestValid(bid) {
const { pubId, adUnitPath } = bid.params;
return !!(pubId && adUnitPath);
}
/**
* Converts GPT-style size array into a string
* ... | indexexchange/Prebid.js | modules/iasBidAdapter.js | JavaScript | apache-2.0 | 3,437 |
define(
({
commonCore: {
common: {
add: "הוסף",
edit: "עריכה",
save: "שמור",
next: "הבא",
cancel: "ביטול",
back: "חזור",
apply: "בצע",
close: "סגור",
open: "פתח",
start: "התחלה",
loading: "טוען",
disabledAdmin: "תכונה זו הוגדרה כלא זמינה על ידי המנהל",
width: ... | ssylvia/uboats-in-ww1 | src/app/storymaps/common/_resources/nls/he/core.js | JavaScript | apache-2.0 | 5,950 |
var app = angular.module("exampleApp", []);
app.controller("topLevelCtrl", function ($scope) {
$scope.dataValue = "Hello, Adam";
$scope.reverseText = function () {
$scope.dataValue = $scope.dataValue.split("").reverse().join("");
}
$scope.changeCase = function () {
var result = [];
... | demun/FrontEndStudy | document/AngularJS/source/booksource/Chapter 13/Listing 10.js | JavaScript | apache-2.0 | 1,175 |
/**
* Created by kimi on 14/12/5.
*/
var Backbone = require('backbone');
var $ = require('jquery');
Backbone.$ = $;
module.exports = Backbone.View.extend({
initialize: function(){
console.log('wuuut')
this.render();
},
render: function(){
$('body').prepend('<p>wooooooooooooooo</p>');
}
}); | kimisan/Presentations | quadrant/app-view.js | JavaScript | apache-2.0 | 314 |
Kwf.Auto.Filter.DateRange = function(config)
{
Kwf.Auto.Filter.DateRange.superclass.constructor.call(this, config);
this.fieldFrom = new Kwf.Form.DateField({
width: 80,
value: config.from
});
this.toolbarItems.add(this.fieldFrom);
this.toolbarItems.add(' - ');
this.fieldTo = ne... | nsams/koala-framework | Kwf_js/Auto/Filter/DateRange.js | JavaScript | bsd-2-clause | 2,005 |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides default renderer for the sap.ui.ux3.FacetFilterListRenderer
sap.ui.define(['jquery.sap.global'],
function(jQu... | mindmill/open-cmis-explorer | resources/sap/ui/ux3/FacetFilterListRenderer-dbg.js | JavaScript | bsd-2-clause | 1,699 |
// Copyright (C) 2018 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-asynciteratorprototype-asynciterator
description: Return value of @@asyncIterator
info: |
%AsyncIteratorPrototype% [ @@asyncIterator ] ( )
1. Return the this value.
feat... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/AsyncIteratorPrototype/Symbol.asyncIterator/return-val.js | JavaScript | bsd-2-clause | 618 |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.filter
description: >
The callbackfn return does not change the instance
includes: [testTypedArray.js]
features: [TypedArray]
---*/
testWith... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/TypedArray/prototype/filter/callbackfn-return-does-not-change-instance.js | JavaScript | bsd-2-clause | 602 |
/* ------------------------------------------------------------------------------
*
* # Pink palette colors
*
* Specific JS code additions for colors_pink.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
... | luizaranda/sistema | public/sistema/limitless/assets/js/pages/colors_pink.js | JavaScript | bsd-3-clause | 3,176 |
/**
* Copyright (c) 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.
*
* @provides... | gabelevi/relay | src/traversal/filterRelayQuery.js | JavaScript | bsd-3-clause | 980 |
/**
* @fileOverview Low level JSGI adapter implementation.
*/
var {Headers, getMimeParameter} = require('ringo/utils/http');
var {Stream} = require('io');
var {Binary, ByteString} = require('binary');
var system = require('system')
export('handleRequest', 'AsyncResponse');
var log = require('ringo/logging').getLogg... | Geoneer/GeoExplorer | externals/ringojs/modules/ringo/jsgi/connector.js | JavaScript | bsd-3-clause | 12,558 |
'use strict';
var Evented = require('../../node_modules/mapbox-gl/js/util/evented');
var util = require('../../node_modules/mapbox-gl/js/util/util');
var SouthAmerica = require('../fixtures/south-america.json');
var formatNumber = require('../lib/format_number');
var fpsRunner = require('../lib/fps');
var DragMouse = ... | hendrikusR/open-layer | widget/assets/draw/mapbox-gl-draw/bench/tests/direct_select_large_zoomed.js | JavaScript | bsd-3-clause | 1,449 |
CKEDITOR.plugins.setLang("colorbutton","et",{auto:"Automaatne",bgColorTitle:"Tausta värv",colors:{"000":"Must",8E5:"Kastanpruun","8B4513":"Sadulapruun","2F4F4F":"Tume paehall","008080":"Sinakasroheline","000080":"Meresinine","4B0082":"Indigosinine",696969:"Tumehall",B22222:"Šamottkivi",A52A2A:"Pruun",DAA520:"Kuldkolla... | Battleangel/bitfinexlendingbot | www/admin_lte/bower_components/ckeditor/plugins/colorbutton/lang/et.js | JavaScript | gpl-3.0 | 1,445 |
// ==UserScript==
// @id iitc-plugin-highlight-forgotten@jonatkins
// @name IITC plugin: Inactive portals. Hightlight unclaimed portals with no recent activity
// @category Highlighter
// @version 0.1.0.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-... | jarridgraham/ingress-intel-total-conversion | plugins/portal-highlighter-forgotten.user.js | JavaScript | isc | 2,055 |
/*
* Document : base_pages_ecom_dashboard.js
* Author : pixelcave
* Description: Custom JS code used in eCommerce Dashboard Page
*/
var BasePagesEcomDashboard = function() {
// Chart.js Chart, for more examples you can check out http://www.chartjs.org/docs
var initOverviewChart = function(){
... | phuong101899/adminfe.xuongquanaonu.com | themes/OneUI/03 - OneUI Source (PHP)/src/assets/js/pages/base_pages_ecom_dashboard.js | JavaScript | mit | 2,364 |
"use strict";
function transmitter() {
var subscriptions = [];
var unsubscribe = function unsubscribe(onChange) {
var id = subscriptions.indexOf(onChange);
if (id >= 0) subscriptions.splice(id, 1);
};
var subscribe = function subscribe(onChange) {
subscriptions.push(onChange);
var dispose = f... | Vincent-yz/react-creater | seeds/node_modules/alt/node_modules/transmitter/dist/transmitter.js | JavaScript | mit | 663 |
/**
* @fileoverview Tests for source-code-util.
* @author Ian VanSchooten
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var path = require("path"),
fs = require(... | pmcelhaney/eslint | tests/lib/util/source-code-util.js | JavaScript | mit | 9,471 |
/* global QUnit */
// import { Material } from '../../../../src/materials/Material.js';
export default QUnit.module( 'Materials', () => {
QUnit.module( 'Material', () => {
// INSTANCING
QUnit.todo( 'Instancing', ( assert ) => {
assert.ok( false, 'everything\'s gonna be alright' );
} );
// PUBLIC STUF... | looeee/three.js | test/unit/src/materials/Material.tests.js | JavaScript | mit | 1,097 |
'use strict';
var test = require('tape');
test('using a custom httpAgent', function(t) {
t.plan(5);
var httpProxy = require('http-proxy');
var proxyAgent = require('proxy-agent');
var createServer = require('../../utils/create-server');
var proxyServer = createServer.http();
var server = createServer.ht... | Acidburn0zzz/algoliasearch-client-js | test/spec/node/custom-http-agent.js | JavaScript | mit | 2,038 |
/*! @license Firebase v3.7.0
Build: 3.7.0-rc.2
Terms: https://developers.google.com/terms */
'use strict';
var fs = require('fs');
var https = require('https');
var jwt = require('jsonwebtoken');
var firebase = require('../app-node');
var ALGORITHM = 'RS256';
var ONE_HOUR_IN_SECONDS = 60 * 60;
// List of bl... | Asha20/begonia | node_modules/firebase/server-auth-node/token-generator.js | JavaScript | mit | 10,441 |
/*globals define, _, $ */
/*jshint browser: true*/
/**
* @author rkereskenyi / https://github.com/rkereskenyi
*/
define(['./ToolbarItemBase'], function (ToolbarItemBase) {
'use strict';
var ToolbarLabel,
EL_BASE = $('<div class="toolbar-label"></div>');
ToolbarLabel = function (/* params */) ... | dhadka/webgme | src/client/js/Toolbar/ToolbarLabel.js | JavaScript | mit | 702 |
Behaviour.specify(".build-button-column-icon-reference-holder", 'build-button-column', 0, function (e) {
var url = e.getAttribute('data-url');
var message = e.getAttribute('data-notification')
var id = e.getAttribute('data-id');
var icon = document.getElementById(id);
icon.onclick = function(el) {
... | v1v/jenkins | core/src/main/resources/hudson/views/BuildButtonColumn/icon.js | JavaScript | mit | 431 |
jQuery.fn.dataTableExt.oApi.fnDataUpdate=function(e,n,t){jQuery(n).find("TD").each(function(n){n=e.oApi._fnVisibleToColumnIndex(e,n);e.oApi._fnSetCellData(e,t,n,jQuery(this).html())})}; | cdnjs/cdnjs | ajax/libs/datatables-plugins/1.11.5/api/fnDataUpdate.min.js | JavaScript | mit | 185 |
({"buttonSet":"설정","insertTableTitle":"테이블 삽입","insertTableRowAfterLabel":"뒤에 행 추가","center":"가운데","deleteTableColumnLabel":"열 삭제","right":"오른쪽","insertTableColumnBeforeLabel":"앞에 열 추가","tableWidth":"테이블 너비:","buttonInsert":"삽입","default":"기본값","align":"맞추기:","insertTableRowBeforeLabel":"앞에 행 추가","cellSpacing":"셀 간격:",... | wl6179/O2O_SNS_Restaurant | scriptcokeshowcomcndojov110/dojox/editor/plugins/nls/ko/TableDialog.js | JavaScript | mit | 790 |
/**
* Copyright (c) 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.
*
*/
'use str... | kssujithcj/TestMobileCenter | node_modules/react-test-renderer/lib/ReactTestRenderer.js | JavaScript | mit | 540 |
'use strict';
module.exports = function (client, stanzas, config) {
var smacks = function (features, cb) {
var self = this;
if (!config.useStreamManagement) {
return cb();
}
self.on('stream:management:enabled', 'sm', function (enabled) {
self.sm.enabled(e... | glpenghui/stanza.io | lib/plugins/smacks.js | JavaScript | mit | 1,629 |
Clazz.declarePackage ("org.eclipse.jface.bindings.keys");
Clazz.load (["org.eclipse.jface.bindings.keys.IKeyLookup", "java.util.HashMap"], "org.eclipse.jface.bindings.keys.SWTKeyLookup", ["$wt.SWT"], function () {
c$ = Clazz.decorateAsClass (function () {
this.modifierKeyTable = null;
this.nameTable = null;
this.natur... | royleexhFake/mayloon-portingtool | sources/net.sf.j2s.lib/j2slib/org/eclipse/jface/bindings/keys/SWTKeyLookup.js | JavaScript | epl-1.0 | 10,237 |
/**
This controller supports the interface for dealing with API keys
@class AdminApiController
@extends Ember.ArrayController
@namespace Discourse
@module Discourse
**/
Discourse.AdminApiController = Ember.ArrayController.extend({
actions: {
/**
Generates a master api key
@method generate... | driftyco/discourse | app/assets/javascripts/admin/controllers/admin_api_controller.js | JavaScript | gpl-2.0 | 1,635 |
//\/////
//\ overLIB Crossframe Support Plugin
//\ This file requires overLIB 4.10 or later.
//\
//\ overLIB 4.05 - You may not remove or change this notice.
//\ Copyright Erik Bosrup 1998-2004. All rights reserved.
//\ Contributors are listed on the homepage.
//\ See http://www.bosrup.com/web/overlib/ for detail... | bobpuffer/1.9.12-LAE1.3 | lib/overlib/overlib_crossframe.js | JavaScript | gpl-2.0 | 2,404 |
/**
* The qx.ui.table.celleditor package.
*/
| omid/webian | usr/qx/sdk/framework/source/class/qx/ui/table/celleditor/__init__.js | JavaScript | gpl-2.0 | 47 |
import { Meteor } from "meteor/meteor";
import { check, Match } from "meteor/check";
import { Random } from "meteor/random";
import { Shipping } from "/lib/collections";
import { ShippingMethod } from "/lib/collections/schemas";
import { Reaction } from "/server/api";
import { shippingRoles } from "../lib/roles";
expo... | together-web-pj/together-web-pj | imports/plugins/included/shipping-rates/server/methods/rates.js | JavaScript | gpl-3.0 | 2,797 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.messages = exports.ruleName = undefined;
exports.default = function (expectation, options) {
var checker = (0, _utils.whitespaceChecker)("space", expectation, messages);
return function (root, result) {
var validOptions = (... | AmrataRamchandani/moodle | node_modules/stylelint/dist/rules/block-opening-brace-space-before/index.js | JavaScript | gpl-3.0 | 2,810 |
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, de... | Elektro1776/latestEarthables | core/client/tmp/broccoli_persistent_filterbabel-output_path-r5BDANvP.tmp/modules/liquid-fire/action.js | JavaScript | gpl-3.0 | 1,730 |
// --
// 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.CustomerInformationCenterSearch.js | JavaScript | agpl-3.0 | 4,806 |
// Copyright 2013 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... | googlei18n/google-input-tools | chrome/os/ime/zhuyinlocalstoragehandler.js | JavaScript | apache-2.0 | 3,986 |
import { _, config, log, lazy_require, set_config, fsAsync } from 'azk';
import { defer, async, promiseResolve } from 'azk/utils/promises';
import { publish } from 'azk/utils/postal';
import { Pid } from 'azk/utils/pid';
import { AgentStopError } from 'azk/utils/errors';
var lazy = lazy_require({
Server : ['azk/agen... | juniorribeiro/azk | src/agent/index.js | JavaScript | apache-2.0 | 3,932 |
chorus.models.HdfsDataSource = chorus.models.AbstractDataSource.extend({
constructorName: "HdfsDataSource",
urlTemplate: "hdfs_data_sources/{{id}}",
showUrlTemplate: "hdfs_data_sources/{{id}}/browse/",
shared: true,
entityType: "hdfs_data_source",
isShared: function() {
return true;
... | kevin-alpine/chorus-models-upgrade | app/assets/javascripts/models/hdfs_data_source.js | JavaScript | apache-2.0 | 1,537 |
import isSameUTCWeek from '../../../../_lib/isSameUTCWeek/index.js';
var accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу'];
function lastWeek(day) {
var weekday = accusativeWeekdays[day];
switch (day) {
case 0:
case 3:
case 5:
case 6:
return "... | BigBoss424/portfolio | v8/development/node_modules/date-fns/esm/locale/be/_lib/formatRelative/index.js | JavaScript | apache-2.0 | 1,705 |
/**
* @license
* 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
*/
CLASS({
pack... | osric-the-knight/foam | js/foam/metrics/ScreenViewTrait.js | JavaScript | apache-2.0 | 800 |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | alvarosimon/one | src/sunstone/public/app/tabs/vms-tab/dialogs/migrate/dialogId.js | JavaScript | apache-2.0 | 1,273 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Inside a CharacterClass, \b means the backspace character
es5id: 15.10.2.13_A3_T4
description: Execute /[^\[\b\]]+/.exec("abcdef") and check results
---*/
var __executed = /[... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/RegExp/S15.10.2.13_A3_T4.js | JavaScript | bsd-2-clause | 1,280 |
/*
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_ko-KR",function(a){a.Intl.add("datatype-date-format","ko-KR",{"a":["일","월","화","수","목","금","토"],"A":["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],"... | bretkikehara/wattdepot-visualization | src/main/webapp/yui/3.6.0/build/datatype-date-format/lang/datatype-date-format_ko-KR.js | JavaScript | bsd-3-clause | 714 |
/**
* 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.
*
* @provides... | mrspeaker/react-native | website/layout/DocsLayout.js | JavaScript | bsd-3-clause | 2,363 |
/**
* 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... | rlugojr/react | src/renderers/shared/shared/event/ReactControlledComponent.js | JavaScript | bsd-3-clause | 2,674 |
'use strict';
module.exports = {
dist: {
files: [{
dot: true,
src: [
'.tmp',
'<%= settings.dist %>/*',
'!<%= settings.dist %>/.git*'
]
}]
},
server: '.tmp',
postBuild: {
src: '<%= settings.dist %... | rek/gravbar | grunt/clean.js | JavaScript | mit | 339 |
"use strict";
/**
* @see {@link ajax}
*
* @interface
* @name AjaxRequest
* @noimport true
*/
var AjaxRequestDoc = (function () {
function AjaxRequestDoc() {
/**
* @type {string}
*/
this.url = '';
/**
* @type {number}
*/
this.body = 0;
... | vidyutron/vidyutron.github.io | vendor/libs/rxjs/src/observable/dom/MiscJSDoc.js | JavaScript | mit | 1,537 |
var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push({
name:'Yfrog',
version:'0.2',
prepareImgLinks:function (callback) {
var res = [];
$('a[data-expanded-url^="http://yfrog."], img[src*=":twthumb"]').each(function () {
var _this = $(this),
url = t... | smaltby/hoverzoom | plugins/yfrog.js | JavaScript | mit | 586 |
var request = require('request');
var Promise = require('promise');
var md5 = require('md5');
var SDK = require('botkit-studio-sdk');
module.exports = function(controller) {
var before_hooks = {};
var after_hooks = {};
var answer_hooks = {};
// define a place for the studio specific features to live.... | ljfranklin/bosh-bot | node_modules/botkit/lib/Studio.js | JavaScript | mit | 23,065 |
'use strict';
(function() {
// Sales Controller Spec
describe('Sales Controller Tests', function() {
// Initialize global variables
var SalesController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the resour... | kiosco-soul/kiosco-soul | public/modules/sales/tests/sales.client.controller.test.js | JavaScript | mit | 4,879 |
/*
* Copyright (c) 2013 - 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
* ... | pratts/brackets | src/nls/ja/urls.js | JavaScript | mit | 1,440 |
/*!
* filename: ej.localetexts.ms-MY.js
* Copyright Syncfusion Inc. 2001 - 2016. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicab... | PeterDaveHello/jsdelivr | files/syncfusion-ej-global/14.4.15/l10n/ej.localetexts.ms-MY.js | JavaScript | mit | 79,430 |
version https://git-lfs.github.com/spec/v1
oid sha256:62ef7f2780e81d2881d1c8f3739cd6234f0be1b2e54e0715dbf7f853e7685cd9
size 9090
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.7.2/event-focus/event-focus.js | JavaScript | mit | 129 |
(function(){
var rqCollection;
var proj = null;
var queueItem;
var moduleItem;
var destinationFile;
var counter = 0;
var templateName = 'HTML_bodyMoving_template';
var filesDirectory;
function addComposition(comp){
filesDirectory = new Folder(exportFolder.fullName+'/temp');
... | bishopZ/bodymovin | parser/RQManager.js | JavaScript | mit | 3,739 |
/*!
* Connect - errorHandler
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var utils = require('../utils')
, url = require('url')
, fs = require('fs');
/**
* Flexible error handler, providing (_optional_) stack traces
* and error mess... | peterfraedrich/passgen | node_modules/connect/lib/middleware/errorHandler.js | JavaScript | mit | 2,778 |
tutao.provide('tutao.tutanota.ctrl.lang.cy_gb');
tutao.tutanota.ctrl.lang.cy_gb.writing_direction = "ltr";
tutao.tutanota.ctrl.lang.cy_gb.id = "cy_gb";
tutao.tutanota.ctrl.lang.cy_gb.keys = {
"linkedin_label": "LinkedIn",
"xing_label": "XING"
}; | msoftware/tutanota-1 | web/js/ctrl/lang/cy_gb.js | JavaScript | gpl-3.0 | 249 |
$(document).ready(function () {
$('a.shutdown').bind("click",function(e) {
e.preventDefault();
var target = $( this ).attr('href');
$.confirm({
'title' : 'Shutdown',
'message' : 'Are you sure you want to shutdown SickRage ?',
'buttons' : {
'Yes' : {
'class' : 'green',
'action': function()... | gylian/sickrage | gui/slick/js/confirmations.js | JavaScript | gpl-3.0 | 2,985 |
"use strict";
var t = [4];
var stop;
Object.freeze(t);
do {
let ok = false;
stop = inIon();
try {
t[1] = 2;
} catch(e) {
ok = true;
}
assertEq(ok, true);
assertEq(t.length, 1);
assertEq(t[1], undefined);
} while (!stop);
| Yukarumya/Yukarum-Redfoxes | js/src/jit-test/tests/basic/define-frozen-dense-strict.js | JavaScript | mpl-2.0 | 269 |
$(document).ready(function() {
$('.btn-send').click(function() {
var email = $('[name="email"]').val();
var message = $('[name="message"]').val();
if(!(email && message)) {
msgprint("Please enter both your email and message so that we \
can get back to you. Thanks!");
return false;
}
if(!valid_... | gangadhar-kadam/mtn-erpnext | website/templates/js/contact.js | JavaScript | agpl-3.0 | 876 |
// [Name] SVGLineElement-svgdom-x2-prop.js
// [Expected rendering result] green line from 10x10 to 200x200 - and a series of PASS messages
description("Tests dynamic updates of the 'x2' property of the SVGLineElement object")
createSVGTestCase();
var lineElement = createSVGElement("line");
lineElement.setAttribute("x... | youfoh/webkit-efl | LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-x2-prop.js | JavaScript | lgpl-2.1 | 805 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The [[Value]] property of the newly constructed object
* with supplied "undefined" argument should be NaN
*
* @path ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js
* @description 4 argumen... | popravich/typescript | tests/Fidelity/test262/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js | JavaScript | apache-2.0 | 1,519 |
/*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | watonyweng/horizon | horizon/static/framework/util/tech-debt/modal-form-update-metadata-ctrl.js | JavaScript | apache-2.0 | 1,332 |
'use strict';
const {PORT} = require('../serve');
const HOST = 'localhost';
// Base tests do not run any special code other than loading the page. Use this
// no-op function instead of null for easier type checking.
const BASE_TEST_FUNCTION = async () => {};
module.exports = {
BASE_TEST_FUNCTION,
HOST,
PORT,
... | alanorozco/amphtml | build-system/tasks/visual-diff/consts.js | JavaScript | apache-2.0 | 323 |
enyo.kind({
name: "onyx.sample.SliderSample",
classes: "onyx onyx-sample",
components: [
{classes: "onyx-sample-divider", content: "Sliders"},
{kind: "onyx.Slider", value: 50, onChanging:"sliderChanging", onChange:"sliderChanged"},
{tag: "br"},
{kind: "onyx.Slider", lockBar: false, value: 50, onChanging:"sli... | onecrayon/onyx | samples/SliderSample.js | JavaScript | apache-2.0 | 4,003 |
/**
* @fileoverview Validate props indentation in JSX
* @author Yannick Croissant
* This rule has been ported and modified from eslint and nodeca.
* @author Vitaly Puzrin
* @author Gyandeep Singh
* @copyright 2015 Vitaly Puzrin. All rights reserved.
* @copyright 2015 Gyandeep Singh. All rights reserved.
Copyri... | BigBoss424/portfolio | v8/development/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js | JavaScript | apache-2.0 | 5,007 |
import { default as React } from "react";
const Header = () => (
<div className="page-header">
<h1>World Meteorite Impacts</h1>
</div>
);
export default Header;
| doug-wade/react-server | packages/react-server-examples/meteor-site/components/Header.js | JavaScript | apache-2.0 | 167 |
(function( $, app, i18n ) {
var ui = app.ns("ui");
ui.SidebarSection = ui.AbstractWidget.extend({
defaults: {
title: "",
help: null,
body: null,
open: false
},
init: function() {
this._super();
this.el = $( this._main_template() );
this.body = this.el.children(".uiSidebarSection-body");
... | vimac/elasticsearch-rtf | plugins/head/_site/src/app/ui/sidebarSection/sidebarSection.js | JavaScript | apache-2.0 | 1,400 |
type JestMockFn = {
(...args: Array<any>): any,
/**
* An object for introspecting mock calls
*/
mock: {
/**
* An array that represents all calls that have been made into this mock
* function. Each call is represented by an array of arguments that were
* passed during the call.
*/
... | dguo/yarn | flow-typed/npm/jest_v18.x.x.js | JavaScript | bsd-2-clause | 13,747 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding-for-await/obj-ptrn-id-init-fn-name-cover.case
// - src/dstr-binding-for-await/default/for-await-of-async-func-let.template
/*---
description: SingleNameBinding assigns `name` to "anonymous" functions "through" cover grammar (for-a... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/for-await-of/async-func-dstr-let-obj-ptrn-id-init-fn-name-cover.js | JavaScript | bsd-2-clause | 2,234 |
// 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.
/**
* @fileoverview Keeps track of live regions on the page and speaks updates
* when they change.
*
*/
goog.provide('cvox.LiveRegions');
goog.requi... | sgraham/nope | chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js | JavaScript | bsd-3-clause | 15,293 |
// META: title=Scheduler: Signal inheritance
// META: global=window,worker
'use strict';
promise_test(t => {
const controller = new TaskController({priority: 'user-blocking'});
return scheduler.postTask(async () => {
await new Promise(resolve => setTimeout(resolve, 0));
const task = scheduler.postTask(() =... | scheib/chromium | third_party/blink/web_tests/external/wpt/scheduler/tentative/current-task-signal-async-abort.any.js | JavaScript | bsd-3-clause | 567 |
require('tko-policy')(require('gulp'))
| knockout/tko.filter.punches | gulpfile.js | JavaScript | mit | 39 |
/*!
* angular-datatables - v0.4.2
* https://github.com/l-lin/angular-datatables
* License: MIT
*/
(function (window, document, $, angular) {
'use strict';
// See http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html
angular.module('datatables.columnfilter', ['datatables'])
.config(dtColum... | pld2005/melina | public/lib/angular-datatables/dist/plugins/columnfilter/angular-datatables.columnfilter.js | JavaScript | mit | 2,313 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
else if(typeof define === 'function' && define.amd)
define(["vue"], factory);
else if(typeof exports === 'object')
exports["Vuetify"] = factory(req... | cdnjs/cdnjs | ajax/libs/vuetify/1.2.0-beta.1/vuetify.js | JavaScript | mit | 865,877 |
/*
* jQuery UI Draggable @VERSION
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Draggables
*
* Depends:
* ui.core.js
*/
(function($) {
$.widget("ui.draggable", $.extend({}, $... | amarandon/opencore | opencore/views/static/jquery-ui/grid/ui/ui.draggable.js | JavaScript | gpl-2.0 | 26,930 |
(function( $ ) {
var shortcode = '',
alertBoxShortcode,
layoutShortcode;
$('#shortcode-dropdown').live('change', function() {
var $currentShortcode = $(this).val();
// Reset everything
$('#shortcode').empty();
alertBoxShortcode = false;
layoutShortcode = false;
/* ------------------------------... | misfit-inc/secretsessions.co.uk | wp-content/themes/secretsession/library/tinymce/js/scripts.js | JavaScript | gpl-2.0 | 29,520 |
;(function (require, define) {
// We do not wish to bundle common libraries (that may also be used by non-RequireJS code on the page
// into the optimized files. Therefore load these libraries through script tags and explicitly define them.
// Note that when the optimizer executes this code, window will no... | analyseuc3m/ANALYSE-v1 | lms/static/lms/js/require-config.js | JavaScript | agpl-3.0 | 7,852 |
$.wa_blog = $.extend(true, $.wa_blog,
{
plugins_category : {
options : {
loader : '<i class="b-ajax-status-loading icon16 loading"></i>'
},
counter:0,
ajaxInit : function() {
var self = this;
$("#b-plugins-categories .b-category-add").live('click.p... | dmitriyzhdankin/avantmarketcom | wa-apps/blog/plugins/category/js/settings.js | JavaScript | lgpl-3.0 | 4,997 |
'use strict';
var ko = require('ko');
var i18n = require('br/I18n');
function @bladeTitleViewModel() {
this._eventHub = require('service!br.event-hub');
this.welcomeMessage = ko.observable('Welcome to your new Blade.');
this.buttonClickMessage = ko.observable(i18n('@bladeNamespace.button.click.message'));
this._l... | trueadm/brjs | brjs-sdk/sdk/templates/default/blade/src/@bladeTitleViewModel.js | JavaScript | lgpl-3.0 | 684 |
// 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 applicable... | tangfeixiong/dashboard | src/test/frontend/statefulsetdetail/statefulsetinfo_component_test.js | JavaScript | apache-2.0 | 1,791 |
//// [tests/cases/conformance/externalModules/reexportClassDefinition.ts] ////
//// [foo1.ts]
class x{}
export = x;
//// [foo2.ts]
import foo1 = require('./foo1');
export = {
x: foo1
}
//// [foo3.ts]
import foo2 = require('./foo2')
class x extends foo2.x {}
//// [foo1.js]
"use strict";
var x = /*... | basarat/TypeScript | tests/baselines/reference/reexportClassDefinition.js | JavaScript | apache-2.0 | 1,406 |
var checkuser = angular.module('checkuser', ['ngRoute','tc.chartjs','checklist-model']);
checkuser.config(['$routeProvider',function($routeProvider) {
$routeProvider
.when('/index', {
template: "<div ng-include src=template ng-init=template='collettion/intro.html'></div>",
controller: 'Loginco... | CE-KMITL-OOAD-2014/Fux | fux/WerewolfProject/WEREWOLFGAME/WebContent/bootstrap-3.2.0-dist/js/app.js | JavaScript | apache-2.0 | 849 |
// 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 applicable... | tangfeixiong/dashboard | src/app/frontend/statefulsetdetail/statefulsetdetail_stateconfig.js | JavaScript | apache-2.0 | 2,704 |
/*
* Copyright (c) 2013, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
require(['page-loader', 'fastclick', 'domReady!'], function (pageLoader, Fastc... | dliu32x/webapps-slider-puzzle | app/js/main.js | JavaScript | apache-2.0 | 2,577 |
// avalon 1.3.6
/**
*
* @cnName 日期选择器
* @enName datepicker
* @introduce
* <p>datepicker组件方便快速创建功能齐备的日历组件,通过不同的配置日历可以满足显示多个月份、通过prev、next切换月份、或者通过下拉选择框切换日历的年份、月份,当然也可以手动输入日期,日历组件也会根据输入域中的日期值高亮显示对应日期等等各种需求</p>
*/
define(["../avalon.getModel",
"./avalon.datepicker.lang",
"text!./avalon.datepicke... | GSSBuse/GSSB | src/main/webapp/static/frontend-jam/static/vendors/avalon/plugin/datepicker/avalon.datepicker.js | JavaScript | apache-2.0 | 60,810 |
(function(angular) {
'use strict';
angular.module('xpsui:directives')
.directive('xpsuiPortalMenuRender', ['$http', '$route', '$compile', '$location',
function($http, $route, $compile, $location) {
return {
restrict: 'A',
link: function(scope, elm, attrs, ctrls) {
var loadingDiv = angular.el... | peterkacinec/registries | src/client/js/xpsui/directives/portal-menu-render.js | JavaScript | bsd-2-clause | 2,086 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 10.4.3-1-36-s
description: >
Strict Mode - checking 'this' (FunctionDeclaration defined within
a FunctionDeclaration with a strict directive prologue)
flags: [noSt... | sebastienros/jint | Jint.Tests.Test262/test/language/function-code/10.4.3-1-36-s.js | JavaScript | bsd-2-clause | 519 |
/**
* @fileoverview Ensure handling of errors when we know they exist.
* @author Jamund Ferguson
* @deprecated in ESLint v7.0.0
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//-------------------------------------------------------------------... | ChromeDevTools/devtools-frontend | node_modules/eslint/lib/rules/handle-callback-err.js | JavaScript | bsd-3-clause | 3,071 |
/**
* 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 Trace event registration utilities.
*
* @author benvanik@google.com (Ben Vanik)
*/
goog.provide('wtf.trace.events');
goog.requ... | google/tracing-framework | src/wtf/trace/events.js | JavaScript | bsd-3-clause | 4,378 |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery'
],function($){
'use strict';
function KeyboardHandler() {
var body = $('body'),
focusState = false,
tabFocusClass = '_keyfocus',
products... | j-froehlich/magento2_wk | vendor/magento/magento2-base/lib/web/mage/smart-keyboard-handler.js | JavaScript | mit | 2,163 |
version https://git-lfs.github.com/spec/v1
oid sha256:0193a66d4dbf529c34e84bbba6674bc874a7f9a7a8a070bf7244e0a10a091c94
size 5333
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/cldr/nls/hebrew.js.uncompressed.js | JavaScript | mit | 129 |
odoo.define('mail.composer', function (require) {
"use strict";
var chat_manager = require('mail.chat_manager');
var core = require('web.core');
var data = require('web.data');
var dom_utils = require('web.dom_utils');
var Model = require('web.Model');
var session = require('web.session');
var Widget = require('web.W... | vileopratama/vitech | src/addons/mail/static/src/js/composer.js | JavaScript | mit | 27,016 |
var crypto = require('crypto');
var scmp = require('scmp');
var utils = require('keystone-utils');
// The DISABLE_CSRF environment variable is available to automatically pass
// CSRF validation. This is useful in development scenarios where you want to
// restart the node process and aren't using a persistent session ... | Pop-Code/keystone | lib/security/csrf.js | JavaScript | mit | 3,651 |
function dec(target, name, descriptor) {
assert(target);
assert.equal(typeof name, "string");
assert.equal(typeof descriptor, "object");
target.decoratedProps = (target.decoratedProps || []).concat([name]);
let initializer = descriptor.initializer;
return {
enumerable: name.indexOf('enum') !== -1,
... | ccschneidr/babel | packages/babel-plugin-transform-decorators/test/fixtures/class-static-properties/return-descriptor/exec.js | JavaScript | mit | 2,345 |
describe('$uibResolve', function() {
beforeEach(module('ui.bootstrap.modal'));
it('should resolve invocables and return promise with object of resolutions', function() {
module(function($provide) {
$provide.factory('bar', function() {
return 'bar';
});
});
inject(function($q, $root... | web-mi/Zulip-Messenger | www/node_modules/angular-ui-bootstrap/src/modal/test/modal.spec.js | JavaScript | mit | 53,841 |
/*
* Fuel UX Tree
* https://github.com/ExactTarget/fuelux
*
* Copyright (c) 2014 ExactTarget
* Licensed under the BSD New license.
*/
// -- BEGIN UMD WRAPPER PREFACE --
// For more information on UMD visit:
// https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
(function (factory) {
if (typeof define ===... | herzcthu/Laravel-HS | resources/assets/vendor/fuelux/js/tree.js | JavaScript | gpl-2.0 | 17,754 |
/**
* build.config.requirejs
*/
module.exports = function(grunt) {
'use strict';
var config = grunt.config.get('config'),
// list all your exludes
exclude = [],
// takes an array of modules you don't want excluded and removes
// from the exclude list. This is used in the excludeShallow p... | rochestb/boilerplate-frontend | build/config/requirejs.js | JavaScript | gpl-3.0 | 2,774 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
Filename: control_char... | SlateScience/MozillaJS | js/src/tests/js1_2/regexp/control_characters.js | JavaScript | mpl-2.0 | 1,362 |
// Copyright 2016 The Oppia 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 ap... | jestapinski/oppia | core/templates/dev/head/pages/collection_editor/editor_tab/CollectionLinearizerService.js | JavaScript | apache-2.0 | 11,124 |
// Copyright 2019 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.
chrome.test.runTests([
function testOnSessionStateChanged() {
chrome.loginState.onSessionStateChanged.addListener(sessionState => {
chrome.tes... | ric2b/Vivaldi-browser | chromium/chrome/test/data/extensions/api_test/login_screen_apis/login_state/on_session_state_changed/test.js | JavaScript | bsd-3-clause | 432 |
/*eslint strict:0*/
var server = require('webserver').create();
var service = server.listen(8090, function(request, response) {
response.statusCode = 200;
response.headers = {
'Content-Language': 'en',
'Content-Type': 'text/html',
'Date': new Date().toUTCString()
};
if (request.u... | n1k0/casperjs | tests/suites/casper/headers.js | JavaScript | mit | 2,583 |