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 {defineElement} from './web-component';
defineElement();
| ampproject/amphtml | src/bento/components/bento-inline-gallery/1.0/bento-inline-gallery.js | JavaScript | apache-2.0 | 65 |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'button', 'gl', {
selectedLabel: '%1 (seleccionado)'
} );
| ldilov/uidb | plugins/ckeditor/plugins/button/lang/gl.js | JavaScript | apache-2.0 | 249 |
function foo() {
alert(translate("You called foo!"));
}
| cedhavalpanchal/phonegap-myapp | platforms/blackberry10/cordova/node_modules/localize/test/xlocalize/subdir/test2.js | JavaScript | apache-2.0 | 57 |
window.onload = function () {
editor.setOpt({
emotionLocalization:false
});
emotion.SmileyPath = editor.options.emotionLocalization === true ? 'images/' : "http://img.baidu.com/hi/";
emotion.SmileyBox = createTabList( emotion.tabNum );
emotion.tabExist = createArr( emotion.tabNum );
... | zcpdog/railsueditor | vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js | JavaScript | mit | 6,487 |
// Fine Uploader 5.15.1 - MIT licensed. http://fineuploader.com
(function(global) {
(function($) {
"use strict";
var $el, pluginOptions = [ "uploaderType", "endpointType" ];
function init(options) {
var xformedOpts = transformVariables(options || {}), newUploaderInstance = getNew... | seogi1004/cdnjs | ajax/libs/file-uploader/5.15.1/azure.jquery.fine-uploader/azure.jquery.fine-uploader.js | JavaScript | mit | 380,546 |
define(function() {
var theme = {
// 默认色板
color: [
'#2ec7c9','#b6a2de','#5ab1ef','#ffb980','#d87a80',
'#8d98b3','#e5cf0d','#97b552','#95706d','#dc69aa',
'#07a2a4','#9a7fd1','#588dd5','#f5994e','#c05050',
'#59678c','#c9ab00','#7eb00a','#6f5553','#c14089'
],
// 图表标题
t... | Willie1234/Inforvellor-master | target/gbdbas/static/js/eachart/theme/macarons.js | JavaScript | mit | 8,150 |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
accordionDetailsClasses: true
};
Object.d... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.36/node/AccordionDetails/index.js | JavaScript | mit | 1,188 |
describe("Ext.layout.container.Dashboard", function() {
var panel;
function makeItem (itemConfig) {
return Ext.apply({
xtype: 'component',
style: 'margin: 4px;'
}, itemConfig);
}
function makePanel (parentConfig, childConfig) {
var items = [];
i... | elasticsearcher/Bizcuit | src/ui/ext/classic/classic/test/specs/layout/container/Dashboard.js | JavaScript | gpl-3.0 | 4,412 |
var class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_tax_base_amount_type =
[
[ "TaxBaseAmountTypeCode", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_tax_base_amount_type.html#a5712734cefd50ee3d12dbc28c4eb4b66", null ],
[ "TaxBaseAmountTypeName", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_tax_bas... | mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_tax_base_amount_type.js | JavaScript | gpl-3.0 | 384 |
// META: script=/resources/testharness.js
// META: script=/resources/testharnessreport.js
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=/bluetooth/resources/bluetooth-test.js
// META: script=/bluetooth/resources/bluetooth-fake-devices.js
'use strict';
const tes... | chromium/chromium | third_party/blink/web_tests/external/wpt/bluetooth/server/getPrimaryServices/services-found-with-uuid.https.window.js | JavaScript | bsd-3-clause | 1,057 |
'use strict';
exports.__esModule = true;
var _postcssSelectorParser = require('postcss-selector-parser');
var _postcssSelectorParser2 = _interopRequireDefault(_postcssSelectorParser);
var _exists = require('../exists');
var _exists2 = _interopRequireDefault(_exists);
var _isMixin = require('../isMixin');
var _is... | grshane/monthofmud | web/themes/custom/mom/node_modules/stylehacks/dist/plugins/htmlCombinatorCommentBody.js | JavaScript | mit | 1,803 |
angular.module('material.core')
.factory('$mdConstant', MdConstantFactory);
/**
* Factory function that creates the grab-bag $mdConstant service.
* @ngInject
*/
function MdConstantFactory($sniffer) {
var webkit = /webkit/i.test($sniffer.vendorPrefix);
function vendorProperty(name) {
return webkit ? ('webk... | jelbourn/material | src/core/util/constant.js | JavaScript | mit | 2,518 |
function Hello(){
var name;
this.setName=function(tyname){
name = tyname;
}
this.sayHello = function(){
console.log("Hello"+name);
}
}
module.exports = Hello;
| LucasFonsecadosSantos/Tomasulo-Algorithm-Simulator | src/ext/sass/node_modules/nodejs/1/singleobject.js | JavaScript | gpl-3.0 | 188 |
steal.then(function() {
/**
* @class DocumentJS.types.page
* @tag documentation
* @parent DocumentJS.types
*
* Defines a standalone documentation page.
*
* Used to organize your documentation in a flexible manner.
*
* ###Example:
*
* @codestart
* /**
* * @page follow Follow JavaScriptMVC... | stephanfeb/ers | jsmvc/documentjs/types/page.js | JavaScript | agpl-3.0 | 1,469 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* RegularExpressionFirstChar :: BackslashSequence :: \NonTerminator,
* RegularExpressionChars :: [empty], RegularExpressionFlags :: [empty]
*
* @path ch07/7.8/7.8.5/S7.8.5_A1.4_T1... | popravich/typescript | tests/Fidelity/test262/suite/ch07/7.8/7.8.5/S7.8.5_A1.4_T1.js | JavaScript | apache-2.0 | 651 |
NOVNC_PORT = 3388;
IMPORT_VM_EXTENSION_PC = [".ova", ".ovf", '.qvm', '.xml'];
IMPORT_VM_EXTENSION_NAS = [".ova", ".ovf", ".vmx", '.qvm', '.xml'];
PERMISSION_LIMIT_CONTROL = 2;
PERMISSION_LIMIT_VIEWONLY = 2;
function ShowMask(bShowCancel, elemID, blackMask) {
if(document.getElementById("document-mask")){
var o =... | simphony/simphony-remote-docker | wrappers/vncapp/container-files/noVNC/media/js/QUtility.js | JavaScript | bsd-2-clause | 37,985 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma/LexicalConventions/7.4.1-2-n.js | JavaScript | bsd-3-clause | 2,421 |
/*! instantsearch-googlemaps 1.2.3 | © Algolia | github.com/instantsearch/instantsearch-googlemaps */(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("React"), require("ReactDOM"), require("instantsearch"));
el... | vvo/jsdelivr | files/instantsearch-googlemaps/1.2.3/instantsearch-googlemaps.js | JavaScript | mit | 266,754 |
// XXX Hack to prevent hextorstr function used by JWS send a string instead of
// a Word Array. On this way, no string decoding needs to take place and Crypto
// takes care of everything.
// Note that it should not affect the other algorithms as hextorstr is exclusively
// used on Hmac family (that invokes CryptoJS li... | EricLagergren/jsonwebtoken.github.io | js/jwt.js | JavaScript | mit | 3,001 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo', 'ja', {
label: 'スタイル',
panelTitle: 'スタイル',
panelTitle1: 'ブロックスタイル',
panelTitle2: 'インラインスタイル',
panelTitle3: 'オブジェクトスタイル'
});
| Nimdis/rich | vendor/assets/javascripts/ckeditor/plugins/stylescombo/lang/ja.js | JavaScript | mit | 388 |
import React, { cloneElement } from 'react';
import classNames from 'classnames';
import ValidComponentChildren from './utils/ValidComponentChildren';
import createChainedFunction from './utils/createChainedFunction';
import BootstrapMixin from './BootstrapMixin';
import SafeAnchor from './SafeAnchor';
const SubNav =... | roadmanfong/react-bootstrap | src/SubNav.js | JavaScript | mit | 2,991 |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("placeholder","lv",{title:"Viettura uzstādījumi",toolbar:"Izveidot vietturi",name:"Viettura nosaukums",invalidName:"Vietturis nev... | cmos3511/cmos_linux | python/op/op_site/op_static/npm/node_modules/ckeditor/plugins/placeholder/lang/lv.js | JavaScript | gpl-3.0 | 407 |
/**
* Copyright 2018 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | dotandads/amphtml | src/iframe-video.js | JavaScript | apache-2.0 | 4,085 |
var step = '<font class="fontSize">'
+'<p>Purpose:</p>'
+'<p>Verify the Cordova app page background color can be configured when build this app</p>'
+'<p>Expected Results:</p>'
+'<ol>'
+'<li>The app can be installed successfully</li>'
+'<li>The app... | yhe39/crosswalk-test-suite | usecase/usecase-cordova-android-tests/steps/SetBackgroundColor/step.js | JavaScript | bsd-3-clause | 657 |
/* http://keith-wood.name/calendars.html
Arabic localisation for calendars datepicker for jQuery.
Mahmoud Khaled -- mahmoud.khaled@badrit.com
NOTE: monthNames are the new months names */
(function($) {
'use strict';
$.calendarsPicker.regionalOptions['ar-EG'] = {
renderer: $.calendarsPicker.defaultRe... | flavour/eden | static/scripts/calendars/i18n/jquery.calendars.picker-ar-EG.js | JavaScript | mit | 1,251 |
/**
* @fileoverview Common utilities.
*/
"use strict";
//------------------------------------------------------------------------------
// Constants
//------------------------------------------------------------------------------
var PLUGIN_NAME_PREFIX = "eslint-plugin-",
NAMESPACE_REGEX = /^@.*\//i;
//-------... | wenjoy/homePage | node_modules/geetest/node_modules/request/node_modules/karma/node_modules/eslint-plugin-react/node_modules/eslint/lib/util.js | JavaScript | mit | 4,868 |
var MockServer = require('mockserver');
module.exports = {
setUp: function (callback) {
this.client = require('../../nightwatch.js').init();
callback();
},
testCommand : function(test) {
var client = this.client;
MockServer.addMock({
url : "/wd/hub/session/1352110219202/mo... | leonardothibes/nightwatch | tests/src/commands/testMoveToElement.js | JavaScript | mit | 866 |
/*
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2013, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file, and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying, or distribu... | pkapollo/phongkhamapollo.com | wlm-apollo/ckfinder/lang/ro.js | JavaScript | mit | 11,135 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createTester = require('./internal/createTester');
var _createTester2 = _interopRequireDefault(_createTester);
var _eachOf = require('./eachOf');
var _eachOf2 = _interopRequireDefault(_eachOf);
var _identity = require('lodash/iden... | ChrisChenSZ/code | 表单注册验证/node_modules/async/some.js | JavaScript | apache-2.0 | 1,767 |
var assert = require('assert');
var math = require('../../../index');
var Matrix = math.type.Matrix;
var DenseMatrix = math.type.DenseMatrix;
var SparseMatrix = math.type.SparseMatrix;
var Complex = math.type.Complex;
var Range = math.type.Range;
var index = math.index;
describe('DenseMatrix', function() {
describ... | kevinmcdonald19/greenr | node_modules/mathjs/test/type/matrix/DenseMatrix.test.js | JavaScript | mit | 38,053 |
'use strict';
var assert = require('assert');
var mocha = require('mocha');
var describe = mocha.describe;
var it = mocha.it;
var testutil = require('../testutil.js');
var loca = require('../../src/tables/loca.js');
describe('tables/loca.js', function() {
it('can parse the short version', function() {
var... | luisbrito/opentype.js | test/tables/loca.js | JavaScript | mit | 680 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... | joeyparrish/cdnjs | ajax/libs/ag-grid/13.0.0/lib/columnController/columnController.js | JavaScript | mit | 96,381 |
({ *method(x = yield) {} }) | babel/babylon | test/fixtures/es2015/yield/parameter-default-inside-generator-method/actual.js | JavaScript | mit | 27 |
describe('Controller: FilterDetailsController', function() {
var $scope, Filter;
beforeEach(module('Bastion.content-views', 'Bastion.test-mocks'));
beforeEach(inject(function($injector) {
var $controller = $injector.get('$controller');
Filter = $injector.get('MockResource').$new();
... | mccun934/katello | engines/bastion_katello/test/content-views/details/filters/filter-details.controller.test.js | JavaScript | gpl-2.0 | 1,050 |
/**
* SelectBox.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* Creates a new select box control.
*
* @-x-less SelectBox.less
* @class tinymce.ui.SelectBox
... | luis-knd/technoMvc | views/tinymce/js/tinymce/classes/ui/SelectBox.js | JavaScript | gpl-2.0 | 2,583 |
/*
* jQuery blockUI plugin
* Version 2.16 (20-MAR-2009)
* @requires jQuery v1.2.3 or later
*
* Examples at: http://malsup.com/jquery/block/
* Copyright (c) 2007-2008 M. Alsup
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.h... | yiicrew/bazzar | themes/basic/assets/js/mf/jquery.blockUI.js | JavaScript | bsd-3-clause | 13,879 |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z"/></svg>','ios-arrow-back'); | matteobortolazzo/matteobortolazzo.github.io | build/app/svg/ios-arrow-back.js | JavaScript | mit | 290 |
var path = require('path')
, fs = require('fs')
, exists = fs.existsSync || path.existsSync
, resolve = path.resolve
, dirname = path.dirname
, extname = path.extname
, basename = path.basename;
/**
* Express 3.x Layout & Partial support.
*
* The beloved feature from Express 2.x is back as a middleware... | takashabe/isucon3-qual | nodejs/node_modules/express-partials/index.js | JavaScript | mit | 9,447 |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/Gyre-Pagella/Symbols/Regular/Main.js
*
* Copyright (c) 2013-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/output/SVG/fonts/Gyre-Pagella/Symbols/Regular/Main.js | JavaScript | mit | 10,231 |
module.exports={"dependencies":{"com.appcelerator.loading":"1.0"}}; | geomilano/OnlineTrader_v1 | build/iphone/build/Debug-iphonesimulator/Online Trader.app/alloy/CFG.js | JavaScript | apache-2.0 | 67 |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* German language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the dic... | Jasig/resource-server | resource-server-content/src/main/webapp/rs/ckeditor/4.3.2/_source/lang/de.js | JavaScript | apache-2.0 | 3,368 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-7.js
* @description Array.prototype.filter throws TypeError if callbackfn is Object without [[Call]] internal method
*/
function testcase() {
var arr = new Array(10);
try {
arr.filter(new O... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-7.js | JavaScript | bsd-3-clause | 434 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The Date.prototype property "setDate" has { DontEnum } attributes
*
* @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js
* @description Checking absence of ReadOnly attribute
*/
x = Date.prototype.setDate;
if(x === 1)
Date.prototype.setDate = ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js | JavaScript | bsd-3-clause | 473 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js
* @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'P' which... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js | JavaScript | bsd-3-clause | 1,024 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... | holtkamp/cdnjs | ajax/libs/ag-grid/10.0.1/lib/gridPanel/gridPanel.js | JavaScript | mit | 83,558 |
// =SECTION Setup
// Local config overrides
var config = localStorage.getItem("interactiveOverrides");
if (config) {
config = JSON.parse(config);
window.TogetherJSConfig = config;
for (var a in config) {
TogetherJS.config(a, config[a]);
}
}
Test.require("ui", "chat", "util", "session", "jquery", "storage"... | snowshine09/criticalthinker | views/js/togetherjs/tests/interactive.js | JavaScript | mit | 5,813 |
/**
* Original by Scott Helme.
*
* Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
*/
Prism.languages.hpkp = {
'directive': {
pattern: /\b(?:(?:includeSubDomains|preload|strict)(?: |;)|pin-sha256="[a-zA-Z0-9+=/]+"|(?:max-age|report-uri)=|report-to )/,
alias: 'keyword'
},
... | uvalib/staff-directory | bower_components/prism/components/prism-hpkp.js | JavaScript | apache-2.0 | 495 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/entities/n.js
*
* Copyright (c) 2010-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/input/MathML/entities/n.js | JavaScript | mit | 6,222 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'justify', 'th', {
block: 'จัดพอดีหน้ากระดาษ',
center: 'จัดกึ่งกลาง',
left: 'จัดชิดซ้าย',
right: 'จัดชิดขวา'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/justify/lang/th.js | JavaScript | gpl-2.0 | 381 |
var test = function() {
var fun1 = function (){
fun2();
};
function fun2() {}
var fun3 = function() {
};
function fun5() {}
fun1();
fun4();
};
| bryantaylor/Epic | wp-content/themes/epic/node_modules/grunt-contrib-jshint/node_modules/jshint/tests/stable/unit/fixtures/gh431.js | JavaScript | gpl-2.0 | 187 |
// For an introduction to the Page Control template, see the following documentation:
// http://go.microsoft.com/fwlink/?LinkId=232511
(function () {
"use strict";
var app = WinJS.Application;
var nav = WinJS.Navigation;
var sched = WinJS.Utilities.Scheduler;
var ui = WinJS.UI;
WinJS.UI.Pages... | PartsUnlimitedMRP/Clients | src/Web/pages/main/main_files/main.js | JavaScript | mit | 1,579 |
describe("module:ng.directive:ngClick", function() {
beforeEach(function() {
browser.get("./examples/example-example24/index.html");
});
it('should check ng-click', function() {
expect(element(by.binding('count')).getText()).toMatch('0');
element(by.css('button')).click();
expect(element(by.bindi... | Eruant/angular-boilerplate | src/lib/docs/ptore2e/example-example24/jqlite_test.js | JavaScript | mit | 367 |
!function(e,t,n,i){"function"==typeof define&&define.amd?(n=Object.values(n),define(e,n,i)):"undefined"!=typeof module&&module.exports?(n=Object.keys(n).map(e=>require(e)),module.exports=i(...n)):(n=Object.values(n).map(e=>t[e]),t[e]=i(...n))}("Monio","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global... | cdnjs/cdnjs | ajax/libs/monio/0.27.1/umd/index.min.js | JavaScript | mit | 849 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'save', 'ru', {
toolbar: 'Сохранить'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/save/lang/ru.js | JavaScript | mit | 224 |
define(["exports", "./_base/kernel", "./sniff", "./_base/window", "./dom", "./dom-attr"],
function(exports, dojo, has, win, dom, attr){
// module:
// dojo/dom-construct
// summary:
// This module defines the core dojo DOM construction API.
// TODOC: summary not showing up in output, see https://github.... | srujant/MLNews | static/js/cesium/ThirdParty/dojo-release-1.10.4/dojo/dom-construct.js | JavaScript | mit | 13,216 |
Page.Settings = new Class({
Extends: PageBase,
order: 50,
name: 'settings',
title: 'Change settings.',
wizard_only: false,
tabs: {},
lists: {},
current: 'about',
has_tab: false,
open: function(action, params){
var self = this;
self.action = action == 'index' ? self.default_action : action;
self.para... | heathseals/CouchPotatoServer | couchpotato/static/scripts/page/settings.js | JavaScript | gpl-3.0 | 33,872 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
/// <reference path="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.W... | marianosz/azure-mobile-services | sdk/Javascript/src/Platforms/Platform.WinJS.js | JavaScript | apache-2.0 | 9,780 |
/* http://keith-wood.name/calendars.html
Greek localisation for calendars datepicker for jQuery.
Written by Alex Cicovic (http://www.alexcicovic.com). */
(function($) {
$.calendars.picker.regional['el'] = {
renderer: $.calendars.picker.defaultRenderer,
prevText: 'Προηγούμενος', prevStatus: 'Επισκόπηση... | austinsc/Orchard | src/Orchard.Web/Modules/Orchard.jQuery/Scripts/calendars/jquery.calendars.picker-el.js | JavaScript | bsd-3-clause | 1,369 |
import Ember from "ember-metal/core";
import {capitalize} from "ember-runtime/system/string";
QUnit.module('EmberStringUtils.capitalize');
if (!Ember.EXTEND_PROTOTYPES && !Ember.EXTEND_PROTOTYPES.String) {
test("String.prototype.capitalize is not modified without EXTEND_PROTOTYPES", function() {
ok("undefined" ... | kiwiupover/ember.js | packages/ember-runtime/tests/system/string/capitalize_test.js | JavaScript | mit | 1,491 |
// Copyright (c) 2016, Frappe Technologies and contributors
// For license information, please see license.txt
frappe.ui.form.on('OAuth Client', {
refresh: function(frm) {
}
});
| frappe/frappe | frappe/integrations/doctype/oauth_client/oauth_client.js | JavaScript | mit | 182 |
'use strict';
exports.__esModule = true;
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _createBrowserHistory = require('history/createBrowserHistory');
var _createBrowserHistory2 = _in... | Atanasov86/Car-System | server/node_modules/react-router-dom/BrowserRouter.js | JavaScript | mit | 2,573 |
({
// local representation of all CSS3 named colors, companion to dojo.colors. To be used where descriptive information
// is required for each color, such as a palette widget, and not for specifying color programatically.
//Note: due to the SVG 1.0 spec additions, some of these are alternate spellings for the same c... | conjoon/webmail | vendor/zendframework/externals/dojo/dojo/nls/fi/colors.js | JavaScript | agpl-3.0 | 4,790 |
//// [assignmentToObjectAndFunction.ts]
var errObj: Object = { toString: 0 }; // Error, incompatible toString
var goodObj: Object = {
toString(x?) {
return "";
}
}; // Ok, because toString is a subtype of Object's toString
var errFun: Function = {}; // Error for no call signature
function foo() { }
m... | mkusher/TypeScript | tests/baselines/reference/assignmentToObjectAndFunction.js | JavaScript | apache-2.0 | 1,324 |
require('../lib/node_loader');
var AWS = require('../lib/core');
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['kinesis'] = {};
AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']);
Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', {
get: function get() {
... | q4-public/alexa-workshop-2017 | src/node_modules/aws-sdk/clients/kinesis.js | JavaScript | apache-2.0 | 650 |
// META: script=./resources/targetted-form.js
test(t => {
const form = populateForm('<input required><input type=submit>');
t.add_cleanup(() => {
form.previousElementSibling.remove();
form.remove();
});
const submitter = form.querySelector('input[type=submit]');
let invalid = form.querySelector('[req... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/semantics/forms/form-submission-0/historical.window.js | JavaScript | bsd-3-clause | 746 |
/*!
* Bootstrap v3.2.0 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
/* ================================================... | gitruslan/yii2 | vendor/twbs/bootstrap/docs/dist/js/bootstrap.js | JavaScript | bsd-3-clause | 61,399 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'widget', 'en', {
'move': 'Click and drag to move',
'label': '%1 widget'
} );
| er361/yii-zadanie-somnium | zadanie/protected/extensions/ckeditor/plugins/widget/lang/en.js | JavaScript | bsd-3-clause | 266 |
import React from 'react';
import PropTypes from 'prop-types';
import { supportsPassiveEvents } from 'detect-passive-events';
import { scrollTop } from '../scroll';
export default class Column extends React.PureComponent {
static propTypes = {
children: PropTypes.node,
label: PropTypes.string,
bindToDoc... | gol-cha/mastodon | app/javascript/mastodon/components/column.js | JavaScript | agpl-3.0 | 1,514 |
// Copyright 2012 Viewfinder Inc. All Rights Reserved.
/**
* @fileoverview efficient vertical scrolling callback. Allows visible scrolling behavior for a very large number
* of objects in the DOM.
*
* @author matt@emailscrubbed.com (Matt Tracy)
*/
(function($, _) {
$.scrollEffect = function ($obj) {
thi... | 0359xiaodong/viewfinder | backend/resources/static/js/scrolleffect.js | JavaScript | apache-2.0 | 5,408 |
/*
* jQuery Nivo Slider v3.2
* http://nivo.dev7studios.com
*
* Copyright 2012, Dev7studios
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
(function ($) {
var NivoSlider = function (element, options) {
// Defaults are below
var settings ... | jornfilho/nopCommerce | source/Presentation/Nop.Web/Plugins/Widgets.NivoSlider/Scripts/jquery.nivo.slider.js | JavaScript | apache-2.0 | 28,868 |
/**
* Quirks.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class includes fixes for various browser quirks.
*
* @class tinymce.tableplugin.Quirks
* @... | pmpl-5/tinymce | js/tinymce/plugins/table/classes/Quirks.js | JavaScript | lgpl-2.1 | 12,125 |
"use strict";
var utils = require("../../../lib/utils");
var assert = require("chai").assert;
describe("Utils: Failing", function () {
it("should fail when Error obj given", function () {
require("sinon").stub(process, "exit");
utils.fail(true, new Error("Some err bro"), function (out) {
... | felixdae/browser-sync | test/specs/utils/utils.fail.js | JavaScript | apache-2.0 | 680 |
/**
* Determines whether an observable sequence is empty.
*
* @memberOf Observable#
* @returns {Observable} An observable sequence containing a single element determining whether the source sequence is empty.
*/
observableProto.isEmpty = function () {
return this.any().se... | benjaminlong/Daily | node_modules/grunt-google-cdn/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/isempty.js | JavaScript | mit | 364 |
/* js-yaml 3.4.6 https://github.com/nodeca/js-yaml */
!function (t) {
if ("object" == typeof exports && "undefined" != typeof module)module.exports = t(); else if ("function" == typeof define && define.amd)define([], t); else {
var e;
e = "undefined" != typeof window ? window : "undefined" != typeof... | nag10/reposiatary | api/target/classes/static/swagger/lib/js-yaml.min.js | JavaScript | apache-2.0 | 71,235 |
/**
* @file
* A Backbone view for the aural feedback of the toolbar.
*/
(function(Backbone, Drupal) {
Drupal.toolbar.ToolbarAuralView = Backbone.View.extend(
/** @lends Drupal.toolbar.ToolbarAuralView# */ {
/**
* Backbone view for the aural feedback of the toolbar.
*
* @constructs
... | maskedjellybean/tee-prop | web/core/modules/toolbar/js/views/ToolbarAuralView.es6.js | JavaScript | gpl-2.0 | 2,415 |
function setPosition(newP) {
/** document me */
this.position = newP; // sets global property
}
| fed135/Arstider | tools/jsdoc/test/fixtures/this3.js | JavaScript | gpl-2.0 | 104 |
import Ember from "ember";
export default Ember.Controller.extend({
vehicle: 'bike',
vehicles: ['bike', 'car'],
states: ['', 'AL', 'AK', 'AZ', 'AR', 'CA', 'CO', 'CT'],
isBike: Ember.computed.equal('vehicle', 'bike')
});
| jayphelps/liquid-fire | tests/dummy/app/controllers/helpers-documentation/liquid-if.js | JavaScript | mit | 229 |
import Ember from 'ember';
import {AjaxError} from 'ember-ajax/errors';
const {
Service,
computed: {filter},
get,
set,
isArray
} = Ember;
const emberA = Ember.A;
// Notification keys take the form of "noun.verb.message", eg:
//
// "invite.resend.api-error"
// "user.invite.already-invited"
//
// Th... | Trendy/Ghost | core/client/app/services/notifications.js | JavaScript | mit | 5,844 |
define('ace/mode/csharp', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/csharp_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");... | rdohms/fixthatcode.com | web/ace/mode-csharp-uncompressed.js | JavaScript | mit | 28,910 |
var createPartial = require('../internal/createPartial');
/** Used to compose bitmasks for wrapper metadata. */
var PARTIAL_RIGHT_FLAG = 64;
/**
* This method is like `_.partial` except that partially applied arguments
* are appended to those provided to the new function.
*
* The `_.partialRight.placehol... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/lodash/function/partialRight.js | JavaScript | mit | 1,301 |
//
// Copyright (c) Microsoft and contributors. 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... | tamzi/blog | node_modules/azure-common/lib/services/operationstatus.js | JavaScript | mit | 766 |
/**
* @author Ed Spencer
*
* In-memory proxy. This proxy simply uses a local variable for data storage/retrieval, so its contents are lost on
* every page refresh.
*
* Usually this Proxy isn't used directly, serving instead as a helper to a {@link Ext.data.Store Store} where a reader
* is required to load data. ... | serovvitaly/net | www/public/extjs-4/src/data/proxy/Memory.js | JavaScript | bsd-3-clause | 5,882 |
var CasperUtils = require('./casperUtils').CasperUtils;
CasperUtils.start(casper,
CasperUtils.getUrl(),
function() {
casper.waitFor(CasperUtils.waits.jsMount)
.then(CasperUtils.asserts.visibleSelectors([
'a.intl',
'a.commands',
'a.fb',
'div.helperBar'
]))
.then(CasperUtils.... | thy09/learnGitBranching | src/__tests__/casperjs/helper_bar_intl_test.js | JavaScript | mit | 917 |
"use strict";
var reduce_1 = require('./reduce');
/**
* The Max operator operates on an Observable that emits numbers (or items that can be evaluated as numbers),
* and when source Observable completes it emits a single item: the item with the largest number.
*
* <img src="./img/max.png" width="100%">
*
* @param ... | MSCommunity/community | src/MyAngular2BaseApp/node_modules/rxjs/operator/max.js | JavaScript | mit | 772 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | RLovelett/qt | tests/auto/qscriptjstestsuite/tests/ecma_3/Array/regress-322135-02.js | JavaScript | lgpl-2.1 | 2,531 |
{
"ALLOWED_FILE_TYPE": "許可されているファイルタイプ: ",
"AUTHORIZATION_REQUIRED": "ファイルマネージャーは使用できません。許可が必要です。",
"DIRECTORY_ALREADY_EXISTS": "フォルダー名'%s' は既に使用されています。",
"DIRECTORY_NOT_EXIST": "フォルダー %s は存在しません。",
"DISALLOWED_FILE_TYPE": "次のファイルは許可されていません: ",
"ERROR_CREATING_ZIP": "Zipアーカイブを作成中にエラーが発生しました... | neo1125/petplus_server | vendor/bestmomo/filemanager/public/filemanager/scripts/languages/ja.js | JavaScript | mit | 6,040 |
tinymce.addI18n('gd',{
"Cut": "Gearr \u00e0s",
"Heading 5": "Ceann-sgr\u00ecobhadh 5",
"Header 2": "Bann-cinn 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Chan eil am brabhsair agad a' cur taic ri inntrigeadh d\u00ecreach dhan st\u00f2r-bh\... | mbadici/machinet | webservices/roundcubemail-1.3.3/program/js/tinymce/langs/gd.js | JavaScript | gpl-3.0 | 8,807 |
({
"pasteFromWord": "Paste From Word",
"paste": "Paste",
"cancel": "Cancel",
"instructions": "Paste the content from Word into the text box below. Once you are satisfied with the content to insert, press the paste button. To abort inserting text, press the cancel button."
}) | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0-src/dojox/editor/plugins/nls/PasteFromWord.js | JavaScript | apache-2.0 | 282 |
module.exports = 9520 | jakobmattsson/jscov | spec/scaffolding/oss/browserify/test/watch/a.js | JavaScript | mit | 21 |
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
WBBLANG['ru']= CURLANG = {
bold: "Полужирный",
italic: "Курсив",
underline: "Подчеркнутый",
strike: "Зачеркнутый",
link: "Ссылка",
img: "Изображение",
sup: "Надстрочный текст",
sub: "Подстрочный текст",
justifyleft: "Текст по левому краю",
justifycenter: "Тек... | Surax23/repo | wysibb/lang/ru.js | JavaScript | mit | 2,670 |
/**
* HTTP method override Interceptor.
*/
export default function (request, next) {
if (request.emulateHTTP && /^(PUT|PATCH|DELETE)$/i.test(request.method)) {
request.headers.set('X-HTTP-Method-Override', request.method);
request.method = 'POST';
}
next();
}
| GuitarmonYz/AutoKnowledge | vue_front_end/node_modules/vue-resource/src/http/interceptor/method.js | JavaScript | mit | 293 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.4.2
* @link http://www.ag-grid.com/
* @license MIT
*/
var utils_1 = require('../utils');
var eventService_1 = require("../eventService");
var gridOptionsWrapper_1 = require("../gridOptionsWrappe... | ua9msn/ag-grid | dist/lib/widgets/component.js | JavaScript | mit | 8,693 |
/**
* @fileoverview Main Espree file that converts Acorn into Esprima output.
*
* This file contains code from the following MIT-licensed projects:
* 1. Acorn
* 2. Babylon
* 3. Babel-ESLint
*
* This file also contains code from Esprima, which is BSD licensed.
*
* Acorn is Copyright 2012-2015 Acorn Contributor... | shikun2014010800/manga | web/console/node_modules/espree/espree.js | JavaScript | mit | 27,138 |
"use strict";
var Insert = require('./commands').Insert
, Update = require('./commands').Update
, Remove = require('./commands').Remove
, Query = require('../connection/commands').Query
, copy = require('../connection/utils').copy
, KillCursor = require('../connection/commands').KillCursor
, GetMore = requ... | alonemayank/LatestRit | testfinal/node_modules/mongodb/node_modules/mongodb-core/lib/wireprotocol/2_4_support.js | JavaScript | cc0-1.0 | 20,352 |
// Web Worker Pool
// size is the max number of arguments
function WorkerPool(size) {
var workers = 0,
jobs = [];
// url: the url of the worker's js
// msg: the initial message to pass to the worker
// cb : the callback to recieve messages from postMessage.
// return true from cb to... | muffinresearch/addons-server | static/js/impala/stats/helpers.js | JavaScript | bsd-3-clause | 3,463 |
/*! angular-ladda 0.1.12 */
!function(){"use strict";angular.module("angular-ladda",[]).provider("ladda",function(){var a={style:"zoom-in"};return{setOption:function(t){angular.extend(a,t)},$get:function(){return a}}}).directive("ladda",["$compile","$timeout","ladda",function(a,t,e){return{restrict:"A",replace:!1,termi... | kennynaoh/cdnjs | ajax/libs/angular-ladda/0.1.12/angular-ladda.min.js | JavaScript | mit | 763 |
// Generated by CoffeeScript 1.3.3
/*
Superslides 0.3.1
Fullscreen slideshow plugin for jQuery
by Nic Aitch @nicinabox
http://nicinabox.github.com/superslides/
*/
(function() {
var $;
$ = jQuery;
$.fn.superslides = function(options) {
var $children, $container, $control, $nav, $this, adjust_image... | ahocevar/cdnjs | ajax/libs/superslides/0.3.1/jquery.superslides.js | JavaScript | mit | 6,326 |
class C {
C() { }
foo() { }
static bar() { }
qux() { this.constructor.x; }
}
C.x;
(new C).foo.x;
C.bar.x;
| kidaa/kythe | third_party/flow/tests/method_properties/test.js | JavaScript | apache-2.0 | 114 |
/*
* Copyright (C) 2010 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | arise-project/ganttmonotracker | libs/OpenWebKitSharp/WebKit.resources/inspector/ApplicationCacheItemsView.js | JavaScript | mit | 10,642 |
CKEDITOR.plugins.setLang("docprops","mn",{bgColor:"Фоно өнгө",bgFixed:"Гүйдэггүй фоно",bgImage:"Фоно зурагны URL",charset:"Encoding тэмдэгт",charsetASCII:"ASCII",charsetCE:"Төв европ",charsetCR:"Крил",charsetCT:"Хятадын уламжлалт (Big5)",charsetGR:"Гред",charsetJP:"Япон",charsetKR:"Солонгос",charsetOther:"Encoding-д ө... | Gizra/productivity | wrapboostrap/js/ckeditor/plugins/docprops/lang/mn.js | JavaScript | gpl-2.0 | 1,532 |