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 |
|---|---|---|---|---|---|
{
"languages"
:
{
}
} | DylanKojiCheslin/coderwall | spec/fixtures/mdeiters_languages_attribute_awareness.js | JavaScript | agpl-3.0 | 33 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('options', function() {
var OptionsPage = options.OptionsPage;
/**
* ImportDataOverlay class
* Encapsulated handling of the 'Impo... | aospx-kitkat/platform_external_chromium_org | chrome/browser/resources/options/import_data_overlay.js | JavaScript | bsd-3-clause | 9,583 |
/*!
* Qwery - A Blazing Fast query selector engine
* https://github.com/ded/qwery
* copyright Dustin Diaz & Jacob Thornton 2011
* MIT License
*/
!function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
else if (typeof define == 'function' && typeof define.amd == 'obj... | kennynaoh/cdnjs | ajax/libs/qwery/3.2.0/qwery.js | JavaScript | mit | 15,180 |
//http://www.a1k0n.net/js/donut.js
//modified to make it 40x11 - not 80x22, and to use arraybuffers for memory usage
var A=0.5, B=1;
/* ORIGINAL
var asciiframe=function() {
var b=[];
var z=[];
A += 0.07;
B += 0.03;
var cA=Math.cos(A), sA=Math.sin(A),
cB=Math.cos(B), sB=Math.sin(B);
... | muet/Espruino | benchmark/donut.js | JavaScript | mpl-2.0 | 2,152 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const CaseSensitiveModulesWarning = require("./CaseSensitiveModulesWarning");
class WarnCaseSensitiveModulesPlugin {
apply(compiler) {
compiler.hooks.compilation.tap(
"WarnCaseSensitiveModulesPlugin... | convox/convox.github.io | webpack/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js | JavaScript | apache-2.0 | 1,016 |
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | FauxFaux/jdk9-nashorn | test/script/nosecurity/JDK-8148926.js | JavaScript | gpl-2.0 | 1,232 |
/*
* *****************************************************************************
* Copyright (c) 2012, 2013, 2014 Lectorius, Inc.
* Authors:
* Vijay Pandurangan (vijayp@mitro.co)
* Evan Jones (ej@mitro.co)
* Adam Hilss (ahilss@mitro.co)
*
*
* This program is free software: you can redistribute it and/or ... | WeAreWizards/passopolis-extensions | login/frontend/static/js/domain.js | JavaScript | gpl-3.0 | 1,651 |
/**
This controller supports actions related to updating one's email address
@class PreferencesEmailController
@extends Discourse.ObjectController
@namespace Discourse
@module Discourse
**/
Discourse.PreferencesEmailController = Discourse.ObjectController.extend({
taken: false,
saving: false,
error: fa... | albanlv/forum | app/assets/javascripts/discourse/controllers/preferences_email_controller.js | JavaScript | gpl-2.0 | 1,030 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Custom binding for the extension API.
var binding = require('binding').Binding.create('extension');
var messaging = require('messaging');
var run... | qtekfun/htcDesire820Kernel | external/chromium_org/chrome/renderer/resources/extensions/extension_custom_bindings.js | JavaScript | gpl-2.0 | 4,039 |
/*!
* =============================================================
* dropify v0.2.1 - Override your input files with style.
* https://github.com/JeremyFagis/dropify
*
* (c) 2017 - Jeremy FAGIS <jeremy@fagis.fr> (http://fagis.fr)
* =============================================================
*/
;(function(root... | code2913/enzo | public/vendors/dropify/js/dropify.js | JavaScript | mit | 17,156 |
"use strict";
var staticController = {};
createStatic('404');
createStatic('403');
createStatic('500');
function createStatic(statusCode) {
staticController[statusCode] = function(req, res) {
if (!res.locals.isAPI) {
res.statusCode = parseInt(statusCode, 10);
}
res.render(statusCode, {
errorMessage: re... | pttplus/NodeBB | src/controllers/static.js | JavaScript | gpl-3.0 | 410 |
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.grouping
* @description
*
* # ui.grid.grouping
*
* <div class="alert alert-warning" role="alert"><strong>Beta</strong> This feature is ready for testing, but it either hasn't seen a lot of use or has some known bugs.</div>
*... | bartkiewicz/ui-grid | src/features/grouping/js/grouping.js | JavaScript | mit | 50,185 |
/*
calendar-cs-win.js
language: Czech
encoding: windows-1250
author: Lubos Jerabek (xnet@seznam.cz)
Jan Uhlir (espinosa@centrum.cz)
*/
// ** I18N
Calendar._DN = new Array('Nedìle','Pondìlí','Úterý','Støeda','Ètvrtek','Pátek','Sobota','Nedìle');
Calendar._SDN = new Array('Ne','Po','Út','St','Èt','Pá','So... | domhacking/nest-geneva | wp-content/plugins/cf7-calendar/lang/calendar-cs-win.js | JavaScript | gpl-2.0 | 2,810 |
/* ***** 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 License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | rdohms/fixthatcode.com | web/ace/keybinding-emacs-uncompressed-noconflict.js | JavaScript | mit | 14,108 |
'use strict';
var deepMap = require('../../utils/collection/deepMap');
function factory (type, config, load, typed) {
/**
* Calculate the hyperbolic arccos of a value,
* defined as `acosh(x) = ln(sqrt(x^2 - 1) + x)`.
*
* For matrices, the function is evaluated element wise.
*
* Syntax:
*
* ... | edeati/alexa-translink-skill-js | src/node_modules/mathjs/lib/function/trigonometry/acosh.js | JavaScript | apache-2.0 | 1,464 |
/**
* Curve column series module.
*/
import { __extends } from "tslib";
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { ColumnSeries, ColumnSeriesDataItem } ... | cdnjs/cdnjs | ajax/libs/amcharts4/4.9.37/.internal/plugins/timeline/CurveColumnSeries.js | JavaScript | mit | 15,629 |
// META: title=IndexedDB: IDBIndex keyPath attribute - same object
// META: script=support.js
indexeddb_test(
(t, db) => {
const store = db.createObjectStore('store', {keyPath: ['a', 'b']});
store.createIndex('index', ['a', 'b']);
},
(t, db) => {
const tx = db.transaction('store');
const store = ... | scheib/chromium | third_party/blink/web_tests/external/wpt/IndexedDB/idbindex_keyPath.any.js | JavaScript | bsd-3-clause | 1,005 |
define(function () { return {"zones":{"Africa/Harare":["z",{"wallclock":-2109283200000,"format":"CAT","abbrev":"CAT","offset":7200000,"posix":-2109291020000,"save":0},{"wallclock":-1.7976931348623157e+308,"format":"LMT","abbrev":"LMT","offset":7820000,"posix":-1.7976931348623157e+308,"save":0}]},"rules":{}} }); | dgynn/canvas-lms | public/javascripts/vendor/timezone/Africa/Harare.js | JavaScript | agpl-3.0 | 312 |
YUI.add('base-core', function(Y) {
/**
* The base module provides the Base class, which objects requiring attribute and custom event support can extend.
* The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides
* plugin support and also prov... | zhangbg/cdnjs | ajax/libs/yui/3.7.0pr1/base-core/base-core-debug.js | JavaScript | mit | 21,986 |
ace.define("ace/mode/pig_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var PigHighlightRules = function() ... | hoge1e3/Tonyu2 | www/js/lib/ace-noconflict/mode-pig.js | JavaScript | mit | 10,841 |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.TreeModel = f(... | joeyparrish/cdnjs | ajax/libs/tree-model/0.4.1/TreeModel.js | JavaScript | mit | 9,325 |
/*! /task.worker 1.0.5 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */
function d(t){return t.replace(c,"").trim()}function e(t){return t}!function(){function t(t){return t.replace(r,"").trim()}function e(t){return t}var n=this,a=/function\s.*?\(([^)]*)\)/,r=/\/\*.*\*\//;n.addEventListener("message",function(t){n... | gswalden/jsdelivr | files/qoopido.nucleus/1.0.5/task.worker.js | JavaScript | mit | 965 |
/*!
* OOjs UI v0.17.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2016 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2016-05-31T21:50:52Z
*/
( function ( OO ) {
'use strict';
/**
* DraggableElement is a mixin class used to creat... | stuartbman/mediawiki-vagrant | mediawiki/resources/lib/oojs-ui/oojs-ui-widgets.js | JavaScript | mit | 148,372 |
// Copyright 2013 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 ... | sgraham/nope | v8/test/mjsunit/harmony/private.js | JavaScript | bsd-3-clause | 10,348 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... | Jorginho211/TFG | web/node_modules/material-ui/svg-icons/image/navigate-before.js | JavaScript | gpl-3.0 | 880 |
// Copyright 2010 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
//
// Unless requ... | marcelohg/NasajonWebTeamplateProject | web/js/google-closure/closure/goog/debug/entrypointregistry.js | JavaScript | mit | 3,704 |
'use strict';
function factory (type, config, load) {
var cs_tdfs = load(require('./cs_tdfs'));
/**
* Post order a tree of forest
*
* @param {Array} parent The tree or forest
* @param {Number} n Number of columns
*
* Reference: http://faculty.cse.tamu.edu/davis/publica... | edeati/alexa-translink-skill-js | src/node_modules/mathjs/lib/function/algebra/sparse/cs_post.js | JavaScript | apache-2.0 | 1,411 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/cldr/nls/es/currency",{"AUD_displayName":"dólar australiano","AUD_symbol":"AU$","CAD_displayName":"dó... | inpq/ec2m | web/bundles/ec2m/js/dojo/cldr/nls/es/currency.js | JavaScript | mit | 592 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | thanhpete/selenium | javascript/atoms/events.js | JavaScript | apache-2.0 | 26,572 |
var SourceMapGenerator = require('source-map').SourceMapGenerator;
var all = require('./helpers').all;
var isRemoteResource = require('../utils/is-remote-resource');
var isWindows = process.platform == 'win32';
var NIX_SEPARATOR_PATTERN = /\//g;
var UNKNOWN_SOURCE = '$stdin';
var WINDOWS_SEPARATOR = '\\';
function ... | BigBoss424/portfolio | v6/node_modules/clean-css/lib/writer/source-maps.js | JavaScript | apache-2.0 | 2,937 |
/*!
* angular-translate - v2.5.1 - 2014-12-10
* http://github.com/angular-translate/angular-translate
* Copyright (c) 2014 ; Licensed MIT
*/
angular.module('pascalprecht.translate')
/**
* @ngdoc object
* @name pascalprecht.translate.$translateMissingTranslationHandlerLog
* @requires $log
*
* @description
* U... | sreym/cdnjs | ajax/libs/angular-translate/2.5.1/angular-translate-handler-log/angular-translate-handler-log.js | JavaScript | mit | 676 |
/**
* String formatting functions.
*
* @module string
*
* @copyright
* Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved.
*
* @license
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
var __ = require('./i18n')(_... | taoger/titanium_mobile | node_modules/windowslib/node_modules/node-appc/lib/string.js | JavaScript | apache-2.0 | 5,230 |
(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... | bootcdn/cdnjs | ajax/libs/forerunnerdb/1.3.371/fdb-core+persist.js | JavaScript | mit | 793,957 |
/*
LumX v0.3.16
(c) 2014-2015 LumApps http://ui.lumapps.com
License: MIT
*/
/* global angular */
angular.module('lumx.utils', [
'lumx.utils.transclude',
'lumx.utils.transclude-replace'
]);
angular.module('lumx', [
'lumx.utils',
'lumx.ripple',
'lumx.notification',
'lumx.dropdown',
'lumx.... | dlueth/cdnjs | ajax/libs/lumx/0.3.16/lumx.js | JavaScript | mit | 97,852 |
/*! jQuery number 2.0.8 (c) github.com/teamdf/jquery-number | opensource.teamdf.com/license */
(function(h){function r(d,a){if(this.createTextRange){var c=this.createTextRange();c.collapse(true);c.moveStart("character",d);c.moveEnd("character",a-d);c.select()}else if(this.setSelectionRange){this.focus();this.setSelecti... | dada0423/cdnjs | ajax/libs/df-number-format/2.0.8/jquery.number.min.js | JavaScript | mit | 5,008 |
/*
* This file is part of Invenio.
* Copyright (C) 2011 CERN.
*
* Invenio is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* ... | Panos512/invenio | modules/miscutil/etc/ckeditor_scientificchar/lang/fr.js | JavaScript | gpl-2.0 | 920 |
on('chat:message', function(msg) {
if(msg.type == 'rollresult') {
log(msg.rolltemplate);
var rollResult = JSON.parse(msg.content);
log(rollResult);
var initValue = rollResult.rolls[0].results.v;
sendChat("player|"+msg.playerid, "/direct rolled initiative of ");
}
}); | hylianux/roll20-character-sheets | Shadowrun5e-Gerdofal/SRInitiativeTracker.js | JavaScript | mit | 315 |
/*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/*
* Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
*/
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function"... | dumengnanbuaa/awesome-python-webapp | www/static/js/components/nestable.js | JavaScript | gpl-2.0 | 21,761 |
/**!
* AngularJS file upload directives and services. Supoorts: file upload/drop/paste, resume, cancel/abort,
* progress, resize, thumbnail, preview, validation and CORS
* FileAPI Flash shim for old browsers not supporting FormData
* @author Danial <danial.farid@gmail.com>
* @version 9.0.1
*/
(function () {
... | froala/cdnjs | ajax/libs/danialfarid-angular-file-upload/9.0.1/ng-file-upload-shim.js | JavaScript | mit | 14,388 |
webshims.register('form-number-date-api', function($, webshims, window, document, undefined, options){
"use strict";
if(!webshims.addInputType){
webshims.error("you can not call forms-ext feature after calling forms feature. call both at once instead: $.webshims.polyfill('forms forms-ext')");
}
if(!webshims.get... | danut007ro/cdnjs | ajax/libs/webshim/1.12.6-RC2/dev/shims/combos/17.js | JavaScript | mit | 85,447 |
CKEDITOR.plugins.setLang("justify","sq",{block:"Zgjero",center:"Qendër",left:"Rreshto majtas",right:"Rreshto Djathtas"}); | AaronH92/mProve3.2 | www/lib/ckeditor/plugins/justify/lang/sq.js | JavaScript | apache-2.0 | 125 |
var classes = {};
var observables = {};
exports.handlers = {
newDoclet: function(e) {
var doclet = e.doclet;
if (doclet.kind == 'class') {
classes[doclet.longname] = doclet;
}
},
parseComplete: function(e) {
var doclets = e.doclets;
var cls, doclet, event, i, ii, observable;
for (... | LeoLombardi/tos-laimas-compass | tos-laimas-compass-win32-x64/resources/app/node_modules/openlayers/config/jsdoc/api/plugins/observable.js | JavaScript | mit | 2,049 |
/*
* Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the ri... | ecwebservices/brackets | src/preferences/PreferencesBase.js | JavaScript | mit | 77,408 |
import createReduxShape from '../utils/createReduxShape';
import identity from '../utils/identity';
import shallowEqual from '../utils/shallowEqual';
import isPlainObject from '../utils/isPlainObject';
import invariant from 'invariant';
export default function createConnector(React) {
const { Component, PropTypes } ... | hartzis/redux | src/components/createConnector.js | JavaScript | mit | 2,253 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The following test runs the BiDi Checker on the current page with LTR
// base direction. Any bad mixture or RTL and LTR will be reported back
// by... | plxaye/chromium | src/chrome/test/data/webui/bidichecker_tests.js | JavaScript | apache-2.0 | 4,759 |
/**
* Basic structure: TC_Class is the public class that is returned upon being called
*
* So, if you do
* var tc = $(".timer").TimeCircles();
*
* tc will contain an instance of the public TimeCircles class. It is important to
* note that TimeCircles is not chained in the conventional way, che... | dhenson02/cdnjs | ajax/libs/timecircles/1.0.2/TimeCircles.js | JavaScript | mit | 18,762 |
var moment = require('../../moment');
/**************************************************
Macedonian
*************************************************/
exports['locale:mk'] = {
'setUp' : function (cb) {
moment.locale('mk');
moment.createFromInputFallback = function () {
... | rollbar/moment | test/locale/mk.js | JavaScript | mit | 19,055 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2015 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* A collection of methods for displaying debug information about game objects.
* If your game is running in WebGL then... | youprofit/phaser | src/utils/Debug.js | JavaScript | mit | 29,270 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* 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 so... | lisalj/nextm_stage | wp-content/themes/parallelus-vellum/data-types/code-editor/js/ace/src-noconflict/mode-coffee.js | JavaScript | gpl-2.0 | 16,714 |
// Copyright (c) 2011 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.
// require cr.js
// require cr/event_target.js
// require cr/util.js
/**
* Bridge between the browser and the page.
* In this file:
* * define E... | plxaye/chromium | src/chrome/browser/resources/quota_internals/message_dispatcher.js | JavaScript | apache-2.0 | 2,348 |
// Copyright 2013 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 ... | victorzhao/miniblink49 | v8_4_5/test/mjsunit/regress/regress-319722-ArrayBuffer.js | JavaScript | gpl-3.0 | 2,263 |
var map, geocoder, marker = null;
$(document).ready(function () {
// authentication
$.support.cors = true;
var user = false;
var userid = 0;
var startPoint = new google.maps.LatLng(35.02999636902565, 31.640625);
// create map and set the center location
var mapOptions = {
center... | yagoto/PnP | Samples/Branding.JSLink/Branding.JSLink.NCSS/Style Library/OfficeDevPnP/Branding.JSLink/Pages/DrawMap.js | JavaScript | mit | 2,954 |
// this tests passes for webkit's proprietary `-webkit-mask` feature
// www.webkit.org/blog/181/css-masks/
// developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html
// it does not pass mozilla's implementation of `mask` for SVG
// developer.mozill... | vampaynani/wp-ctrl | wp-content/themes/centraal-sitio-final/bower_components/modernizr/feature-detects/css-mask.js | JavaScript | gpl-2.0 | 562 |
// Copyright 2014 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.
function timezone(tz) {
var str = (new Date(2014, 0, 10)).toString();
if (tz == "CET") {
return str == "Fri Jan 10 2014 00:00:00 GMT+0100 (CET)"... | weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-3116.js | JavaScript | apache-2.0 | 16,905 |
/**
* @license AngularJS v1.2.32
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
var $resourceMinErr = angular.$$minErr('$resource');
// Helper functions and regex to lookup a dotted path on an object
// stopping at undefined/null. The path... | squix78/esp8266-oled-ssd1306-font-converter | src/main/webapp/components/angular-resource/angular-resource.js | JavaScript | mit | 24,996 |
CKEDITOR.plugins.setLang("bidi","ja",{ltr:"テキストの向き : 左から右へ",rtl:"テキストの向き : 右から左へ"}); | orbiten-pradeep/chesmile | webroot/dashboard/plugins/ckeditor/plugins/bidi/lang/ja.js | JavaScript | mit | 132 |
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
YUI.add('scrollview-base-ie', function (Y, NAME) {
/**
* IE specific support for the scrollview-base module.
*
* @module scrollview-base-ie
*/
Y.mix(Y.ScrollView.prototype, {
/**
* Internal method to fix text selectio... | berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/scrollview-base-ie/scrollview-base-ie.js | JavaScript | gpl-2.0 | 1,478 |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | Piicksarn/cdnjs | ajax/libs/pdf.js/1.2.87/pdf_viewer.js | JavaScript | mit | 104,794 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.async = global.async || {})));
}(this, function (exports) { 'use strict';
/**
* A faster alte... | vvo/jsdelivr | files/async/2.0.0-rc.1/async.js | JavaScript | mit | 118,507 |
/* global SP */
'use strict';
var OfficeDevPnP = OfficeDevPnP || {};
OfficeDevPnP.Core = OfficeDevPnP.Core || {};
OfficeDevPnP.Core.Navigation = function () {
return {
initialize: function (appWebUrl, targetWebUrl) {
this.appWebUrl = appWebUrl;
this.targetWebUrl = targetWebUrl;
... | spdavid/PnP | Samples/Core.Jsom.Navigation/Core.Jsom.Navigation/Scripts/OfficeDevPnP.Core.Navigation.js | JavaScript | apache-2.0 | 15,522 |
// Underscore.string
// (c) 2010 Esa-Matti Suuronen <esa-matti aet suuronen dot org>
// Underscore.strings is freely distributable under the terms of the MIT license.
// Documentation: https://github.com/epeli/underscore.string
// Some code is borrowed from MooTools and Alexandru Marasteanu.
// Version 2.1.1
(functio... | Dilts/GruntworkflowWordpress | wp-content/themes/testGRUNT/src/node_modules/grunt-css/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js | JavaScript | gpl-2.0 | 15,980 |
// jQuery Mask Plugin v1.10.11
// github.com/igorescobar/jQuery-Mask-Plugin
(function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(window.jQuery||window.Zepto)})(function(b){var y=function(a,e,d){a=b(a);var g=this,k=a.val(),p;e="function"===typeof e?e(a.val(),void 0,a,d):e;var c={invalid:[],getCaret... | ljharb/cdnjs | ajax/libs/jquery.mask/1.10.11/jquery.mask.min.js | JavaScript | mit | 5,597 |
/**
* angular-strap
* @version v2.0.4 - 2014-07-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes (olivier@mg-crea.com)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"use strict";angular.module("mgcrea.ngStrap.tooltip").run(["$templateCache",function(t){t.put("toolti... | jcox86/Strapper | src/Strapper/bower_components/angular-strap/dist/modules/tooltip.tpl.min.js | JavaScript | mit | 475 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... | AndrewSyktyvkar/Math | wysivig/MathJax/unpacked/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js | JavaScript | bsd-3-clause | 1,632 |
YUI.add('widget-stdmod', function (Y, NAME) {
/**
* Provides standard module support for Widgets through an extension.
*
* @module widget-stdmod
*/
var L = Y.Lang,
Node = Y.Node,
UA = Y.UA,
Widget = Y.Widget,
EMPTY = "",
HD = "hd",
BD = "bd",
FT = "ft",
... | chauncey/there-be-docs | static/yui3/widget-stdmod/widget-stdmod.js | JavaScript | mit | 29,806 |
/**
* Provides drop down menus for list of action links.
*
* @module moodle-course-management
*/
/**
* Management JS console.
*
* Provides the organisation for course and category management JS.
*
* @namespace M.course.management
* @class Console
* @constructor
* @extends Base
*/
function Console() {
... | ernestovi/ups | moodle/course/yui/src/management/js/console.js | JavaScript | gpl-3.0 | 17,212 |
require({
baseUrl: require.isBrowser ? './' : './circular/complexPlugin'
},
["require", "main"],
function(require, main) {
doh.register(
"circularComplexPlugin",
[
function circularComplexPlugin(t) {
t.is("main", main.name);
... | kdv24/page_one | themes/basic/grunt/node_modules/grunt-browser-sync/node_modules/browser-sync/node_modules/url/node_modules/punycode/vendor/requirejs/tests/circular/complexPlugin/complexPlugin-tests.js | JavaScript | gpl-2.0 | 709 |
import UnimplementedView from '../../modules/UnimplementedView';
export default UnimplementedView; | cdnjs/cdnjs | ajax/libs/react-native-web/0.17.7/exports/ToastAndroid/index.js | JavaScript | mit | 98 |
var baseSlice = require('./internal/baseSlice'),
toInteger = require('./toInteger');
/**
* Creates a slice of `array` with `n` elements dropped from the end.
*
* @static
* @memberOf _
* @category Array
* @param {Array} array The array to query.
* @param {number} [n=1] The number of elements to drop.
* @par... | JustinLek/ryanoosterling | wp-content/themes/ryanoosterling/node_modules/gulp-bower/node_modules/bower/lib/node_modules/lodash/dropRight.js | JavaScript | gpl-2.0 | 913 |
var baseToPath = require('./baseToPath'),
isKey = require('./isKey');
/**
* The base implementation of `_.get` without support for default values.
*
* @private
* @param {Object} object The object to query.
* @param {Array|string} path The path of the property to get.
* @returns {*} Returns the resolved value... | JustinLek/ryanoosterling | wp-content/themes/ryanoosterling/node_modules/gulp-bower/node_modules/bower/lib/node_modules/lodash/internal/baseGet.js | JavaScript | gpl-2.0 | 641 |
/**
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jerem... | grshane/monthofmud | web/themes/custom/mom/node_modules/lodash.cond/index.js | JavaScript | mit | 62,360 |
(function() {
var svg;
//save off default references
var d3 = window.d3, topojson = window.topojson;
var defaultOptions = {
scope: 'world',
responsive: false,
aspectRatio: 0.5625,
setProjection: setProjection,
projection: 'equirectangular',
dataType: 'json',
data: {},
done: fun... | Buhrietoe/brood | static/bower_components/datamaps/dist/datamaps.ioa.js | JavaScript | apache-2.0 | 39,399 |
var inst = require("../index").getInstance();
inst.applyConfig({ debug: true, filter: "debug" });
module.exports = inst.use("series-areaspline-stacked");
| berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/series-areaspline-stacked/debug.js | JavaScript | gpl-2.0 | 154 |
'use strict';
var SMALL_SCREEN = 500;
function init ($) {
var lastOpenedDrawer = null;
// Tooltips can remain in the way on touch screens.
if (!isTouch()) {
$('.tip').tooltip();
} else {
// Drawer info tips should be displayed on touchscreens.
$('#drawer').find('.tip').tooltip();
}
$.fn.toolt... | XbridgeBuri94/cgm-remote-monitor | lib/client/browser-utils.js | JavaScript | agpl-3.0 | 4,096 |
Storage.prototype.setObject=function(b,e){this.setItem(b,JSON.stringify(e))};Storage.prototype.getObject=function(b){return(b=this.getItem(b))&&JSON.parse(b)};(function(b){var e=1;b.generateId=function(b){var d;do d=e++ +(b?"-"+b:"");while(document.getElementById(d));return d}})(jQuery);
(function(b){b.getScrollbarWidt... | holtkamp/cdnjs | ajax/libs/diva.js/2.1.0/js/diva.min.js | JavaScript | mit | 64,106 |
'use strict';
/* eslint-disable global-require, no-process-env */
module.exports = function (wallaby) {
return {
debug: true,
files: [
'test/setup.js',
'src/**/*.js'
],
tests: [
'!test/setup.js',
'test/**/*.spec.js'
],
... | pigulla/koa-joiful-validation | wallaby.js | JavaScript | isc | 486 |
import mod571 from './mod571';
var value=mod571+1;
export default value;
| MirekSz/webpack-es6-ts | app/mods/mod572.js | JavaScript | isc | 73 |
import _debounce from 'lodash-es/debounce';
import { svgIcon } from '../../svg/icon';
import { prefs } from '../../core/preferences';
import { t } from '../../core/localizer';
import { uiSection } from '../section';
export function uiSectionValidationStatus(context) {
var section = uiSection('issues-status', con... | openstreetmap/iD | modules/ui/sections/validation_status.js | JavaScript | isc | 6,082 |
const generators = require('yeoman-generator')
const path = require('path')
const camelize = require('camelize')
const compact = require('lodash.compact')
const assign = require('lodash.assign')
const prefixnote = require('prefixnote')
const chalk = require('chalk')
const striate = require('gulp-... | metaraine/generator-yoga-sample | app/index.js | JavaScript | isc | 4,091 |
var Message = function (settings) {
var initialValues = {
y:40,
opacity:0
}
this.mainTitleActor = new ui.Actor({
element: "#main-title",
values: initialValues
});
this.subTitleActor = new ui.Actor({
element: "#sub-title",
values: initialValues
});
this.sequence = new ui.Sequenc... | jmarmolejos/popmotion-test | src/js/message.js | JavaScript | isc | 1,159 |
var ffi = require('ffi'),
ref = require('ref'),
RefArray = require('ref-array'),
Struct = require('ref-struct'),
Union = require('ref-union'),
_library = require('./../');
loadDependentSymbols();
_library._preload['php_std_post_handler'] = [function () {
_library.php_std_post_handler = ['void'... | diosmosis/node-ffi-php-bindings | lib/5.6/main/php_content_types.js | JavaScript | isc | 489 |
import { geoBounds as d3_geoBounds } from 'd3-geo';
import {
event as d3_event,
select as d3_select
} from 'd3-selection';
import {
behaviorBreathe,
behaviorHover,
behaviorLasso,
behaviorSelect
} from '../behavior';
import { t } from '../util/locale';
import { geoExtent } from '../geo';
impo... | AndreasHae/iD | modules/modes/select_data.js | JavaScript | isc | 3,046 |
/*
401 ERR_NOSUCHNICK
"<nickname> :No such nick/channel"
- Used to indicate the nickname parameter supplied to a
command is currently unused.
*/
| burninggarden/pirc | tests/RFC2812/5._Replies/5.2_Error_Replies/ERR_NOSUCHNICK.js | JavaScript | isc | 192 |
/**
* Created by zhaopenghodoman on 15/7/2.
*/
var Alt = require('alt');
module.exports = new Alt(); | KaKmi/ReactKit | app/libs/alt.js | JavaScript | isc | 102 |
var registry = include('/services/config/registry.js');
var services = include('/services/config/services.json');
module.exports = function (conversationId) {
registry[conversationId] = {
type: "wikichat",
auth: {
host: (process.env.CHAT_HOST),
name: (process.env.WIKIA_BOT_N... | Fujihita/chatbot-aiko | services/config/wiki-preloader.js | JavaScript | isc | 1,342 |
'use strict';
describe('Directive: fixedScroll', function () {
// load the directive's module
beforeEach(module('cardkitApp'));
var element,
scope;
beforeEach(inject(function ($rootScope) {
scope = $rootScope.$new();
}));
it('should make hidden element visible', inject(function ($compile) {
... | WSJ/cardkit-watermark | test/spec/directives/fixedscroll.js | JavaScript | isc | 502 |
import { isInteger } from '../../utils/number'
import { product } from '../../utils/product'
export function combinationsNumber (n, k) {
if (!isInteger(n) || n < 0) {
throw new TypeError('Positive integer value expected in function combinations')
}
if (!isInteger(k) || k < 0) {
throw new TypeError('Posit... | Michayal/michayal.github.io | node_modules/mathjs/src/plain/number/combinations.js | JavaScript | mit | 725 |
var gulp = require('gulp');
var buildSemantic = require('./public/semantic/tasks/build');
gulp.task('buildSemantic', buildSemantic);
var watchSemantic = require('./public/semantic/tasks/watch');
gulp.task('watchSemantic', watchSemantic);
| quickgiant/career-fare | gulpfile.js | JavaScript | mit | 240 |
const authReducer = (state='', action) => {
switch (action.type) {
case 'ADD_TOKEN':
return action.token;
default:
return state;
}
}
export default authReducer;
| the-oem/happy-hour-power | react-ui/src/reducers/authReducer.js | JavaScript | mit | 186 |
/**
* @file groupuser.js
* @brief Permission user from group item view
* @author Frédéric SCHERMA (INRA UMR1095)
* @date 2016-06-09
* @copyright Copyright (c) 2016 INRA/CIRAD
* @license MIT (see LICENSE file)
* @details
*/
let Marionette = require('backbone.marionette');
let View = Marionette.View.extend({
... | coll-gate/collgate | client/apps/permission/views/groupuser.js | JavaScript | mit | 1,298 |
/**
* @jsx React.DOM
*/
/* not used but thats how you can use touch events
* */
//React.initializeTouchEvents(true);
/* not used but thats how you can use animation and other transition goodies
* */
//var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;
/**
* we will use yes for true
* we will use no... | inquisive/wallet-manager | public/js/.module-cache/c86158b00c8a544effe02b015803c02fbe653f63.js | JavaScript | mit | 4,232 |
var Node = require("./node"),
Anonymous = require("./anonymous"),
FunctionCaller = require("../functions/function-caller");
//
// A function call node.
//
var Call = function (name, args, index, currentFileInfo) {
this.name = name;
this.args = args;
this._index = index;
this._fileInfo = currentF... | gu-io/gu | node_modules/less/lib/less/tree/call.js | JavaScript | mit | 2,776 |
( function(root) {
'use strict';
var Clay = root.Clay || {};
Clay.gameKey = 'arkanoid';
Clay.readyFunctions = [];
Clay.ready = function( fn ) {
Clay.readyFunctions.push( fn );
};
root.Clay = Clay;
var clay = document.createElement('script');
clay.async = true;
clay.src = ( 'https:' === document.lo... | jonashartmann/arkanoid | app/scripts/clayio.js | JavaScript | mit | 501 |
/**
*
* @author windawings
* @create.time 2017/02/16 15:09
* @version 1.0.0
* @since 1.0.0
*/
angular
.module("app.providers")
.config(["$provide", hashProvider]);
function hashProvider($provide) {
$provide.provider("hashProvider", function () {
this.$get = function () {
var serv... | 303Lab/MusicBeat | websrc/app/providers/hash.provider.js | JavaScript | mit | 5,983 |
import test from 'ava';
import fileUrl from './index.js';
test('converts path to file url', t => {
t.regex(fileUrl('test.jpg'), /file:\/{3}.*\/test\.jpg/);
if (process.platform === 'win32') {
t.is(fileUrl('C:\\Users\\sindresorhus\\dev\\te^st.jpg'), 'file:///C:/Users/sindresorhus/dev/te%5Est.jpg');
} else {
t.i... | sindresorhus/file-url | test.js | JavaScript | mit | 663 |
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const userSchema = new Schema({
username: String
});
const User = mongoose.model('User', userSchema);
module.exports = User;
| paztek/mongoose-multitenancy | spec/models/User.js | JavaScript | mit | 199 |
// @flow
'use strict'
const defaults = {
count: 4
}
export default function(state = defaults, action){
if (action.type === 'BUTTON_CLICKED'){
let result = {
count: state.count + action.payload.incrementBy
}
return {...state, ...result}
}
return state
} | marcosaftertype/React-Redux-App-Boilerplate | js/reducers/squares_count.js | JavaScript | mit | 272 |
'use strict';
module.exports = {
app: {
title: 'Cobot Reservations',
description: 'Visualize the room reservations of a Cobot instance',
keywords: 'cobot, visualization, reservations'
},
port: process.env['PORT'] || 3000,
cobot: {
host: process.env['COBOT_HOST'],
client_id: process.env['COB... | CivicHall/reservations | config/env/production.js | JavaScript | mit | 486 |
'use strict'
const Trailpack = require('trailpack')
module.exports = class LeagueoflegendsTrailpack extends Trailpack {
/**
* TODO document method
*/
validate () {
if (!this.app.config.leagueoflegends){
return Promise.reject(
new Error('There no leagueoflegends.js under ./config,' +
... | maissani/trailpack-leagueoflegends | index.js | JavaScript | mit | 672 |
function emitAssetPlugin() {
return {
name: 'emit-asset',
buildStart() {
const assetContent = 'I am an asset.';
if ( this.emitFile ) {
return this.emitFile( {
type: 'asset',
fileName: 'assets/asset-cc117f4a.js',
source: assetContent
} );
}
this.emitAsset( 'asset.js', assetCont... | Comandeer/rollup-plugin-babili | tests/helpers/emitAssetPlugin.js | JavaScript | mit | 370 |