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 |
|---|---|---|---|---|---|
;(function($, Mozilla) {
'use strict';
window.dataLayer = window.dataLayer || [];
var firstTime = 'True';
// GA tracking for Firstrun tests
// https://bugzilla.mozilla.org/show_bug.cgi?id=1128726
// should be removed after 2/24/2015
if (window.location.search.indexOf('f=34') > -1) {
... | l-hedgehog/bedrock | media/js/firefox/australis/tour.js | JavaScript | mpl-2.0 | 3,405 |
import PETS from 'common/PETS';
import Pet from '../core/Pet';
const INSANITY_GENERATED_EACH_TICK = 3;
class CallToTheVoid extends Pet {
_pet = PETS.VOID_TENDRIL;
_generatedInsanity = 0;
_tentacles = {};
on_damage(event) {
if (this._sourceId !== undefined && event.sourceID === this._sourceId) {
t... | sMteX/WoWAnalyzer | src/parser/priest/shadow/modules/spells/CallToTheVoid.js | JavaScript | agpl-3.0 | 630 |
/**
* DomParser.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
(function(tinymce) {
var Node = tinymce.html.Node;
/**
* This class parses HTML code into a DOM like struct... | iesoretania/atica.old | lib/tinymce/jscripts/tiny_mce/classes/html/DomParser.js | JavaScript | agpl-3.0 | 20,890 |
odoo.define('website.define', function () {
'use strict';
var containsDefine = typeof(define) !== "undefined" ? define : undefined;
var scripts = {
'jquery': jQuery
};
function odoo_define(parse) {
return function (name, list, callback) {
var def = $.Deferred();
def.openerpDefine = true;
... | addition-it-solutions/project-all | addons/website/static/src/js/openerp.define.js | JavaScript | agpl-3.0 | 2,983 |
(function(globals) {
var django = globals.django || (globals.django = {});
django.pluralidx = function(n) {
var v=(n != 1);
if (typeof(v) == 'boolean') {
return v ? 1 : 0;
} else {
return v;
}
};
/* gettext library */
django.catalog = django.catalog || {};
var newc... | cpennington/edx-platform | lms/static/js/i18n/bn-in/djangojs.js | JavaScript | agpl-3.0 | 5,812 |
import {ModelPage} from 'models/base';
import log from 'logger';
export default class DiscussionPage extends ModelPage {
constructor(options) {
super(options);
this.$options.ns = 'discussions';
this.$options.fetch = 'list_discussions';
}
};
| opendatateam/udata | js/models/discussions.js | JavaScript | agpl-3.0 | 275 |
'use strict';
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();
var config = require('./lib/ProductFlavors').generateFlavoredConfig();
gulp.task('lint', function() {
return gulp.src(['tasks/**/*.js', config.globScript])
.pipe(plugins.jshint())
.pipe(plugins.jshint.reporter('jshint-st... | drewbrokke/sennajs.com | tasks/lint.js | JavaScript | lgpl-2.1 | 334 |
import {Services} from '#service';
import {user} from '#utils/log';
import {FakeWindow} from '#testing/fake-dom';
import {
registerServiceBuilderForDoc,
resetServiceForTesting,
} from '../../../../../src/service-helpers';
import {
AmpScript,
AmpScriptService,
SanitizerImpl,
StorageLocation,
setUpgradeF... | alanorozco/amphtml | extensions/amp-script/0.1/test/unit/test-amp-script.js | JavaScript | apache-2.0 | 20,394 |
(function() {
'use strict';
angular
.module('<%=angularAppName%>')
.filter('characters', characters);
function characters () {
return charactersFilter;
function charactersFilter(input, chars, breakOnWord) {
if (isNaN(chars)) {
return input;
... | dads-software-brotherhood/sekc | node_modules/generator-jhipster/generators/client/templates/angularjs/src/main/webapp/app/components/util/_truncate-characters.filter.js | JavaScript | apache-2.0 | 1,061 |
#!/usr/bin/env node
/**
* Copyright 2013, 2015 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | genecyber/node-red | red.js | JavaScript | apache-2.0 | 8,985 |
defineSuite([
'Core/sampleTerrain',
'Core/Cartographic',
'Core/CesiumTerrainProvider'
], function(
sampleTerrain,
Cartographic,
CesiumTerrainProvider) {
'use strict';
var terrainProvider = new CesiumTerrainProvider({
url : 'https://assets.agi.com/stk-... | AnimatedRNG/cesium | Specs/Core/sampleTerrainSpec.js | JavaScript | apache-2.0 | 4,113 |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2012-2017 Massachusetts Institute of Technology. All rights reserved.
/**
* @license
* @fileoverview Text blocks yail generators for Blockly, modified for MIT App Inventor.
* @author mckinney@mit.edu (Andrew F. McKinney)
*/
'use strict';
goog.provide('Blockl... | mit-cml/appinventor-sources | appinventor/blocklyeditor/src/generators/yail/text.js | JavaScript | apache-2.0 | 18,648 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | TribeMedia/aura | aura-components/src/main/components/aura/html/htmlRenderer.js | JavaScript | apache-2.0 | 3,615 |
/*
* Copyright (c) 2012-2015 S-Core Co., Ltd.
*
* 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... | kyungmi/webida-server | src/server/fs/lib/container/lxcd.js | JavaScript | apache-2.0 | 9,450 |
Prism.languages.python = {
'comment': {
pattern: /(^|[^\\])#.*/,
lookbehind: true
},
'string-interpolation': {
pattern: /(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
greedy: true,
inside: {
'interpolation': {
// "{" <expression> <optional "!s", "!r", or "!a"> <optional ":" f... | kaya33/kaya33.github.io | node_modules/prismjs/components/prism-python.js | JavaScript | apache-2.0 | 2,404 |
// 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
// distributed un... | michellephung/couchdb-fauxton | app/addons/documents/index-results/components/pagination/TableControls.js | JavaScript | apache-2.0 | 1,933 |
'use strict';
const VALIDATIONS = {
REQUIRED: 'required',
MIN: 'min',
MAX: 'max',
MINLENGTH: 'minlength',
MAXLENGTH: 'maxlength',
PATTERN: 'pattern',
MINBYTES: 'minbytes',
MAXBYTES: 'maxbytes'
};
const VALUED = {
required: false,
min: true,
max: true,
minlength: true,
maxlength: true,
patt... | fjuriolli/scribble | node_modules/jhipster-core/lib/core/jhipster/validations.js | JavaScript | apache-2.0 | 711 |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2013 SAP AG. All rights reserved
*/
jQuery.sap.declare("sap.suite.ui.commons.UnifiedThingGroupRenderer");sap.suite.ui.commons.UnifiedThingGroupRenderer={};
sap.suite.ui.commons.UnifiedThingGroupRenderer.render=function(r,c){var t=c.getTooltip_AsSt... | org-scn-design-studio-community/sdkpackage1.6 | src/org.scn.community.m.basics/os/sapui5/suite/UnifiedThingGroupRenderer.js | JavaScript | apache-2.0 | 1,227 |
$(function () {
'use strict'
/* ChartJS
* -------
* Here we will create a few charts using ChartJS
*/
//-----------------------
//- MONTHLY SALES CHART -
//-----------------------
// Get context with jQuery - using jQuery's .get() method.
var salesChartCanvas = $('#salesChart').get(0).getCont... | vito16/shop | src/main/resources/static/common/adminlte/js/pages/dashboard2.js | JavaScript | apache-2.0 | 11,356 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("about",function(a){a=a.lang.about;var b=CKEDITOR.getUrl(CKEDITOR.plugins.get("about").path+"dialogs/"+(CKEDITOR.env.hidpi?"hidpi/":"")+"logo_ckeditor... | xuhuisheng/lemon | webapp/cdn/public/ckeditor/4.6.2/plugins/about/dialogs/about.js | JavaScript | apache-2.0 | 1,893 |
var _ = require('../../../lib/alloy/underscore')._;
exports.parse = function(node, state) {
_.extend(state, {
itemArrayDefinition: {
parents: [
'Ti.UI.iOS.PreviewContext'
],
children: [
'ALL'
],
property: 'actions'
}
});
return require('./Alloy.Abstract._ItemArray').parse(node, state);
};... | sharpred/boilerPlate | node_modules/alloy/Alloy/commands/compile/parsers/Alloy.Abstract.Actions.js | JavaScript | apache-2.0 | 321 |
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.... | daneshk/carbon-store | jaggery-modules/account-management/module/scripts/claims/claims.js | JavaScript | apache-2.0 | 2,348 |
/**
* @license
* Copyright 2014 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
... | peterbe/lovefield | lib/proc/skip_step.js | JavaScript | apache-2.0 | 1,520 |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = getNoTestFound;
function _chalk() {
const data = _interopRequireDefault(require('chalk'));
_chalk = function _chalk() {
return data;
};
return data;
}
var _pluralize = _interopRequireDefault(require('./plur... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/@jest/core/build/getNoTestFound.js | JavaScript | apache-2.0 | 1,561 |
module.exports={A:{A:{"2":"H D G E A B FB"},B:{"2":"C p x J L","1028":"N I"},C:{"2":"0 1 2 aB CB F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w YB SB","132":"3","578":"4 5 6 8 9 y AB"},D:{"1":"1 2 3 4 5 6 8 9 t u v w y AB MB cB GB a HB IB JB KB","2":"0 F K H D G E A B ... | ihmcrobotics/ihmc-realtime | websitedocs/website/node_modules/caniuse-lite/data/features/link-rel-preload.js | JavaScript | apache-2.0 | 895 |
/* globals expect, it, describe, hot, cold, expectObservable */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;
describe('Observable.merge(...observables)', function () {
it('should merge cold and cold', function () {
var e1 = cold('---a-----b-----c----|');
var e1subs = '^ ... | jinroh/RxJS | spec/observables/merge-spec.js | JavaScript | apache-2.0 | 7,167 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.5-4-216
description: >
Object.create - 'writable' property of one property in
'Properties' is a Function object (8.10.5 step 6.b)
---*/
var newObj = Object... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/Object/create/15.2.3.5-4-216.js | JavaScript | bsd-2-clause | 546 |
define(function (require) {
'use strict';
var Light = require('../Light');
/**
* @constructor qtek.light.Sphere
* @extends {qtek.Light}
*/
var SphereLight = Light.derive(
/** @lends qtek.light.Sphere# */
{
/**
* @type {number}
*/
range: 100,
... | JDReutt/qtek | src/light/Sphere.js | JavaScript | bsd-2-clause | 1,404 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-3-228
description: >
Object.defineProperty - 'Attributes' is an Arguments object which
implements its own [[Get]] method to access the 'get' property
... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-3-228.js | JavaScript | bsd-2-clause | 596 |
var equals = /*#__PURE__*/require('../equals');
function _indexOf(list, a, idx) {
var inf, item;
// Array.prototype.indexOf doesn't exist below IE9
if (typeof list.indexOf === 'function') {
switch (typeof a) {
case 'number':
if (a === 0) {
// manually crawl the list to distinguish bet... | endlessm/chromium-browser | third_party/devtools-frontend/src/node_modules/ramda/src/internal/_indexOf.js | JavaScript | bsd-3-clause | 1,444 |
var mergeAdjacent = require('./merge-adjacent');
var mergeMediaQueries = require('./merge-media-queries');
var mergeNonAdjacentByBody = require('./merge-non-adjacent-by-body');
var mergeNonAdjacentBySelector = require('./merge-non-adjacent-by-selector');
var reduceNonAdjacent = require('./reduce-non-adjacent');
var rem... | ChromeDevTools/devtools-frontend | node_modules/clean-css/lib/optimizer/level-2/optimize.js | JavaScript | bsd-3-clause | 3,989 |
// Copyright 2011 The Closure Library 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
//
// Unl... | dmincu/IOC | new_php/closure-library/closure/goog/storage/errorcode.js | JavaScript | mit | 985 |
version https://git-lfs.github.com/spec/v1
oid sha256:54e1c65a298299c2148ff644dec8c8551e0d0e792a4e862efa232476f6cf7bee
size 15280
| yogeshsaroya/new-cdnjs | ajax/libs/webshim/1.15.7/minified/shims/es5.js | JavaScript | mit | 130 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'elementspath', 'en-gb', {
eleLabel: 'Elements path',
eleTitle: '%1 element'
});
| proxygear/exo_cms | vendor/assets/javascripts/ckeditor/plugins/elementspath/lang/en-gb.js | JavaScript | mit | 263 |
/**
* 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... | gunaangs/Feedonymous | node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js | JavaScript | mit | 30,609 |
var name = "Fine Friend";
var collection_type = 0;
var is_secret = 0;
var desc = "Made 7 friends";
var status_text = "You're getting pretty popular! You've earned a Fine Friend badge.";
var last_published = 1316379385;
var is_shareworthy = 0;
var url = "fine-friend";
var category = "social";
var url_swf = "\/c2.... | Mexiswow/eleven-gsjs | achievements/fine_friend.js | JavaScript | mit | 1,494 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/streamanalyticsManagement/lib/models/azureMachineLearningWebServiceInputs.js | JavaScript | mit | 1,955 |
'use strict';
/* jshint -W030 */
/* jshint -W110 */
var chai = require('chai')
, expect = chai.expect
, Sequelize = require('../../index')
, Support = require(__dirname + '/support')
, DataTypes = require(__dirname + '/../../lib/data-types')
, dialect = Support.getTestDialect()
, config = require(__dirname... | sobotklp/sequelize | test/integration/instance.test.js | JavaScript | mit | 74,719 |
'use strict';
angular.module('arethusa.core').directive('sidepanelFolder', [
'sidepanel',
'$window',
'translator',
function(sidepanel, $window, translator) {
return {
scope: {},
link: function (scope, element, attrs) {
var win = angular.element($window);
scope.translations = tr... | Masoumeh/arethusa | app/js/arethusa.core/directives/sidepanel_folder.js | JavaScript | mit | 1,594 |
var test = require('tape');
var bitIterator = require('../lib/bit_iterator');
test('should return the correct bit pattern across byte boundaries', function(t) {
t.plan(5);
var bi = bitIterator(function() {
return new Buffer([0x0f,0x10,0x01,0x80]);
});
t.equal(bi(16), 0x0f10);
t.equal(bi(7... | LedgerHQ/ledger-wallet-ripple | src/main/resources/node_modules/unbzip2-stream/test/bit_iterator.js | JavaScript | mit | 1,248 |
'use strict';
var path = require('path')
, chai = require('chai')
, should = chai.should()
, expect = chai.expect
, fs = require('fs')
, Config = require(path.join(__dirname, '..', 'lib', 'config'))
;
function idempotentEnv(name, value, callback) {
var is, saved;
// process.env is not a norma... | tylergeery/raccoontype | node_modules/newrelic/test/config.test.js | JavaScript | mit | 31,829 |
(function() {
CodeMirror.extendMode("css", {
commentStart: "/*",
commentEnd: "*/",
newlineAfterToken: function(type, content) {
return /^[;{}]$/.test(content);
}
});
CodeMirror.extendMode("javascript", {
commentStart: "/*",
commentEnd: "*/",
... | lifei6671/go-git-webhook | static/codemirror/extension/formatting.js | JavaScript | mit | 4,462 |
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
// Adding a CA certificate to contextWithCert should not also add it to
// contextWithoutCert. This is tested by trying to connect to a server that
// depends on that CA using contextWithoutCert.
const {
assert, conne... | MTASZTAKI/ApertusVR | plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/test/parallel/test-tls-addca.js | JavaScript | mit | 1,381 |
"use strict";
var Message_1 = require("../Message");
var ReceiptCard = (function () {
function ReceiptCard(session) {
this.session = session;
this.data = {
contentType: 'application/vnd.microsoft.card.receipt',
content: {}
};
}
ReceiptCard.prototype.title = fu... | nobanusa/Airport-Slackbot | node_modules/botkit/node_modules/botbuilder/lib/cards/ReceiptCard.js | JavaScript | mit | 5,045 |
module.exports = {
preCommit : [
],
postCommit : [
'(git pull --rebase origin master && git push origin master) || (echo "Ok fine, I\'ll stash" >&2 && git stash -u -q && git push origin master && git stash pop -q)',
'npm publish .',
"ssh root@dibsy 'updateDibsy'"
]
};
| amhorton/hubot-scripts | src/scripts/support/commitCommands.js | JavaScript | mit | 311 |
$(function() {
/* Uploadify */
var uploaded_attachments = $('#uploaded-attachments');
var upload_token = $('input[name=token]').val();
var session = $('input[name=session]').val();
var project = $('input[name=project_id]').val();
$('#upload').uploadify({
'uploader' : baseurl + '/app/assets/js/uploadify/upload... | stevem/tinyissue | app/assets/js/project.js | JavaScript | mit | 4,887 |
exports.foo = 'bar'
| benmosher/eslint-plugin-import | tests/files/node_modules/a/index.js | JavaScript | mit | 20 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _oneLineCommaListsOr = require('./oneLineCommaListsOr');
var _oneLineCommaListsOr2 = _interopRequireDefault(_oneLineCommaListsOr);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
expor... | amiechen/amiechen.github.io | node_modules/webpack-validator/node_modules/common-tags/lib/oneLineCommaListsOr/index.js | JavaScript | mit | 758 |
'use strict';
var minilog = require('minilog')
, log = minilog('traverson');
/*
* This transform is meant to be run at the very end of a getResource call. It
* just extracts the last doc from the step and calls t.callback with it.
*/
module.exports = function extractDoc(t) {
log.debug('walker.walk has finished... | basti1302/traverson | lib/transforms/extract_doc.js | JavaScript | mit | 851 |
var NobleDevice = require('noble-device');
var Common = require('./common');
var ACCELEROMETER_UUID = 'f000aa1004514000b000000000000000';
var MAGNETOMETER_UUID = 'f000aa3004514000b000000000000000';
var GYROSCOPE_UUID = 'f000aa5004514000b0000000000000... | nealjack/node-sensortag | lib/cc2540.js | JavaScript | mit | 10,939 |
'use strict';
const common = require('../common');
const { Console } = require('console');
const { Writable } = require('stream');
const async_hooks = require('async_hooks');
// Make sure that repeated calls to console.log(), and by extension
// stream.write() for the underlying stream, allocate exactly 1 tick object.... | enclose-io/compiler | lts/test/parallel/test-stream-writable-samecb-singletick.js | JavaScript | mit | 987 |
define({
"_widgetLabel": "Список слоев",
"titleBasemap": "Базовые карты",
"titleLayers": "Рабочие слои",
"labelLayer": "Имя слоя",
"itemZoomTo": "Приблизить к",
"itemTransparency": "Прозрачность",
"itemTransparent": "Прозрачный",
"itemOpaque": "Непрозрачный",
"itemMoveUp": "Выше",
"itemMoveDown": "Н... | cmccullough2/cmv-wab-widgets | wab/2.3/widgets/LayerList/nls/ru/strings.js | JavaScript | mit | 1,287 |
import React from 'react'
import Header from '../../components/Header'
import classes from './CoreLayout.scss'
import '../../styles/core.scss'
export const CoreLayout = ({ children }) => (
<div className='container text-center'>
<Header/>
<div className={classes.mainContainer}>
{children}
</div>
... | jaronoff97/listmkr | src/layouts/CoreLayout/CoreLayout.js | JavaScript | mit | 431 |
/* *
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import U from '../Utilities.js';
var addEvent = U.addEvent, getMagnitude = U.getMagnitude, normalizeTickInterval = U.normalizeTickInt... | cdnjs/cdnjs | ajax/libs/highcharts/9.3.1/es-modules/Core/Axis/DateTimeAxis.js | JavaScript | mit | 6,401 |
define(
//begin v1.x content
{
"field-tue-relative+-1": "지난 화요일",
"field-year": "년",
"field-wed-relative+0": "이번 수요일",
"field-wed-relative+1": "다음 수요일",
"timeFormat-short": "a h:mm",
"field-minute": "분",
"field-tue-narrow-relative+0": "이번 화요일",
"field-tue-narrow-relative+1": "다음 화요일",
"field-thu-short-relative... | cdnjs/cdnjs | ajax/libs/dojo/1.16.3/cldr/nls/ko/islamic.js | JavaScript | mit | 8,559 |
hljs.registerLanguage("cpp",(()=>{"use strict";function e(e){
return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?")
}return t=>{const n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+e(r)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",i={
classNa... | cdnjs/cdnjs | ajax/libs/highlight.js/10.6.0/languages/cpp.min.js | JavaScript | mit | 4,417 |
;(function ($, window, document, undefined) {
'use strict';
var Modernizr = Modernizr || false;
Foundation.libs.joyride = {
name : 'joyride',
version : '5.0.0',
defaults : {
expose : false, // turn on or off the expose feature
modal : true,... | olek1984/dremboard | wp-content/plugins/buddypress-media/app/assets/sass/bower_components/foundation/js/foundation/foundation.joyride.js | JavaScript | gpl-2.0 | 27,317 |
'use strict';
!function($) {
/**
* Reveal module.
* @module foundation.reveal
* @requires foundation.util.keyboard
* @requires foundation.util.box
* @requires foundation.util.triggers
* @requires foundation.util.mediaQuery
* @requires foundation.util.motion if using animations
*/
class Reveal {
/**
* Cr... | JugglerX/figurit-drupal | web/themes/custom/figurit/js/foundation6/js/foundation.reveal.js | JavaScript | gpl-2.0 | 15,848 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'bidi', 'sk', {
ltr: 'Smer textu zľava doprava',
rtl: 'Smer textu sprava doľava'
} );
| jagnoha/website | profiles/varbase/profiles/varbase/modules/contrib/ckeditor_bidi/js/plugins/bidi/lang/sk.js | JavaScript | gpl-2.0 | 259 |
define(['jQuery'], function ($) {
var brandingConfigKey = "branding";
var currentBrandingOptions;
var currentLanguage;
function loadPage(page, config, languageOptions, systemInfo) {
var os = systemInfo.OperatingSystem.toLowerCase();
if (os.indexOf('windows') != -1) {
$(... | softworkz/Emby | MediaBrowser.WebDashboard/dashboard-ui/scripts/dashboardgeneral.js | JavaScript | gpl-2.0 | 7,003 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'mk', {
copy: 'Авторски права © $1. Сите права се задржани.',
dlgTitle: 'За CKEditor',
help: 'Отворете $1 за помош.',
moreInfo: 'За ... | igor-borisov/valamis | learn-portlet/src/main/webapp/js2.0/vendor/ckeditor/plugins/about/lang/mk.js | JavaScript | gpl-3.0 | 592 |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
(function (factory) {
if (typeof module === 'object' && ty... | chitranshi21/home_service_ionic | node_modules/ionic-angular/umd/components/spinner/spinner.js | JavaScript | gpl-3.0 | 12,174 |
/* The Editor object manages the content of the editable frame. It
* catches events, colours nodes, and indents lines. This file also
* holds some functions for transforming arbitrary DOM structures into
* plain sequences of <span> and <br> elements
*/
// Make sure a string does not contain two consecutive 'collap... | alirizakeles/tendenci | tendenci/apps/base/static/codemirror/js/editor.js | JavaScript | gpl-3.0 | 49,136 |
/**
* Thai translation for bootstrap-datepicker
* Suchau Jiraprapot <seroz24@gmail.com>
*/
;(function ($) {
$.fn.datepicker.dates['th'] = {
days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
daysMin: ... | IkoBB/IkoBB | template/admin/plugins/datepicker/locales/bootstrap-datepicker.th.js | JavaScript | gpl-3.0 | 1,052 |
module.exports = function(bh) {
bh.match('ua', function(ctx, json) {
ctx.applyBase();
ctx.content([
json.content,
'(function(d,n){',
'd.documentElement.className+=',
'" ua_svg_"+(d[n]&&d[n]("http://www.w3.org/2000/svg","svg").createSVGRect?"ye... | megatolya/bem-core | common.blocks/ua/__svg/ua__svg.bh.js | JavaScript | mpl-2.0 | 408 |
/*
YUI 3.11.0 (build d549e5c)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('cookie', function (Y, NAME) {
/**
* Utilities for cookie management
* @module cookie
*/
//shortcuts
var L = Y.Lang,
O = Y.Object,
... | devmix/openjst | server/commons/war/src/main/webapp/ui/lib/yui/build/cookie/cookie.js | JavaScript | agpl-3.0 | 18,791 |
exports.get = handleRequest;
exports.post = handleRequest;
exports.put = handleRequest;
exports.patch = handleRequest;
exports.del = handleRequest;
exports.handleRequest = handleRequest;
function handleRequest(req, res) {
var format = req.query.format || 'json';
var status = req.query.status || 200;
var ou... | apuyana/azure-mobile-services | test/Android/ZumoE2ETestApp/scripts/api/shared.js | JavaScript | apache-2.0 | 2,954 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
function plural(n) {
if... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/@angular/common/locales/cy.js | JavaScript | apache-2.0 | 2,387 |
/**
* This view shows the header in the layout.
*/
girder.views.LayoutHeaderView = girder.View.extend({
events: {
'click .g-app-title': function () {
girder.router.navigate('', {trigger: true});
}
},
initialize: function () {
this.userView = new girder.views.LayoutHead... | opadron/girder | clients/web/src/views/layout/HeaderView.js | JavaScript | apache-2.0 | 1,075 |
var table = 3; // Unit of table
var operator = 'addition'; // Type of calculation
var i = 1; // Set counter to 1
var msg = ''; // Message
if (operator === 'addition') {
// Do addition
while (i < 11) {
msg += i + ' + ' + table + ' = ' + (i + table) + '<br />';
i++;
... | shammunhossain/ITE220 | web2/javascript-and-jquery-book-code-0915/c04/js/example.js | JavaScript | apache-2.0 | 555 |
/* jshint globalstrict:false, strict:false, unused : false */
/* global assertEqual */
// //////////////////////////////////////////////////////////////////////////////
// / @brief tests for transactions
// /
// / @file
// /
// / DISCLAIMER
// /
// / Copyright 2010-2012 triagens GmbH, Cologne, Germany
// /
// / License... | wiltonlazary/arangodb | tests/js/server/recovery/no-shutdown-info-multiple-logs.js | JavaScript | apache-2.0 | 3,149 |
<%#
Copyright 2013-2017 the original author or authors from the JHipster project.
This file is part of the JHipster project, see https://jhipster.github.io/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ... | bhav0904/netDelSolution | node_modules/generator-jhipster/generators/client/templates/angularjs/src/test/javascript/_protractor.conf.js | JavaScript | apache-2.0 | 3,556 |
import assert from 'assert';
import { parse } from './parse.js';
import { combineLatest } from '../../src/extras.js';
describe('extras/combineLatest', () => {
it('should emit arrays containing the most recent values', async () => {
let output = [];
await combineLatest(
parse('a-b-c-d'),
parse('-A... | BigBoss424/portfolio | v8/development/node_modules/zen-observable/test/extras/combine-latest.js | JavaScript | apache-2.0 | 878 |
/*
Copyright 2013 The Camlistore Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | apparentlymart/camlistore-debian | server/camlistored/ui/sprited_animation.js | JavaScript | apache-2.0 | 1,205 |
$.register({
rule: {
host: /^(depic\.me|(www\.)?picamatic\.com)$/,
},
ready: function () {
'use strict';
var i = $('#pic');
$.openImage(i.src);
},
});
// ex: ts=2 sts=2 sw=2 et
// sublime: tab_size 2; translate_tabs_to_spaces true; detect_indentation false; use_tab_stops true;
// kate: space-i... | tablesmit/adsbypasser | src/sites/image/depic.me.js | JavaScript | bsd-2-clause | 346 |
/**
* 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... | davidchang/draft-js | src/component/selection/DraftOffsetKey.js | JavaScript | bsd-3-clause | 967 |
// Chart design based on the recommendations of Stephen Few. Implementation
// based on the work of Clint Ivy, Jamie Love, and Jason Davies.
// http://projects.instantcognition.com/protovis/bulletchart/
nv.models.bulletChart = function() {
"use strict";
//======================================================... | cdeguzman/DLSUTCS | webapp/vendor/nvd3-master/src/models/bulletChart.js | JavaScript | mit | 9,852 |
var styleElement;
var exenv;
describe('keyframes', () => {
beforeEach(() => {
styleElement = {
textContent: '',
sheet: {
insertRule: sinon.spy(),
cssRules: []
}
};
sinon.stub(document, 'createElement', () => {
return styleElement;
});
sinon.stub(document... | yomolify/cc-server | node_modules/radium/modules/__tests__/keyframes-test.js | JavaScript | mit | 3,602 |
/*! bespoke-hash v0.1.2 © 2013 Mark Dalgleish, Licensed MIT */
(function(e){e.plugins.hash=function(e){var t,n=function(){var t=window.location.hash.slice(1),n=parseInt(t,10);t&&(n?r(n-1):e.slides.forEach(function(e,n){e.getAttribute("data-bespoke-hash")===t&&r(n)}))},r=function(n){n!==t&&e.slide(n)};setTimeout(functio... | OrganicPanda/Responsive-Day-Out-2-Notes | src/bower_components/bespoke-hash/dist/bespoke-hash.min.js | JavaScript | mit | 507 |
/*************************************************************
*
* MathJax/localization/ru/ru.js
*
* Copyright (c) 2009-2016 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... | masterfish2015/my_project | 半导体物理/js/mathjax/unpacked/localization/ru/ru.js | JavaScript | mit | 3,772 |
(function (arr, i) {
if (Array.isArray(arr)) {
return arr;
} else {
var _arr = [];
for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {
_arr.push(_step.value);
if (i && _arr.length === i) break;
}
return _arr;
}
});
| hawkrives/6to5 | lib/6to5/transformation/templates/sliced-to-array.js | JavaScript | mit | 290 |
module.exports = function(hljs) {
return {
aliases: ['adoc'],
contains: [
// block comment
hljs.COMMENT(
'^/{4,}\\n',
'\\n/{4,}$',
// can also be done as...
//'^/{4,}$',
//'^/{4,}$',
{
relevance: 10
}
),
/... | masterfish2015/my_project | 半导体物理/js/highlight.js/lib/languages/asciidoc.js | JavaScript | mit | 4,480 |
import Component from '@ember/component';
import layout from './template';
export default Component.extend({
layout,
});
| imgix/ember-cli-imgix | tests/dummy/app/components/demo-app-navbar/component.js | JavaScript | mit | 124 |
import sinon from 'sinon';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import Immutable from 'immutable';
import React from 'react';
import { Text, View, TouchableHighlight } from 'react-native';
import Counter from '../../src/components/Counter';
const props = {
counter: Immutable.Map({ counter... | FuYaoDe/30-days-of-react-native | test/components/Counter.spec.js | JavaScript | mit | 1,460 |
let testnetWallet = {
"privateKey": "",
"name": "TestnetSpec",
"accounts": {
"0": {
"brain": true,
"algo": "pass:bip32",
"encrypted": "c6dcbc8a538c9e2ec9e9be115aa6a1349d1a8a27e574136b4e603f0549474053e026e0771bf8d86a392fccce5b543d0b",
"iv": "4c637775236... | mizunashi/NanoWallet | tests/data/wallet.js | JavaScript | mit | 1,674 |
/** @license
*
* SoundManager 2: JavaScript Sound for the Web
* ----------------------------------------------
* http://schillmania.com/projects/soundmanager2/
*
* Copyright (c) 2007, Scott Schiller. All rights reserved.
* Code provided under the BSD License:
* http://schillmania.com/projects/soundmanag... | NoahYarian/samplepad | www/lib/sm2/js/soundmanager2-nodebug-jsmin.js | JavaScript | mit | 34,962 |
module.exports={title:"Big Cartel",slug:"bigcartel",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Big Cartel icon</title><path d="M12 13.068v-1.006c0-.63.252-1.256.88-1.508l7.79-4.9c.503-.252.755-.88.755-1.51V0L12 6.03 2.575 0v12.69c0 3.394 1.51 6.284 4.02 7.917L11.875 24l5.28-3.393... | cdnjs/cdnjs | ajax/libs/simple-icons/4.16.0/bigcartel.min.js | JavaScript | mit | 504 |
/**
* This example illustrates the use of plugins to alter the default behaviour of Components.
* The <b>Send To</b> field clones itself until the final one is left blank to allow
* multiple mail recipients. The layout manager keeps the vertical space allocated correctly.
*/
Ext.define('KitchenSink.view.form.F... | mesocentrefc/Janua-SMS | janua-web/ext/examples/kitchensink/classic/samples/view/form/FieldReplicator.js | JavaScript | gpl-2.0 | 2,041 |
/**
* ES lang variables
*
* Authors : Alvaro Velasco,
* Adolfo Sanz De Diego (asanzdiego) <asanzdiego@yahoo.es>,
* Carlos C Soto (eclipxe) <csoto@sia-solutions.com>
* Eneko Castresana Vara
* Last Updated : July 14, 2006
* TinyMCE Version : 2.0.6.1
*/
tinyMCE.addToLang... | kuwox/xpoweb | plugins/editors/tinymce/jscripts/tiny_mce/plugins/flash/langs/es.js | JavaScript | gpl-2.0 | 564 |
// Gulp building scripts
var gulp = require("gulp");
var del = require("del");
var gutil = require("gulp-util");
var webpack = require("webpack");
var webpackConfig = require("./webpack.config.js");
var runSequence = require("run-sequence");
var Server = require('karma').Server;
var pkg = require("./package.json");
va... | arron9/promotion | public/libs/vue-datetime-picker/gulpfile.js | JavaScript | gpl-2.0 | 3,010 |
/*!
* Ext JS Library 3.1.1
* Copyright(c) 2006-2010 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
Ext.ux.Portlet = Ext.extend(Ext.Panel, {
anchor : '100%',
frame : true,
collapsible : true,
draggable : true,
cls : 'x-portlet'
});
Ext.reg('portlet', Ext.ux.Portlet)... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.3/views/Extjs3/javascript/panels/Portlet.js | JavaScript | gpl-3.0 | 323 |
Ext.namespace("GeoNode");
GeoNode.UserEmailSelector = Ext.extend(Ext.util.Observable, {
constructor: function(config) {
Ext.apply(this, config);
this.initUserStore();
this.panel = this.doLayout();
},
initUserStore: function() {
if (!this.userstore) {
var cfg = ... | mbertrand/cga-worldmap | src/geonode-client/app/static/script/app/GeoNode/UserEmailSelector.js | JavaScript | gpl-3.0 | 4,014 |
( function( mw, $ ) {"use strict";
mw.PluginManager.add( 'durationLabel', mw.KBaseComponent.extend({
defaultConfig: {
parent: "controlsContainer",
order: 31,
displayImportance: 'medium',
prefix: ' / '
},
contentDuration: 0,
setup: function(){
var _this = this;
this.bind( 'durationChan... | vladm3/mwEmbed | modules/KalturaSupport/components/durationLabel.js | JavaScript | agpl-3.0 | 1,251 |
// Calendar i18n
// Language: it (Italian)
// Encoding: utf-8
// Author: Fabio Di Bernardini, <altraqua@email.it>
// Distributed under the same terms as the calendar itself.
// full day names
Calendar._DN = new Array
("Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato",
"Domenica");
//... | ralphbean/monroe | wsgi/static/resources/tw2.forms/static/calendar/lang/calendar-it.js | JavaScript | agpl-3.0 | 2,848 |
var svgfactory = require('./svgfactory.js');
var nodeIsVisible = function(node) {
var ret = true;
while (node.tagName.toLowerCase() !== "html") {
if ($(node).css('display') === 'none') {
ret = false;
break;
}
node = node.parentNode;
}
return ret;
};
var OncoprintLegendView = (function() {... | inodb/cbioportal | portal/src/main/webapp/js/src/oncoprint/webgl/src/js/oncoprintlegendrenderer.js | JavaScript | agpl-3.0 | 7,641 |
/**
* Nanocloud turns any traditional software into a cloud solution, without
* changing or redeveloping existing source code.
*
* Copyright (C) 2016 Nanocloud Software
*
* This file is part of Nanocloud.
*
* Nanocloud is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affe... | Gentux/nanocloud | assets/app/protected/users/controller.js | JavaScript | agpl-3.0 | 1,710 |
/**
* @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
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... | cloudfoundry-community/asp.net5-buildpack | fixtures/node_apps/angular_dotnet/ClientApp/node_modules/zone.js/dist/zone.js | JavaScript | apache-2.0 | 147,838 |
$(function(){
function pageLoad(){
$('.widget').widgster();
$('[data-toggle=tooltip]').tooltip();
$('[data-toggle=popover]').popover();
}
pageLoad();
SingApp.onPageLoad(pageLoad);
}); | fransfilastap/pm5 | src/main/resources/static/js/ui-components.js | JavaScript | apache-2.0 | 223 |
function PigNode(properties) {
var self = this;
self.properties = properties;
self.operation = properties.operation;
self.additional_info = function() {
if (self.properties.macro) {
return " (MACRO: "+self.properties.macro+")";
}
if (self.properties.limit) {
... | thedatachef/Lipstick | lipstick-server/app/templates/PigNode.js | JavaScript | apache-2.0 | 3,119 |
jest.dontMock('../home');
const React = require('react/addons');
const Home = require('../home');
const TestUtils = React.addons.TestUtils;
describe('Home', function() {
let home = null;
beforeEach(function() {
home = TestUtils.renderIntoDocument(<Home/>);
});
it('contains the word React', function() {
... | SF-Housing-Visualization/mids-sf-housing-visualization | app/scripts/components/__tests__/time-series-visualization-test.js | JavaScript | apache-2.0 | 574 |