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 |
|---|---|---|---|---|---|
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'elementspath', 'lv', {
eleLabel: 'Elementa ceļš',
eleTitle: '%1 elements'
} );
| nttuyen/task | task-management/src/main/resources/org/exoplatform/task/management/assets/ckeditorCustom/plugins/elementspath/lang/lv.js | JavaScript | lgpl-3.0 | 264 |
'use strict';
var isImplemented = require('../../../math/log10/is-implemented');
module.exports = function (a) { a(isImplemented(), true); };
| Ramanujakalyan/Inherit | ui/node_modules/gulp-minify-html/node_modules/minimize/node_modules/cli-color/node_modules/es5-ext/test/math/log10/implement.js | JavaScript | unlicense | 149 |
/**
* Copyright 2015 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... | jdelhommeau/amphtml | extensions/amp-analytics/0.1/test/test-visibility-impl.js | JavaScript | apache-2.0 | 19,066 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var path = require("path");
var injector_1 = require("./injector");
var live_reload_1 = require("./live-reload");
var express = require("express");
var fs = require("fs");
var url = require("url");
var serve_config_1 = require("./serve-config"... | vivadaniele/spid-ionic-sdk | node_modules/@ionic/app-scripts/dist/dev-server/http-server.js | JavaScript | bsd-3-clause | 4,674 |
// Copyright 2017 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.
(async function() {
TestRunner.addResult(`Tests whether focus is properly remembered on widgets.\n`);
var outerInput = document.createElement('input... | scheib/chromium | third_party/blink/web_tests/http/tests/devtools/components/widget-focus.js | JavaScript | bsd-3-clause | 2,703 |
'use strict';
const denodeify = require('denodeify');
const path = require('../fastpath');
const watchmanURL = 'https://facebook.github.io/watchman/docs/troubleshooting.html';
function watchmanRecReadDir(roots, {ignore, fileWatcher, exts}) {
const files = [];
return Promise.all(
roots.map(
root => file... | cpojer/node-haste | src/crawlers/watchman.js | JavaScript | bsd-3-clause | 2,392 |
/**
* @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
*/
import { Injectable } from '@angular/core';
import { __platform_browser_private__ } from '@angular/platform-browser';... | broomyocymru/cargo | team_builder/profile_viewer/node_modules/@angular/http/src/backends/xhr_backend.js | JavaScript | mit | 9,449 |
'use strict';
/**
* @name $$cookieWriter
* @requires $document
*
* @description
* This is a private service for writing cookies
*
* @param {string} name Cookie name
* @param {string=} value Cookie value (if undefined, cookie will be deleted)
* @param {Object=} options Object with options that need to be store... | looker/angular.js | src/ngCookies/cookieWriter.js | JavaScript | mit | 1,954 |
tinymce.addI18n('uk',{
"Redo": "\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438",
"Undo": "\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438",
"Cut": "\u0412\u0438\u0440\u0456\u0437\u0430\u0442\u0438",
"Copy": "\u041a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438",
"Paste": "\u0412\u0441\u0442\u0430\u0432... | mbadici/machinet | webservices/roundcubemail-1.3.3/program/js/tinymce/langs/uk.js | JavaScript | gpl-3.0 | 26,088 |
/* -*- 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/. */
gTestfile = '15.9.5.23-12.js';
/*... | ashwinrayaprolu1984/rhino | testsrc/tests/ecma/Date/15.9.5.23-12.js | JavaScript | mpl-2.0 | 4,334 |
/* -*- 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/. */
gTestfile = 'expression-011.js';
... | sam/htmlunit-rhino-fork | testsrc/tests/ecma_2/Exceptions/expression-011.js | JavaScript | mpl-2.0 | 1,060 |
/**
* Copyright 2015 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... | gumgum/amphtml | extensions/amp-facebook/0.1/test/test-amp-facebook.js | JavaScript | apache-2.0 | 4,946 |
HandlebarsIntl.__addLocaleData({"locale":"no","pluralRuleFunction":function (n,ord){if(ord)return"other";return n==1?"one":"other"},"fields":{"year":{"displayName":"Year","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"other":"+{0} y"},"past":{"other":"-{0} y"}}},"month":{"displ... | yoanngern/iahm_2016 | wp-content/themes/iahm_2016/js/vendor/handlebars-intl/locale-data/no.js | JavaScript | apache-2.0 | 971 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | tannishk/airmozilla | airmozilla/popcorn/static/popcorn/PopcornEditor/static/bower/webmaker-login-ux/dist/ngWebmakerLogin.js | JavaScript | bsd-3-clause | 76,166 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 conditions and
/// ... | techdragon/Js2Py | tests/TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js | JavaScript | mit | 2,429 |
//
// converter.js
// Mr-Data-Converter
//
// Created by Shan Carter on 2010-09-01.
//
function DataConverter(nodeId) {
//---------------------------------------
// PUBLIC PROPERTIES
//---------------------------------------
this.nodeId = nodeId;
this.node = $("#"+nod... | vinodpanicker/mr-data-converter | js/converter.js | JavaScript | mit | 6,320 |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2016 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | renatosierra/rainman | vendor/google-blockly/core/events.js | JavaScript | mit | 23,534 |
/**
* @license AngularJS v1.3.4
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {'use strict';
/**
* @description
*
* This object provides a utility for producing rich Error messages within
* Angular. It can be called as follows:
*
* var exampleMinEr... | calvinsettachatgul/angular_jumpstart | sect2/Code/End/UsingFilters/angular.js | JavaScript | mit | 944,739 |
CKEDITOR.plugins.setLang("uicolor","el",{title:"Διεπαφή Επιλογής Χρωμάτων",options:"Color Options",highlight:"Highlight",selected:"Selected Color",predefined:"Προκαθορισμένα σύνολα χρωμάτων",config:"Επικολλήστε αυτό το κείμενο στο αρχείο config.js"}); | cdnjs/cdnjs | ajax/libs/ckeditor/4.17.2/plugins/uicolor/lang/el.min.js | JavaScript | mit | 335 |
if (typeof console == 'undefined') console = {
log: function () { }
};
// sniff chrome
var CHROME_5_LOCAL = false;
var CHROME = false;
var SAFARI = false;
var WEBKIT = false;
var OS_MAC = false;
var IOS = false;
var IE = false;
var BROWSER_VERSION = 5000;
(function () {
var chromeRegex = /Chrome\/([0-9]+).([... | jslon/Punto_de_venta | web/usuarios/resources/scripts/messagecenter.js | JavaScript | cc0-1.0 | 8,732 |
$(document).ready(function() {
/**
* We are loading the stored guideline.json file, which
* is a list of test names.
*/
$.getJSON('data/guideline.json', function(guideline) {
$('body').append('<div id="enable-accessibility"><a href="#">Turn on accessibility tests</a></div>');
$('#enable-accessibility a')... | ktrovato/drupal-secured | sites/all/libraries/quail/examples/php/script.js | JavaScript | gpl-2.0 | 1,830 |
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.reveal = {
name : 'reveal',
version : '5.0.3',
locked : false,
settings : {
animation: 'fadeAndPop',
animation_speed: 250,
close_on_background_click: true,
close_on_esc: true,
dismiss_modal_... | adaminfinitum/rd1pro | wp-content/themes/rd1pro/library/js/foundation/foundation.reveal.js | JavaScript | gpl-2.0 | 10,799 |
// Copyright 2017 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.
let {session, contextGroup, Protocol} = InspectorTest.start('Checks breakpoints.');
session.setupScriptMap();
InspectorTest.runAsyncTestSuite([
async... | zero-ui/miniblink49 | v8_7_5/test/inspector/debugger/breakpoints.js | JavaScript | gpl-3.0 | 3,792 |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@angular/core", "../../uti... | raisinbit/RaisinLearning | node_modules/ionic-angular/umd/components/picker/picker-component.js | JavaScript | gpl-3.0 | 11,211 |
/**
* Adapted from the official plugin text.js
*
* Uses UnderscoreJS micro-templates : http://documentcloud.github.com/underscore/#template
* @author Julien Cabanès <julien@zeeagency.com>
* @version 0.2
*
* @license RequireJS text 0.24.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
* Avail... | 4eek/learninglocker | public/assets/js/libs/require/tpl.js | JavaScript | gpl-3.0 | 6,651 |
// Copyright 2019 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.
assertDoesNotThrow("try { } catch (e) { var e; for (var e of []) {} }")
| weolar/miniblink49 | v8_7_5/test/mjsunit/for-of-in-catch-duplicate-decl.js | JavaScript | apache-2.0 | 240 |
/**
* @module PreloadJS
*/
(function () {
"use strict";
/**
* A PreloadJS plugin provides a way to inject functionality into PreloadJS to load file types that are unsupported,
* or in a way that PreloadJS does not.
*
* <strong>Note that this class is mainly for documentation purposes, and is not a real pl... | mattbalmer/createjs-collection | vendor_modules/PreloadJS-0.6.1/src/preloadjs/plugins/SamplePlugin.js | JavaScript | mit | 8,568 |
exports.BattleFormatsData = {
purrloin: {
randomBattleMoves: ["foulplay","swagger","substitute","thunderwave"],
tier: "LC"
},
liepard: {
randomBattleMoves: ["foulplay","swagger","substitute","thunderwave"],
tier: "NU"
}
}; | TheManwithskills/Server | mods/furryrandom/formats-data.js | JavaScript | mit | 234 |
///*
// * storage-object-test.js: Tests for uploading files to Rackspace Cloudfiles when not authenticated.
// *
// * (C) 2010 Charlie Robbins, Ken Perkins, Ross Kukulinski & the Contributors.
// * MIT LICENSE
// *
// */
//
// TODO Enable all rackspace storage client tests with mocks
//var path = require('path'),
// ... | apla/pkgcloud | test/rackspace/storage/storage-object-noauth-test.js | JavaScript | mit | 4,148 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('leaflet'), require('react'), require('react-dom')) :
typeof define === 'function' && define.amd ? define(['exports', 'leaflet', 'react', 'react-dom'], factory) :
(factory((global.ReactLeaflet = {}),... | ahocevar/cdnjs | ajax/libs/react-leaflet/1.7.4/react-leaflet.js | JavaScript | mit | 199,267 |
/* Set the defaults for DataTables initialisation */
$.extend(true, $.fn.dataTable.defaults, {
"sDom": "<'row'<'col-sm-6'l><'col-sm-6'f>r>t<'row'<'col-sm-6'i><'col-sm-6'p>>",
"sPaginationType": "bootstrap",
"oLanguage": {
"sLengthMenu": "_MENU_",
"sSearch" : ""
}
});
/* Default class mo... | antarus/mystra-pve | vendor/dudapiotr/zftable/src/ZfTable/Public/js/DT_bootstrap_3.js | JavaScript | bsd-3-clause | 5,737 |
var os = require('os')
, fs = require('fs')
, path = require('path')
, spawn = require('child_process').spawn
var mkdirp = require('mkdirp')
var phantomscript = path.join(__dirname, 'phantomscript.js')
module.exports = { process: processMermaid }
function processMermaid(files, _options, _next) {
var options... | Muoversi/mermaid | lib/index.js | JavaScript | mit | 987 |
/*
YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('swfdetect', function(Y) {
/**
* Utility for Flash version detection
* @module swfdetect
*/
// shortcuts
var version = 0,
uA = Y.UA,
lG = Y.Lang,
... | navyhod/helpfriend | extension/ezjscore/design/standard/lib/yui/3.4.1/build/swfdetect/swfdetect.js | JavaScript | gpl-2.0 | 3,593 |
/*
* Angular Slideables - A "pure" Angular implementation of jQuery-style slideToggle()
* Source: https://github.com/EricWVGG/AngularSlideables
* By Eric Jacobsen, used under MIT licence
*/
angular.module('angularSlideables', [])
.directive('slideable', function () {
return {
restrict:'C',
comp... | Em-AK/openfoodnetwork | app/assets/javascripts/shared/angular-slideables.js | JavaScript | agpl-3.0 | 1,985 |
/*!
* # Semantic UI 2.3.1 - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self... | opendesignflow/fwapp | src/main/resources/fwapp/external/semantic-2.3/components/modal.js | JavaScript | agpl-3.0 | 29,792 |
// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @description Tests that canonicalization of locale lists treats undefined and empty lists the same.
* @author Norbert Lindenberg
*/
$INCLUDE("testIntl.js");
testWithIntlConstruc... | hippich/typescript | tests/Fidelity/test262/suite/intl402/ch09/9.2/9.2.1_1.js | JavaScript | apache-2.0 | 903 |
/* -*- 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... | daejunpark/jsaf | tests/parser_tests/js/src/tests/ecma/Array/15.4.4.4-2.js | JavaScript | bsd-3-clause | 6,071 |
/* -*- 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/js1_5/extensions/regress-225831.js | JavaScript | bsd-3-clause | 4,793 |
while(true) {
javascript('is highlighted also');
}
| vivalaralstin/chromedeveditor | paper/lib/core-doc-viewer/core-doc-viewer.js | JavaScript | bsd-3-clause | 76 |
/* jquery.LavaLamp v1.4
http://nixbox.com/projects/jquery-lavalamp/
Copyright (c) 2008-2012 Jolyon Terwilliger - jolyon@nixbox.com
Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html */
(function(c){jQuery.fn.lavaLamp... | BUPT-OJ-V4/BOJ-V4 | site_media/static/js/jquery.lavalamp.min.js | JavaScript | mit | 3,360 |
YUI.add('history-hash-ie', function (Y, NAME) {
/**
* Improves IE6/7 support in history-hash by using a hidden iframe to create
* entries in IE's browser history. This module is only needed if IE6/7 support
* is necessary; it's not needed for any other browser.
*
* @module history
* @submodule history-hash-ie
*... | Badacadabra/Harmoneezer | node_modules/yuidocjs/node_modules/yui/history-hash-ie/history-hash-ie-debug.js | JavaScript | mit | 5,420 |
/* flatpickr v4.0.2, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.pt = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... | extend1994/cdnjs | ajax/libs/flatpickr/4.0.2/l10n/pt.js | JavaScript | mit | 1,603 |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... | chukong/sdkbox-facebook-sample-v2 | samples/Javascript/Shared/tests/ClickAndMoveTest/ClickAndMoveTest.js | JavaScript | mit | 3,286 |
//// [unknownSymbolInGenericReturnType.ts]
class Linq {
public static select<T, S>(values: T[], func: (v: T) => A): any[] {
var result = new Array(values.length);
for (var i = 0; i < values.length; i++) {
result[i] = func(values[i]);
}
return result;
}
}
////... | weswigham/TypeScript | tests/baselines/reference/unknownSymbolInGenericReturnType.js | JavaScript | apache-2.0 | 685 |
/**
* Copyright 2013-2015, 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.
*
* @providesModule ... | ide/relay | src/container/getRelayQueries.js | JavaScript | bsd-3-clause | 2,755 |
/* exported addEvent, removeEvent, getChildren, setAttributes, addClass, removeClass, forEach */
/**
* Add Event
* fn arg can be an object or a function, thanks to handleEvent
* read more at: http://www.thecssninja.com/javascript/handleevent
*
* @param {element} element
* @param {event} event
* @param {F... | schnitzel25/pizza | sites/all/themes/pzz/libraries/responsive-nav/client/src/helpers.js | JavaScript | gpl-2.0 | 3,760 |
/* JCE Editor - 2.4.2 | 28 July 2014 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2014 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
(function($){$(document).ready(function(){$('div.blockformats').on('update',function(){var v=$('li input[type=... | C3Style/appuihec | tmp/install_5409cd2fded2c/administrator/components/com_jce/media/js/blockformats.js | JavaScript | gpl-2.0 | 821 |
odoo.define('planner_crm.planner', function (require) {
"use strict";
var planner = require('web.planner.common');
var core = require('web.core');
var _t = core._t;
planner.PlannerDialog.include({
prepare_planner_event: function () {
this._super.apply(this, arguments);
if (this.planner['planner_ap... | Aravinthu/odoo | addons/crm/static/src/js/web_planner_crm.js | JavaScript | agpl-3.0 | 2,595 |
/*************************************************************
*
* MathJax/localization/en/HelpDialog.js
*
* Copyright (c) 2009-2018 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 obtain... | GerHobbelt/MathJax | unpacked/localization/en/HelpDialog.js | JavaScript | apache-2.0 | 2,487 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Hanks10100/incubator-weex | test/js-framework/case/basic/components.source.js | JavaScript | apache-2.0 | 2,240 |
var Checker = require('../../../lib/checker');
var expect = require('chai').expect;
describe('rules/validate-comment-position', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.registerDefaultRules();
});
it('accepts valid position', function() {
... | hzoo/node-jscs | test/specs/rules/validate-comment-position.js | JavaScript | mit | 8,642 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v12.0.2
* @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/12.0.2/lib/templateService.js | JavaScript | mit | 3,765 |
/*global define*/
define([
'./defaultValue',
'./DeveloperError'
], function(
defaultValue,
DeveloperError) {
"use strict";
function returnTrue() {
return true;
}
/**
* Destroys an object. Each of the object's functions, including functions in its proto... | AlexOreshkevich/velomode.by | world/Source/Core/destroyObject.js | JavaScript | gpl-2.0 | 1,957 |
if (!RedactorPlugins) var RedactorPlugins = {};
RedactorPlugins.filemanager = function()
{
return {
init: function()
{
if (!this.opts.fileManagerJson) return;
this.modal.addCallback('file', this.filemanager.load);
},
load: function()
{
var $modal = this.modal.getModal();
this.modal.createTabbe... | NikolaiJeliazkov/class-b | www/inc/app/extensions/imperavi-redactor-widget/assets/plugins/filemanager/filemanager.js | JavaScript | mit | 1,558 |
'use strict';
var numbro = require('../../numbro'),
culture = require('../../languages/th-TH');
numbro.culture(culture.langLocaleCode, culture);
exports['culture:th-TH'] = {
setUp: function (callback) {
numbro.culture('th-TH');
callback();
},
tearDown: function (callback) {
n... | stevemoore113/ch_web_- | 資源/CCEI/handsontable/demo/bower_components/numbro/tests/languages/th-TH.js | JavaScript | mit | 2,739 |
function updatePublishDateSlider(prefix) {
var from = parseInt($('#' + prefix + 'from').val(), 10);
var to = parseInt($('#' + prefix + 'to').val(), 10);
// assuming our oldest item is published in the 15th century
var min = 1500;
if (!from || from < min) {
from = min;
}
// move the ... | SimonXIX/vufind-soas | themes/blueprint/js/pubdate_slider.js | JavaScript | gpl-2.0 | 1,702 |
Drupal.behaviors.contextReactionBlock = function(context) {
$('form.context-editor:not(.context-block-processed)')
.addClass('context-block-processed')
.each(function() {
var id = $(this).attr('id');
Drupal.contextBlockEditor = Drupal.contextBlockEditor || {};
$(this).bind('init.pageEditor'... | Wylbur/kula | sites/kulacenter.com/modules/context/plugins/context_reaction_block.js | JavaScript | gpl-2.0 | 14,266 |
/**
* The legend base class adapater for classic toolkit.
*/
Ext.define('Ext.chart.legend.LegendBase', {
extend: 'Ext.view.View',
config: {
tpl: [
'<div class="', Ext.baseCSSPrefix, 'legend-inner">', // for IE8 vertical centering
'<div class="', Ext.baseCSSPrefix, 'legend-... | ebouda33/torrent | www/ext/packages/charts/classic/src/chart/legend/LegendBase.js | JavaScript | gpl-3.0 | 2,294 |
(function ($) {
'use strict';
// set up editor
var snippets = [
"// The _id field is the primary index. This query finds\n// all documents with _id greater than or equal to \"dk\"\ndb.find({\n selector: {_id: {$gte: 'dk'}},\n sort: ['_id']\n});",
"// For other fields, you must create an index first.\n/... | nolanlawson/pouchdb-find | www/app.js | JavaScript | apache-2.0 | 3,692 |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@material-ui/utils";
import { deepmerge } from '@material-ui/utils';
import common from '../colors/common... | jerednel/jerednel.github.io | node_modules/@material-ui/core/esm/styles/createPalette.js | JavaScript | mit | 9,181 |
// Copyright 2014 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/es6/regress/regress-cr372788.js | JavaScript | apache-2.0 | 2,037 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* DecimalLiteral :: DecimalIntegerLiteral ExponentPart
*
* @path ch07/7.8/7.8.3/S7.8.3_A1.2_T4.js
* @description ExponentPart :: E -DecimalDigits
*/
//CHECK#0
if (0E-1 !== 0) {
$ERROR('#0: 0E-1 === 0');
}
//CHECK#1
if (1E-1 !== 0.1) {
$ERROR('#... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch07/7.8/7.8.3/S7.8.3_A1.2_T4.js | JavaScript | bsd-3-clause | 846 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The production Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...
*
* @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js
* @description Execute /\brobot\b/.exec("pilot\n... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js | JavaScript | bsd-3-clause | 1,492 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Result of number conversion from undefined value is NaN
*
* @path ch09/9.3/S9.3_A1_T1.js
* @description Undefined convert to Number by explicit transformation
*/
// CHECK#1
if (isNaN(Number(undefined)) !== true) {
$ERROR('#1: Number(undefined) =... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch09/9.3/S9.3_A1_T1.js | JavaScript | bsd-3-clause | 655 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The valueOf function is not generic, it cannot be transferred
* to other kinds of objects for use as a method and there is should be
* a TypeError exception if its this value is not a Number object
*
* @path ch15/15.7/15.7.4/15.7.4.4/S15.7.4.4_A2_T... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.7/15.7.4/15.7.4.4/S15.7.4.4_A2_T04.js | JavaScript | bsd-3-clause | 1,077 |
/**
* @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
*/
"use strict";
var core_1 = require('@angular/core');
var core_private_1 = require('../core_private');
var browser_1 =... | vidyutron/vidyutron.github.io | vendor/libs/@angular/platform-browser/src/worker_render.js | JavaScript | mit | 7,362 |
/*
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
https://github.com/Leaflet/Leaflet.markercluster
(c) 2012-2013, Dave Leaver, smartrak
*/
(function (window, document, undefined) {/*
* L.MarkerClusterGroup extends L.FeatureGroup by ... | debjyoti385/intelliad | ui/lib/leaflet.markercluster-src.js | JavaScript | mit | 58,707 |
/**
* $Id: editor_plugin_src.js 917 2008-09-03 19:08:38Z spocke $
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is;
... | blogmitnik/rails2_code | vendor/plugins/tiny_mce/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js | JavaScript | mit | 17,321 |
/**
* A mixin which allows a data component to be sorted. This is used by e.g. {@link Ext.data.Store} and {@link Ext.data.TreeStore}.
*
* **NOTE**: This mixin is mainly for internal use and most users should not need to use it directly. It
* is more likely you will want to use one of the component classes that impo... | Kolbaskin/janusjs | static/admin/ext/packages/sencha-core/src/util/Sortable.js | JavaScript | lgpl-2.1 | 12,651 |
describe("Ext.app.ViewModel", function() {
var viewModel, scheduler, session, spy;
function bindDeepNotify (key, fn, scope) {
var bind = viewModel.bind(key, fn || spy, scope);
bind.deep = true;
viewModel.notify();
return bind;
}
function bindNotify (key, fn, scope)... | Kolbaskin/janusjs | static/admin/ext/packages/sencha-core/test/specs/app/ViewModel.js | JavaScript | lgpl-2.1 | 207,164 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'ru', {
options: 'Выбор специального символа',
title: 'Выберите специальный символ',
toolbar: 'Вставить специальный символ'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/specialchar/lang/ru.js | JavaScript | mit | 393 |
'use strict';
var Utils = require('../../utils');
/**
Returns an object that treats SQLite's inabilities to do certain queries.
@class QueryInterface
@static
*/
var QueryInterface = module.exports = {
/**
A wrapper that fixes SQLite's inability to remove columns from existing tables.
It will create a b... | cfogelberg/postgres-fiddle | src/server/node_modules/sequelize/lib/dialects/sqlite/query-interface.js | JavaScript | mit | 3,973 |
alert('HEY'); | disqus/channels | realtime/node_modules/connect-assets/test/assets/js/more/annoying.1.2.3.js | JavaScript | apache-2.0 | 13 |
//>>built
define("dojox/widget/nls/id/FilePicker",({name:"Nama",path:"Jalur",size:"Ukuran (dalam byte)"}));
| mbouami/pme | web/js/dojox/widget/nls/id/FilePicker.js | JavaScript | mit | 108 |
// Copyright 2015 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
function foo(a, b) {
var passed = a == 3;
if (passed) {
if (passed) {
passed = b == 4;
}
}
%Deop... | victorzhao/miniblink49 | v8_4_5/test/mjsunit/compiler/deopt-bool.js | JavaScript | gpl-3.0 | 593 |
$(function() {
$("#modal-1").on("change", function() {
if ($(this).is(":checked")) {
$("body").addClass("modal-open");
} else {
$("body").removeClass("modal-open");
}
});
$(".modal-fade-screen, .modal-close").on("click", function() {
$(".modal-state:checked").prop("checked", false).ch... | smithdamen/refills | source/javascripts/refills/unstyled/modal.js | JavaScript | mit | 416 |
/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.Vue = fac... | xyz252631m/web | vue/js/vue.js | JavaScript | mit | 342,146 |
// Copyright 2013 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.
// None of these tests is relevant for Chrome OS.
GEN('#if !defined(OS_CHROMEOS)');
GEN('#include "base/command_line.h"');
GEN('#include "chrome/common/c... | ThinkingBridge/platform_external_chromium_org | chrome/browser/ui/webui/options/manage_profile_browsertest.js | JavaScript | bsd-3-clause | 15,228 |
(function(jsGrid, $, undefined) {
function Field(config) {
$.extend(true, this, config);
this.sortingFunc = this._getSortingFunc();
}
Field.prototype = {
name: "",
title: null,
css: "",
align: "",
width: 100,
visible: true,
filtering... | wilxsv/contratos | web/assets/plugins/bower_components/jsgrid/src/jsgrid.field.js | JavaScript | gpl-3.0 | 1,629 |
// Copyright (C) 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | lqjack/fixflow | release/userguide/html/prettify.js | JavaScript | apache-2.0 | 59,163 |
/*
* Copyright (c) 2015 - 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
* ... | Rajat-dhyani/brackets | src/language/JSONUtils.js | JavaScript | mit | 12,222 |
/**
* @file
* Handles AJAX fetching of views, including filter submission and response.
*/
(function ($, Drupal, drupalSettings) {
/**
* Attaches the AJAX behavior to exposed filters forms and key View links.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attaches ajaxV... | isauragalafate/drupal8 | web/core/modules/views/js/ajax_view.es6.js | JavaScript | gpl-2.0 | 6,522 |
//// [YieldExpression3_es6.ts]
function* foo() {
yield
yield
}
//// [YieldExpression3_es6.js]
function* foo() {
yield;
yield;
}
| mihailik/TypeScript | tests/baselines/reference/YieldExpression3_es6.js | JavaScript | apache-2.0 | 149 |
// Paver
// Description: A minimal panorama/image viewer replicating the effect seen in Facebook Pages app
// Version: 1.0.0
// Author: Terry Mun
// Author URI: http://terrymun.com
;(function ( $, window, document, undefined ) {
"use strict";
// Create the defaults once
var $w = $(window),
$d = $(document... | brix/cdnjs | ajax/libs/paver/1.0.0/jquery.paver.js | JavaScript | mit | 23,258 |
var binary = require('node-pre-gyp');
var path = require('path');
var binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json')));
var binding = require(binding_path);
//module.exports = require('../build/Release/opencv.node');
module.exports = binding;
| Hasan-Jawaheri/PPAC | vision/node/node_modules/opencv/lib/bindings.js | JavaScript | gpl-3.0 | 276 |
/*
* ext-foreignobject.js
*
* Licensed under the Apache License, Version 2
*
* Copyright(c) 2010 Jacques Distler
* Copyright(c) 2010 Alexis Deveria
*
*/
methodDraw.addExtension("foreignObject", function(S) {
var svgcontent = S.svgcontent,
addElem = S.addSvgElementFromJson,
selElems,
svgns = "http:... | Jackysonglanlan/Scripts | tools/method-draw/extensions/ext-foreignobject.js | JavaScript | unlicense | 7,243 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/entities/q.js
*
* Copyright (c) 2010-2013 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... | michalgraczyk/calculus | web/js/mathjax/unpacked/jax/input/MathML/entities/q.js | JavaScript | mit | 1,087 |
'use strict';
angular.module('com.module.core')
/**
* @ngdoc function
* @name com.module.core.controller:LayoutCtrl
* @description Layout controller
* @requires $scope
* @requires $rootScope
* @requires CoreService
* @requires gettextCatalog
**/
.controller('LayoutCtrl', function($scope, $ro... | hunterlive/adminh | client/app/modules/core/controllers/layout.ctrl.js | JavaScript | mit | 1,955 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'indent', 'lv', {
indent: 'Palielināt atkāpi',
outdent: 'Samazināt atkāpi'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/indent/lang/lv.js | JavaScript | mit | 258 |
/**
* Ext JS Library
* Copyright(c) 2006-2014 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
* @class Ext.ux.desktop.App
*/
Ext.define('Ext.ux.desktop.App', {
mixins: {
observable: 'Ext.util.Observable'
},
requires: [
'Ext.container.Viewport',
... | sqlwang/my_wpblog | wp-content/themes/extjs/ext/packages/ux/classic/src/desktop/App.js | JavaScript | gpl-2.0 | 4,175 |
goog.provide('ol.format.IGC');
goog.provide('ol.format.IGCZ');
goog.require('goog.asserts');
goog.require('goog.string');
goog.require('goog.string.newlines');
goog.require('ol.Feature');
goog.require('ol.format.Feature');
goog.require('ol.format.TextFeature');
goog.require('ol.geom.LineString');
goog.require('ol.proj... | richstoner/ol3 | src/ol/format/igcformat.js | JavaScript | apache-2.0 | 5,312 |
!function(e,t){"function"==typeof define&&define.amd?define(["exports"],t):"undefined"!=typeof exports?t(exports):(t(t={}),e.settings=t)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={prefix:... | cdnjs/cdnjs | ajax/libs/carbon-components/10.33.0/umd/globals/js/settings.min.js | JavaScript | mit | 888 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'docprops', 'sr', {
bgColor: 'Боја позадине',
bgFixed: 'Фиксирана позадина',
bgImage: 'УРЛ позадинске слике',
charset: 'Кодирање скупа карактера',... | aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/docprops/lang/sr.js | JavaScript | mit | 1,856 |
'use strict';
var fs = require('fs');
var path = require('path');
var lib = require('./lib');
var Loader = require('./loader');
var chokidar = require('chokidar');
// Node <0.7.1 compatibility
var existsSync = fs.existsSync || path.existsSync;
var FileSystemLoader = Loader.extend({
init: function(searchPaths, no... | mujiatong/Hexo-mujiatong | node_modules/nunjucks/src/node-loaders.js | JavaScript | gpl-2.0 | 2,184 |
/* */
var assert = require('assert');
var util = require('../../util');
suite('inspect');
test('util.inspect - test for sparse array', function() {
var a = ['foo', 'bar', 'baz'];
assert.equal(util.inspect(a), '[ \'foo\', \'bar\', \'baz\' ]');
delete a[1];
assert.equal(util.inspect(a), '[ \'foo\', , \'baz\' ]')... | GreatWorksCopenhagen/gw-xmascard | src/lib/npm/util@0.10.3/test/browser/inspect.js | JavaScript | gpl-3.0 | 831 |
/**
* @license
* Copyright 2015 The Lovefield Project 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
... | TimWillis/lovefield | lib/proc/order_by_step.js | JavaScript | apache-2.0 | 5,836 |
var phantom = require('../node-phantom-simple');
exports.testPhantomPageSetGet=function (test) {
phantom.create(function (error, ph){
test.ifError(error);
ph.createPage(function (err, page){
test.ifError(err);
page.get('viewportSize',function (err, oldValue) {
... | bennettfeely/love-notes-foundation | wp-content/themes/lovenotestheme/node_modules/grunt-uncss/node_modules/uncss/node_modules/node-phantom-simple/tests/testpagesetget.js | JavaScript | gpl-2.0 | 1,977 |
/** PURE_IMPORTS_START _Observable,_Subscription,_symbol_observable PURE_IMPORTS_END */
import { Observable } from '../Observable';
import { Subscription } from '../Subscription';
import { observable as Symbol_observable } from '../symbol/observable';
export function scheduleObservable(input, scheduler) {
return ne... | BigBoss424/portfolio | v8/development/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js | JavaScript | apache-2.0 | 1,010 |
var common = require("../common-tap")
var path = require("path")
var test = require("tap").test
var rimraf = require("rimraf")
var npm = require("../../")
var mr = require("npm-registry-mock")
var pkg = path.resolve(__dirname, "peer-deps-invalid")
var cache = path.resolve(pkg, "cache")
var nodeModules = path.resolve(pk... | vpistis/openshift-etherpad-lite | src/node_modules/npm/test/tap/peer-deps-invalid.js | JavaScript | apache-2.0 | 1,223 |
'use strict';var mode=typeof window==='undefined'?'server':'browser';var Vault=(function(){var Local,Session,Server;var conf={vaultFile:'/.vault.json',vaultData:'__vaultData'};var parse=function(value){if(value===null||value===undefined||value==='undefined'){return undefined;}
if(value==='null'){return null;}
if(value=... | bsquochoaidownloadfolders/cdnjs | ajax/libs/vault.js/0.1.4/vault.min.js | JavaScript | mit | 8,815 |