code stringlengths 2 1.05M |
|---|
(function($, undefined) {
/**
* Unobtrusive scripting adapter for jQuery
* https://github.com/rails/jquery-ujs
*
* Requires jQuery 1.7.0 or later.
*
* Released under the MIT license
*
*/
// Cut down on the number if issues from people inadvertently including jquery_ujs twice
// by detecting and raising an... |
// needs Markdown.Converter.js at the moment
(function () {
var util = {},
position = {},
ui = {},
doc = window.document,
re = window.RegExp,
nav = window.navigator,
SETTINGS = { lineLength: 72 },
// Used to work around some browser bugs where we c... |
define({
"drsSOEURL": "Duomenų peržiūros serverio URL",
"chartSection": "Skilčių / stulpelių skaičius diagramoje",
"selectByGeography": "Įtraukti geografinį filtrą",
"selectUrl": "Pagalbinis sluoksnis, skirtas geografiniam filtrui",
"selectMapUrl": "Sluoksnis, skirtas geografiniam filtrui",
"geometryService... |
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
function assign (target, varArgs) {
var arguments$1 = arguments;
if (target === null || target === undefined) {
throw new TypeError('Cannot convert undefined or null to object')
}
var to = Object(targ... |
const PATH = require('path')
const FS = require('fs-extra')
const decache = require('decache')
const webpackWatch = require('../webpackWatch/index')
const nodeWebpackWithoutEntryConfig = require('../config/nodeWebpackWithoutEntryConfig')
const getPageEntryJs = require('./getPageEntryJs')
const {
webpackWatchCachePat... |
export { default } from './src/tab-item.vue';
|
"use strict";
var ts = require("typescript");
var index_1 = require("../../models/comments/index");
function createComment(node) {
var comment = getRawComment(node);
if (comment == null) {
return null;
}
return parseComment(comment);
}
exports.createComment = createComment;
function isTopmostMod... |
'use strict';
exports.__esModule = true;
exports['default'] = isValidType;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _lodashLangIsArray = require('lodash/lang/isArray');
var _lodashLangIsArray2 = _interopRequireDefault(_lodashLangIsArray);
function isVali... |
'use strict';
/**
* Replaces characters in strings that are illegal/unsafe for filenames.
* Unsafe characters are either removed or replaced by a substitute set
* in the optional `options` object.
*
* Illegal Characters on Various Operating Systems
* / ? < > \ : * | "
* https://kb.acronis.com/content/39790
*
... |
// SpryValidationRadio.js - version 0.2 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
// TODO
// new message popup
frappe.provide('frappe.desk.pages.messages');
frappe.pages.messages.on_page_load = function(parent) {
var page = frappe.ui.make_app_page({
parent: parent,
});
page.set_title('<span... |
/**
@license
* @pnp/logging v1.1.5-5 - pnp - light-weight, subscribable logging framework
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2018 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https:github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
(function (glo... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"];
import * as React from 'react';
import Pro... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import formControlState from '../FormControl/formControlState';
imp... |
import TextPropTypes from '../Text/TextPropTypes';
export default TextPropTypes; |
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _source = "foo";
%URIEscape(_source);
|
/**
* Created by hu on 2016/3/11.
*/
function mconcat(arr,length){
if(!arr instanceof Array){
console.log('输入数组哇');
}
if(length==undefined){
//console.log('no');
//return
var length=0;
arr.forEach(function(e){
length+= e.length;
})
}
var ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.6.1_A2.2_T3;
* @section: 11.6.1, 8.6.2.6;
* @assertion: Operator x + y uses [[Default Value]];
* @description: If Type(value) is Function, evaluate ToPrimitive(value,... |
export const isBrowser = typeof window === "object"
&& typeof document === 'object'
&& document.nodeType === 9;
export default isBrowser;
|
describe("multiply", function() {
it("should return the product of two numbers", function() {
expect(multiply(2,3)).toEqual(6);
expect(multiply(-1,1)).toEqual(-1);
expect(multiply(1,0)).toEqual(0);
expect(multiply(-1,-1)).toEqual(1);
});
});
|
'use strict';
const Code = require('code');
const Constants = require('../../../../../../../client/pages/admin/users/search/constants');
const Lab = require('lab');
const Store = require('../../../../../../../client/pages/admin/users/search/store');
const lab = exports.lab = Lab.script();
lab.experiment('Admin User... |
/**
* gpu.js
* http://gpu.rocks/
*
* GPU Accelerated JavaScript
*
* @version 1.5.0
* @date Thu Jul 12 2018 16:28:40 GMT-0400 (EDT)
*
* @license MIT
* The MIT License
*
* Copyright (c) 2018 gpu.js Team
*/
"use strict";(function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="f... |
/*
Highcharts JS v6.1.0 (2018-04-13)
Sankey diagram module
(c) 2010-2017 Torstein Honsi
License: www.highcharts.com/license
*/
(function(k){"object"===typeof module&&module.exports?module.exports=k:k(Highcharts)})(function(k){(function(d){var k=d.defined,f=d.each,w=d.extend,x=d.seriesType,q=d.Point;x("sankey","c... |
/**
* 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.
*
* @format
... |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize underscore exports="amd" -o ./underscore/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud... |
import React from 'react';
import feelsGoodMan from '../img/feelsgoodman.png';
import { printA } from './util';
console.log('xd');
printA();
|
pc.extend(pc, function () {
var log = {
/**
* @private
* @function
* @name pc.log.write
* @descripttion Write text to the console
* @param {String} text
*/
write: function (text) {
console.log(text);
},
/**
*... |
import Controller from '@ember/controller';
import { A } from '@ember/array';
export default Controller.extend({
items: A([
{ name: 'Afghanistan', code: 'AF' },
{ name: 'Åland Islands', code: 'AX' },
{ name: 'Albania', code: 'AL' },
{ name: 'Algeria', code: 'DZ' },
{ name: 'American Samoa', code:... |
var view = require("backbone-viewj");
var dom = require("dom-helper");
var svg = require("../../utils/svg");
var jbone = require("jbone");
var HeaderView = view.extend({
className: "biojs_msa_marker",
initialize: function(data) {
this.g = data.g;
this.listenTo(this.g.zoomer,"change:stepSize change:labelW... |
'use strict';
/**
* @ngdoc function
* @name anyandgoApp.controller:UserEditCtrl
* @description
* # UserEditCtrl
* Controller of the anyandgoApp
*/
angular.module('anyandgoApp')
.controller('UserEditCtrl', function ($scope, $location, Restangular, user) {
var original = user;
$scope.user = Restangular.copy(... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const Hook = require("./Hook");
const HookCodeFactory = require("./HookCodeFactory");
class SyncHookCodeFactory extends HookCodeFactory {
content({ onError, onDone, rethrowIfPossible }) {
return this.c... |
'use strict';
var util = require('util'),
Transform = require('./stream').Transform,
fs = require('fs');
function FileOpener() {
Transform.call(this, {objectMode: true});
}
util.inherits(FileOpener, Transform);
function FileOpener_transform(file, ignore, callback) {
var stream = this;
fs.readFil... |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.themes.add( 'default', (function()
{
function checkSharedSpace( editor, spaceName )
{
var container,
element;
// Try to retrieve the target element from t... |
define({ root:
//begin v1.x content
{
"field-quarter-short-relative+0": "this quarter",
"dateTimeFormats-appendItem-Year": "{1} {0}",
"field-quarter-short-relative+1": "next quarter",
"field-tue-relative+-1": "last Tuesday",
"field-year": "Year",
"dateFormatItem-Hm": "HH:mm",
"field-wed-relative+0": "this Wedne... |
// Returns a function that is the composition of a list of functions, each
// consuming the return value of the function that follows.
function compose() {
var args = arguments;
var start = args.length - 1;
return function() {
var i = start;
var result = args[start].apply(this, arguments);
while (i--)... |
// 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 ... |
var common = require("./web-view-common");
var trace = require("trace");
var fs = require("file-system");
global.moduleMerge(common, exports);
var WebViewClientClass = (function (_super) {
__extends(WebViewClientClass, _super);
function WebViewClientClass(view) {
_super.call(this);
this._view = ... |
/**
* Simulator abstraction layer
* Pokemon Showdown - http://pokemonshowdown.com/
*
* This file abstracts away Pokemon Showdown's multi-process simulator
* model. You can basically include this file, use its API, and pretend
* Pokemon Showdown is just one big happy process.
*
* For the actual simulation, see b... |
/*
AngularJS v1.7.5
(c) 2010-2018 Google, Inc. http://angularjs.org
License: MIT
*/
(function(l){'use strict';function f(a,b){for(var c=a.split(/\n/g),m=0;m<c.length;m++){var d=c[m];if(b>=d.length)b-=d.length;else return{h:m+1,f:b+1}}}function v(a){function b(){return a}var c=w[a];if(null!=c)return c;b.$$watchDelega... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
dialogContentTextClasses: true
};
Object.... |
(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror"),require("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],f):f(CodeMirror)})(function(f){function q(a){this.options={};for(var b in g)this.options[b]=(a&&... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'fo', {
copy: 'Avrita',
copyError: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið... |
var JSEncryptExports = {};
(function(exports) {
// Copyright (c) 2005 Tom Wu
// All Rights Reserved.
// See "LICENSE" for details.
// Basic JavaScript BN library - subset useful for RSA encryption.
// Bits per digit
var dbits;
// JavaScript engine analysis
var canary = 0xdeadbeefcafe;
var j_lm = ((canary&0xffffff)=... |
/* ========================================================================
* Bootstrap: carousel.js v3.1.1
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/boo... |
angular.module('material.core')
.factory('$mdMedia', mdMediaFactory);
/**
* @ngdoc service
* @name $mdMedia
* @module material.core
*
* @description
* `$mdMedia` is used to evaluate whether a given media query is true or false given the
* current device's screen / window size. The media query will be re-evaluat... |
/*
Highcharts JS v6.0.6 (2018-02-05)
Tilemap module
(c) 2010-2017 Highsoft AS
License: www.highcharts.com/license
*/
(function(g){"object"===typeof module&&module.exports?module.exports=g:g(Highcharts)})(function(g){(function(d){var g=d.defined,v=d.each,y=d.noop;d.colorPointMixin={isValid:function(){return null!... |
Meteor.subscribe('posts'); |
'use strict';
/**
* 载入子模板
* @param {string} filename
* @param {Object} data
* @param {Object} blocks
* @param {Object} options
* @return {string}
*/
var include = function include(filename, data, blocks, options) {
var compile = require('../index');
options = options.$extend({
... |
import { setupApplicationTest } from 'ember-qunit';
import { visit } from '@ember/test-helpers';
import { module, test } from 'qunit';
module('pods based templates', function(hooks) {
setupApplicationTest(hooks);
test('the application boots properly with pods based templates with a podModulePrefix set', async fun... |
'use strict';
var React = require('react');
var StylePropable = require('./mixins/style-propable');
var AppCanvas = React.createClass({
displayName: 'AppCanvas',
mixins: [StylePropable],
contextTypes: {
muiTheme: React.PropTypes.object
},
render: function render() {
var _this = this;
var sty... |
/*
Copyright (c) 2004-2009, 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
*/
if(!dojo._hasResource["dojox.av.widget.VolumeButton"]){
dojo._hasResource["dojox.av.widget.VolumeButton"]=true;
dojo.provid... |
exports = module.exports = require('./lib/express-mailer'); |
angular.module('merchello.mocks')
.factory('invoiceResourceMock', ['$httpBackend', 'mocksUtils', 'invoiceMocks',
function($httpBackend, mocksUtils, invoiceMocks) {
function getByKey(id) {
var invoices = invoiceMocks.invoicesArray();
return invoices[0];
... |
if (typeof(PhpDebugBar) == 'undefined') {
// namespace
var PhpDebugBar = {};
PhpDebugBar.$ = jQuery;
}
(function($) {
if (typeof(localStorage) == 'undefined') {
// provide mock localStorage object for dumb browsers
localStorage = {
setItem: function(key, value) {},
... |
/*
* Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com>
*
* 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
* rights... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'no', {
fontSize: {
label: 'Størrelse',
voiceLabel: 'Font Størrelse',
panelTitle: 'Størrelse'
},
label: 'Skrift',
panelTitle: 'Skrift... |
#!/usr/bin/env node
var cp = require('child_process'),
fs = require('fs'),
path = require('path');
// Parse args
var force = false, debug = false;
var
arch = process.arch,
platform = process.platform,
v8 = /[0-9]+\.[0-9]+/.exec(process.versions.v8)[0];
var args = process.argv.slice(2).filter(function(arg) {
if (... |
module.exports = [
{
entry: {
"registration": "./app/views/registration",
"profile": "./app/views/profile",
"permission-index": "./app/views/admin/permission-index",
"role-index": "./app/views/admin/role-index",
"settings": "./app/views/admin/sett... |
/**
* Module dependencies.
*/
var global = (function() { return this; })();
/**
* WebSocket constructor.
*/
var WebSocket = global.WebSocket || global.MozWebSocket;
/**
* Module exports.
*/
module.exports = WebSocket ? ws : null;
/**
* WebSocket constructor.
*
* The third `opts` options object gets igno... |
/**
* Module dependencies
*/
var util = require('util');
var _ = require('lodash');
var types = require('./types');
var rebuildSanitized = require('./sanitize');
var compile = require('../compile');
var getDisplayType = require('../get-display-type');
/**
*
* @param {===} expected
* @param {===} actual
* @pa... |
setDefaults({
allDaySlot: true,
allDayText: 'all-day',
firstHour: 6,
slotMinutes: 30,
defaultEventMinutes: 120,
axisFormat: 'h(:mm)tt',
timeFormat: {
agenda: 'h:mm{ - h:mm}'
},
dragOpacity: {
agenda: .5
},
minTime: 0,
maxTime: 24
});
// TODO: make it work in quirks mode (event corners, all-day height... |
/**
* ## Testing ajax calls
* We have written a plugin called [jasmine-ajax](https://github.com/pivotal/jasmine-ajax) that allows ajax calls to be mocked out in tests.
* To use it, you need to download the `mock-ajax.js` file and add it to your jasmine helpers so it gets loaded before any specs that use it.
*/
desc... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'gu', {
alertUrl: 'ચિત્રની URL ટાઇપ કરો',
alt: 'ઑલ્ટર્નટ ટેક્સ્ટ',
border: 'બોર્ડર',
btnUpload: 'આ સર્વરને મોકલવું',
button2Img: 'તમારે ... |
// Tests for the behavior of the links collection
//
// https://guide.meteor.com/testing.html
import { Meteor } from 'meteor/meteor';
import { assert } from 'meteor/practicalmeteor:chai';
import { Links } from './links.js';
if (Meteor.isServer) {
describe('links collection', function () {
it('insert correctly',... |
export var DivMode;!function(e){e.repulse="repulse"}(DivMode||(DivMode={})); |
/// 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
/// ... |
#!/usr/bin/env node
// Release automation script inspired by
// https://github.com/geddski/grunt-release
var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var S = require('string');
var shell = require('shelljs');
var Mustache = require('mustache');
var semver = require('semver');
var pr... |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/extensions/TeX/noErrors.js
*
* Prevents the TeX error messages from being displayed and shows the
* original TeX code instead.... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'km', {
toolbar: 'ទំព័រថ្មី'
} );
|
module.exports={title:"Starship",slug:"starship",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Starship icon</title><path d="M15.521 9.62a1.057 1.057 0 11-2.115 0 1.057 1.057 0 012.115 0zM24 12c0 6.627-5.373 12-12 12-.35 0-.697-.015-1.04-.044 2.019-1.89 2.548-5.061 2.548-5.061l-3.22... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
'use strict';
// Slow down the upload process.
// This trick works only on Chrome.
( function() {
XMLHttpRequest.prototype.baseSend = XMLHttpRequest.prototy... |
(function(angular, undefined){
'use strict';
function fakeNgModel(initValue){
return {
$setViewValue: function(value){
this.$viewValue = value;
},
$viewValue: initValue
};
}
angular.module('luegg.directives', [])
.directive('scrol... |
/** PURE_IMPORTS_START .._util_root,.._Observable PURE_IMPORTS_END */
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 =... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
CKEDITOR.plugins.setLang("image","ru",{alt:"Альтернативный текст",border:"Граница",btnUpload:"Загрузить на сервер",button2Img:"Вы желаете преобразовать это изображение-кнопку в обычное изображение?",hSpace:"Гориз. отступ",img2Button:"Вы желаете преобразовать это обычное изображение в изображение-кнопку?",infoTab:"Данн... |
define([
"dojo/_base/array", // array.forEach array.indexOf array.map
"dojo/_base/declare", // declare
"dojo/dnd/common",
"dojo/dom-class", // domClass.add
"dojo/dom-geometry", // domGeometry.position
"dojo/_base/lang", // lang.mixin lang.hitch
"dojo/on", // subscribe
"dojo/touch",
"dojo/topic",
"do... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'eo', {
copy: 'Copyright © $1. Ĉiuj rajtoj rezervitaj.',
dlgTitle: 'Pri CKEditor',
help: 'Kontroli $1 por helpo.',
moreInfo: 'Por in... |
/*
backgrid-filter
http://github.com/wyuenho/backgrid
Copyright (c) 2013 Jimmy Yuen Ho Wong and contributors
Licensed under the MIT @license.
*/
(function ($, _, Backbone, Backgrid, lunr) {
"use strict";
/**
ServerSideFilter is a search form widget that submits a query to the server
for filter... |
import { Directive, TemplateRef, ViewContainerRef } from '@angular/core';
/**
* @hidden
*/
export class VirtualItem {
/**
* @param {?} templateRef
* @param {?} viewContainer
*/
constructor(templateRef, viewContainer) {
this.templateRef = templateRef;
this.viewContainer = viewCon... |
/* eslint-disable func-names */
describe('description', () => {
it('should have description', () => {
expect(1 + 2).toBe(3);
});
});
|
L.DrawToolbar = L.Toolbar.extend({
statics: {
TYPE: 'draw'
},
options: {
polyline: {},
polygon: {},
rectangle: {},
circle: {},
marker: {}
},
initialize: function (options) {
// Ensure that the options are merged correctly since L.extend is only shallow
for (var type in this.options) {
if (thi... |
/*
* http.js: Macros for proxying HTTP requests
*
* (C) 2010 Nodejitsu Inc.
* MIT LICENCE
*
*/
var assert = require('assert'),
fs = require('fs'),
async = require('async'),
request = require('request'),
helpers = require('../helpers/index');
//
// ### function assertRequest (options)
// #### @op... |
/*global module:false*/
module.exports = function(grunt) {
var packageJSON = grunt.file.readJSON('package.json');
var bumpFiles = ["package.json", "bower.json", "composer.json"];
var commitFiles = bumpFiles.concat(["./dist/*"]);
// Project configuration.
grunt.initConfig({
// Metadata
pkg: packageJS... |
/*!
* froala_editor v2.5.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2017 Froala Labs
*/
/**
* Italian
*/
$.FE.LANGUAGE['it'] = {
translation: {
// Place holder
"Type something": "Digita qualcosa",
// Basic formatting
"Bold": "... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'quicktable', 'cs', {
more: 'Více...'
} );
|
/*
BitSet.js v4.0.0 14/08/2015
http://www.xarg.org/2014/03/javascript-bit-array/
Copyright (c) 2016, Robert Eisele (robert@xarg.org)
Dual licensed under the MIT or GPL Version 2 licenses.
*/
'use strict';(function(p){function n(a){a-=a>>>1&1431655765;a=(a&858993459)+(a>>>2&858993459);return 16843009*(a+(a>>>4)&252... |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('placeholder','tr',{placeholder:{title:'Yer tutucu özellikleri',toolbar:'Yer tutucu oluşturun',text:'Yer tutucu metini',edit:'Yer tutucuyu düze... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-selection'), require('d3-dispatch')) :
typeof define === 'function' && define.amd ? define(['exports', 'd3-selection', 'd3-dispatch'], factory) :
(factory((global.d3Kit = global.d3Kit || {}),g... |
var five = require("../lib/johnny-five.js"),
board = new five.Board();
board.on("ready", function() {
// Creates a piezo object and defines the pin to be used for the signal
var piezo = new five.Piezo(3);
// Injects the piezo into the repl
board.repl.inject({
piezo: piezo
});
// Plays a song
piez... |
var assert = require('assert');
var parse = require('../').parse;
var build = require('../').build;
var builder = require('../').builder;
var write = require('../').write;
TEST_CASES = [
['n:8', {n:255}, [255]],
['n:16', {n: 0xf0f0}, [240, 240]],
['n:32', {n: 0x12345678}, [18,52,86,120]],
['n:64', {n: 0xffffff... |
var searchData=
[
['terminateexecution',['TerminateExecution',['../classv8_1_1_v8.html#af7d845e6f55eb76085d5ff3601780986',1,'v8::V8::TerminateExecution(int thread_id)'],['../classv8_1_1_v8.html#a7b09bb56f4effb91e1de4398c8fd43f2',1,'v8::V8::TerminateExecution()']]],
['throwexception',['ThrowException',['../namespace... |
let Foo = class {
constructor() {
this.num = 1;
}
call constructor() {
return { num: 2 };
}
};
assert.equal(new Foo().num, 1);
assert.equal(Foo().num, 2);
|
import Mixin from '@ember/object/mixin';
import $ from 'jquery';
export let OfflineSerializer = Mixin.create({
getAttrs: function () {
let parentAttrs = this._super();
let attrs = {
};
return $.extend(true, {}, parentAttrs, attrs);
},
init: function () {
this.set('attrs', this.getAttrs());
... |
import { AppRegistry } from 'react-native';
import setup from './js/setup';
AppRegistry.registerComponent('NativeStarterKit', setup);
|
/*
Copyright (c) 2012, Guillaume Marty
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 rights
to use, copy, modify, merge, publish, distr... |
IntlMessageFormat.__addLocaleData({locale:"ar", messageformat:{pluralFunction:function (n) { n=Math.floor(n);if(n===0)return"zero";if(n===1)return"one";if(n===2)return"two";if(n%100>=3&&n%100<=10)return"few";if(n%100>=11&&n%100<=99)return"many";return"other"; }}}); |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (value) {
if (Array.isArray(value)) value = value.join(',');
return value.match(/-webkit-|-moz-|-ms-/) !== null;
};
module.exports = exports['default']; |
!function(){function t(t,e,n,i){var o,s=t._tasks,a=t.fastdom,r=new Promise(function(t,u){o=a[e](function(){s.delete(r);try{t(i?n.call(i):n())}catch(t){u(t)}},i)});return s.set(r,o),r}var e={initialize:function(){this._tasks=new Map},mutate:function(e,n){return t(this,"mutate",e,n)},measure:function(e,n){return t(this,"... |
'use strict';
/**
* Data about the environment in which JSDoc is running, including the configuration settings that
* were used to run JSDoc.
*
* @module jsdoc/env
*/
module.exports = {
/**
* The times at which JSDoc started and finished.
*
* @type {Object}
* @property {Date} start - The t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.