code
stringlengths
2
1.05M
/*! Select2 4.0.6-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lt",[],function(){function e(e,t,n,r){return e%10===1&&(e%100<11||e%100>19)?t:e%10>=2&&e%10<=9&&(e%1...
console.warn("warn -",`Imports like "const dash = require('simple-icons/icons/dash');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siDash } = require('simple-icons/icons');" instead`),module.exports={title:"Dash",slug:"dash",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns...
'use strict'; /** * Stadium mechanics inherit from gen 1 mechanics, but fixes some stuff. */ exports.BattleScripts = { inherit: 'gen1', gen: 1, // BattlePokemon scripts. pokemon: { // Stadium shares gen 1 code but it fixes some problems with it. getStat: function (statName, unmodified) { statName = toId(s...
Clazz.declarePackage ("JM"); Clazz.load (["JU.Edge", "JV.JC"], "JM.Bond", ["JU.C"], function () { c$ = Clazz.decorateAsClass (function () { this.atom1 = null; this.atom2 = null; this.mad = 0; this.colix = 0; this.shapeVisibilityFlags = 0; Clazz.instantialize (this, arguments); }, JM, "Bond", JU.Edge); Clazz.m...
/*! * Stylus - plugin - url * Copyright(c) 2010 LearnBoost <dev@learnboost.com> * MIT Licensed */ /** * Module dependencies. */ var Compiler = require('../visitor/compiler') , nodes = require('../nodes') , parse = require('url').parse , extname = require('path').extname , utils = require('../utils') ...
var testDocument = require("./test-document") var testDomElement = require("./test-dom-element") var document = require("../index") testDocument(document) testDomElement(document) if (typeof window !== "undefined" && window.document) { testDocument(window.document) testDomElement(window.document) }
import propName from './propName'; const DEFAULT_OPTIONS = { spreadStrict: true, ignoreCase: true, }; /** * Returns boolean indicating whether an prop exists on the props * property of a JSX element node. */ export default function hasProp(props = [], prop = '', options = DEFAULT_OPTIONS) { const propToCheck...
//! moment.js locale configuration //! locale : spanish (es) //! author : Julio Napurí : https://github.com/julionc import moment from '../moment'; var monthsShortDot = 'Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.'.split('_'), monthsShort = 'Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic'....
(function( $ ) { $.widget("metro.countdown", { version: "1.0.0", options: { style: { background: "bg-dark", foreground: "fg-white", divider: "fg-dark" }, blink: true, days: 1, stoptimer: 0, ...
/** * @ngdoc controller * @name Umbraco.Editors.Member.ListController * @function * * @description * The controller for the member list view */ function MemberListController($scope, $routeParams, $location, $q, $window, appState, memberResource, entityResource, navigationService, notificationsService, angularHe...
module.exports={title:"dwm",slug:"dwm",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>dwm icon</title><path d="M0 11h6V7h2v8h2v-4h2v4h2v-4h10v6h-2v-4h-2v4h-2v-4h-2v4H2v-2h4v-2H2v4H0z"/></svg>',get path(){return this.svg.match(/<path\s+d="([^"]*)/)[1]},source:"https://dwm.suckless.org...
export * from './listbox'; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9saXN0Ym94L3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHB...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("widget","de",{move:"Zum verschieben anwählen und ziehen"});
"use strict"; var inherits = require('util').inherits , f = require('util').format , b = require('bson') , bindToCurrentDomain = require('../connection/utils').bindToCurrentDomain , debugOptions = require('../connection/utils').debugOptions , EventEmitter = require('events').EventEmitter , Server = require...
/** * An implementation of `_.uniq` optimized for sorted arrays without support * for callback shorthands and `this` binding. * * @private * @param {Array} array The array to inspect. * @param {Function} [iteratee] The function invoked per iteration. * @returns {Array} Returns the new duplicate-value-free...
var chalk = require('chalk'); module.exports = chalk.cyan( " _ _" + "\n (_) (_)" + "\n _ ___ _ __ _ ___" + "\n | |/ _ \\| '_ \\| |/ __|" + "\n | | (_) | | | | | (__" + "\n |_|\\___/|_| |_|_|\\___|\n");
function fileMap(revision,tag,date) { return { "ember.js": fileObject("ember", ".js", "text/javascript", revision, tag, date), "ember.debug.js": fileObject("ember.debug", ".js", "text/javascript", revision, tag, date), "ember-testing.js": ...
/** * @fileoverview Main CLI object. * @author Nicholas C. Zakas */ "use strict"; /* * The CLI object should *not* call process.exit() directly. It should only return * exit codes. This allows other programs to use the CLI object and still control * when the program exits. */ //-------------------------------...
// // ____ _ _ // / ___|| |_ __ _ _ __ ___ ___ (_)___ (*) // \___ \| __/ _` | '_ \ / _ \/ __| | / __| // ___) | || (_| | |_) | __/\__ \_ | \__ \ // |____/ \__\__,_| .__/ \___||___(_)/ |___/ // |_| |__/ // // (*) a (really) tiny Javascript MVC microframework...
/** * @fileoverview Rule to flag unnecessary double negation in Boolean contexts * @author Brandon Mills */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.expo...
"use strict"; module.exports = require("./_iterate")(require("../array/#/find"), false);
/** * Globalize Runtime v1.2.3 * * http://github.com/jquery/globalize * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2017-03-17T01:41Z */ /*! * Globalize Runtime v1.2.3 2017-03-17T01:41Z Released under the MIT license * http://gi...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'codesnippet', 'sq', { button: 'Shto kod copëze', codeContents: 'Përmbajtja e kodit', emptySnippetError: 'A code snippet cannot be...
'use strict'; self.console || (self.console = { 'log': function() {} }); addEventListener('message', function(e) { if (e.data) { try { importScripts('../' + e.data); } catch (e) { var lineNumber = e.lineNumber, message = (lineNumber == null ? '' : (lineNumber + ': ')) + e.message; ...
// kmMat4Transpose (function () { // Kernel configuration var kernelConfig = { kernelName: "kmMat4Transpose", kernelInit: init, kernelCleanup: cleanup, kernelSimd: simd, kernelNonSimd: nonSimd, kernelIterations: 10000 }; // Hook up to the harness benchmarks.a...
angular.module('ionicApp', ['ionic']) .controller('MainCtrl', function ($scope) { $scope.settingsList = [ { text: "Wireless", checked: true }, { text: "GPS", checked: false }, { text: "Bluetooth", checked: false } ]; $scope.pushNotificationChange = fu...
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate...
export default function () { return { manipulateOptions(opts, parserOpts) { parserOpts.plugins.push("functionBind"); } }; }
d3.layout.histogram = function() { var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges; function histogram(data, i) { var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thre...
Ext.define('Ext.theme.cupertino.TitleBar', { override: 'Ext.TitleBar', config: { maxButtonWidth: '80%' } }); Ext.define('Ext.theme.device_base.util.PositionMap', { override: 'Ext.util.PositionMap', config: { minimumHeight: 50 } }); Ext.define('Ext.theme.device_base.dataview.Lis...
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p...
// Generated by CoffeeScript 1.4.0 /* # # Opentip v2.3.0 # # More info at [www.opentip.org](http://www.opentip.org) # # Copyright (c) 2012, Matias Meno # Graphics by Tjandra Mayerhold # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation fil...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
/** * Given Xcode project and path, iterate over all build configurations * and execute func with HEADER_SEARCH_PATHS from current section * * We cannot use builtin addToHeaderSearchPaths method since react-native init does not * use $(TARGET_NAME) for PRODUCT_NAME, but sets it manually so that method will skip *...
/*! * # Semantic UI - Checkbox * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ( $, window, document, undefined ) { "use strict"; $.fn.checkbox = function(parameters) { var $allModules...
/** * PUI Object */ var PUI = { zindex : 1000, gridColumns: { '1': 'ui-grid-col-12', '2': 'ui-grid-col-6', '3': 'ui-grid-col-4', '4': 'ui-grid-col-3', '6': 'ui-grid-col-2', '12': 'ui-grid-col-11' }, charSet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ012...
'use strict'; var url = require('url'); exports = module.exports = function historyApiFallback(options) { options = options || {}; var logger = getLogger(options); return function(req, res, next) { var headers = req.headers; if (req.method !== 'GET') { logger( 'Not rewriting', req...
(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...
'use strict'; module.exports = { set: function (v) { this.setProperty('counter-reset', v); }, get: function () { return this.getPropertyValue('counter-reset'); }, enumerable: true };
'use strict'; /** * Watcher for separate Js files files */ module.exports = () => { return tars.packages.chokidar.watch( `markup/${tars.config.fs.staticFolderName}/${tars.cssPreproc.name}/separate-css/**/*.css`, tars.options.watch ).on('all', (event, watchedPath) => { tars.helpers.wat...
/* * transports.js: Set of all transports Winston knows about * * (C) 2010 Charlie Robbins * MIT LICENCE * */ var fs = require('fs'), path = require('path'), common = require('./common'); var transports = exports; // // Setup all transports as lazy-loaded getters. // fs.readdirSync(path.join(__dirname,...
var util = require('util') var resolve = require('url').resolve var SourceMapConsumer = require('source-map').SourceMapConsumer var WeakMap = require('core-js/es6/weak-map') var _ = require('lodash') var log = require('./logger').create('reporter') var MultiReporter = require('./reporters/multi') var baseReporterDecor...
module.exports = require("github:jmcriffey/bower-traceur-runtime@0.0.88/traceur-runtime");
odoo.define('website_payment.website_payment', function (require) { "use strict"; var website = require('website.website'); var ajax = require('web.ajax'); if(!$('.o_website_payment').length) { return $.Deferred().reject("DOM doesn't contain '.o_website_payment'"); } // When clicking on payment button: create th...
'use strict'; /** * Binds a CodeMirror widget to a <textarea> element. */ angular.module('ui.codemirror', []) .constant('uiCodemirrorConfig', {}) .directive('uiCodemirror', uiCodemirrorDirective); /** * @ngInject */ function uiCodemirrorDirective($timeout, uiCodemirrorConfig) { return { restrict: 'EA',...
/** * Globalize Runtime v1.1.0-rc.3 * * http://github.com/jquery/globalize * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-10-02T16:26Z */ /*! * Globalize Runtime v1.1.0-rc.3 2015-10-02T16:26Z Released under the MIT license *...
/*! * numbro.js language configuration * language : spanish Spain * author : Hernan Garcia : https://github.com/hgarcia */ !function(){var a={delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7...
/* Highcharts JS v5.0.11 (2017-05-04) 3D features for Highcharts JS @license: www.highcharts.com/license */ (function(r){"object"===typeof module&&module.exports?module.exports=r:r(Highcharts)})(function(r){(function(a){var m=a.deg2rad,h=a.pick;a.perspective=function(v,l,F){var f=l.options.chart.options3d,n=F?l.in...
/** * @version: 2.1.16 * @author: Dan Grossman http://www.dangrossman.info/ * @copyright: Copyright (c) 2012-2015 Dan Grossman. All rights reserved. * @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php * @website: https://www.improvely.com/ */ (function(root, factory) { ...
d3.parcoords = function(config) { var __ = { data: [], dimensions: [], types: {}, brushed: false, mode: "default", rate: 20, width: 600, height: 300, margin: { top: 24, right: 0, bottom: 12, left: 0 }, color: "#069", composite: "source-over", alpha: 0.7 }; extend(_...
define(function () { // Italian function ending (count, first, second, third) { if ((count % 100 > 9 && count % 100 < 21) || count % 10 === 0) { if (count % 10 > 1) { return second; } else { return third; } } else { return first; } } return { inputTooLong...
// // ShellJS // Unix shell commands on top of Node's API // // Copyright (c) 2012 Artur Adib // http://github.com/shelljs/shelljs // var common = require('./src/common'); //@ //@ All commands run synchronously, unless otherwise stated. //@ All commands accept standard bash globbing characters (`*`, `?`, etc.), //@ c...
!function() { var topojson = { version: "1.4.6", mesh: mesh, feature: featureOrCollection, neighbors: neighbors, presimplify: presimplify }; function merge(topology, arcs) { var fragmentByStart = {}, fragmentByEnd = {}; arcs.forEach(function(i) { var e = ends(i), ...
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...
/*! * json-schema-faker library v0.2.9 * http://json-schema-faker.js.org * @preserve * * Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin * Released under the MIT license * * Date: 2016-02-04 17:24:39.878Z */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else i...
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 0.5.0 * */ (function(d){jQuery.fn.extend({slimScroll:function(o){var a=ops=d.exten...
/** * @fileoverview Warn when using template string syntax in regular strings * @author Jeroen Engels */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports ...
define(["require", "exports", "module", "program"], function(require, exports, module) { exports.program = function () { return require('program'); }; });
[foo.foo, foo.bar] = [1, 2]; ;
export { default } from './component';
/** * @license AngularJS v1.3.0-build.2711+sha.facd904 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; var $sanitizeMinErr = angular.$$minErr('$sanitize'); /** * @ngdoc module * @name ngSanitize * @description * * # ngSanitize * * The...
YUI.add('node-scroll-info', function (Y, NAME) { /*jshint onevar:false */ /** Provides the ScrollInfo Node plugin, which exposes convenient events and methods related to scrolling. @module node-scroll-info @since 3.7.0 **/ /** Provides convenient events and methods related to scrolling. This could be used, for exam...
/** * angular-strap * @version v2.2.3 - 2015-05-20 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea) * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.timepicker', [ 'mgcrea.ngSt...
var SourceMapConsumer = require('source-map').SourceMapConsumer; var fs = require('fs'); var path = require('path'); var http = require('http'); var https = require('https'); var url = require('url'); var override = require('../utils/object.js').override; var MAP_MARKER = /\/\*# sourceMappingURL=(\S+) \*\//; var REM...
(function(e){e.fn.datepicker.dates.lt={days:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis","Sekmadienis"],daysShort:["S","Pr","A","T","K","Pn","Š","S"],daysMin:["Sk","Pr","An","Tr","Ke","Pn","Št","Sk"],months:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birže...
/** * Converts an array to an observable sequence, using an optional scheduler to enumerate the array. * @deprecated use Observable.from or Observable.of * @param {Scheduler} [scheduler] Scheduler to run the enumeration of the input sequence on. * @returns {Observable} The observable sequence whose eleme...
(function() { if (typeof self === 'undefined' || !self.Prism || !self.document) { return; } Prism.hooks.add('complete', function (env) { if (!env.code) { return; } // Works only for <code> wrapped inside <pre> (not inline). var pre = env.element.parentNode; var clsReg = /\s*\bcommand-line\b\s*/; if ( !pre...
/* * /MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js * * Copyright (c) 2009-2013 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
let createBlakeHash; if (process.env.NODE_ENV === "test") { // Node 10.x errors when trying to import the native blake-hash during unit // test. As far as I (matheusd) can see, this only happens during test, and // isn't triggered in runtime, even if the native module does run. So for the // moment, I'm resorti...
class Events { constructor(httpRequest, jwt, gcalBaseUrl) { if (httpRequest === undefined || jwt === undefined || gcalBaseUrl === undefined) { throw new Error('Events constructor: Missing arguments'); } this._httpRequest = httpRequest; this._JWT = jwt; this._gcalBaseUrl = gcalBaseUrl; } _returnPromise...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
(function(scope) { // Interface. scope.Elements = { buildIcon: buildIcon, buildSpan: buildSpan, buildSymbols: buildSymbols }; // Create an icon to go on the name list. function buildIcon(iconName) { return $('<i/>') .addClass('fa fa-' + iconName); } // Create a span element with th...
(function(){ "use strict"; /*<*/ var UNDEF, WIN = window, NUMBER = Number, TRUE = true, FALSE = false, /** Aliased methods/properties */ each = [].forEach, /** Lengthy/repeated method names. */ query = "querySelector", queryAll = query+"All", /** Appropria...
import assert from 'power-assert'; import {resolve} from './downUp'; import {migrations} from '../test/fixtures'; describe('strategies/downUp.js', () => { it('ignores wrong order', () => { const current = [migrations[0], migrations[4], migrations[2]]; const target = [migrations[0], migrations[2], migrations[...
angular.module('weather.location.directive', [ 'weather.service', 'weather.location.template' ]).directive('weatherLocation', function(){ return { restrict: 'E', templateUrl: 'weather/location', controller: WeatherLocationController, scope: { location: '=current' } }; }); WeatherLocat...
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_strlcpy'] = [function () { _library.php_strlcpy = ['ulong', [ref.refType('c...
/** * Common utilities * @module glMatrix */ // Configuration Constants export var EPSILON = 0.000001; export var ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array; export var RANDOM = Math.random; /** * Sets the type of array used when creating new vectors and matrices * * @param {Float32Ar...
/** * AppBuilder3 * Copyright (c) 2017 Callan Peter Milne * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"...
var gulp = require('gulp'); var concat = require('gulp-concat'); var minify = require('gulp-minify'); gulp.task('build', function () { gulp.src([ 'node_modules/corslite/corslite.js', 'L.UTFGrid.js','L.UTFGridCanvas.js' ]) .pipe(concat('L.UTFGrid.js')) .pipe(minify({...
'use strict' var React = require('react') var searchBar = React.createClass({ propTypes: { onQuerySubmit: React.PropTypes.func.isRequired }, getInitialState: function () { return {queryBatchNumber: ''} }, handleInputChange: function (e) { this.setState({queryBatchNumber: e.target.value}) }, ...
require('babel-core/register') require('json5/lib/require') var path = require('path') var JSON5 = require('json5') var tap = require('tap') var test = tap.test var deref = require('../src/index.js').default var slashPointer = require('../src/util.js').slashPointer deref.setJsonParser(JSON5.parse) function fileUrl(...
var first_id = 0; // Auto-incrementing sequence field. // From http://docs.mongodb.org/manual/tutorial/create-an-auto-incrementing-field/ function hook_init(config) { this.log({ message: '[serial_id] Initializing' }); this.db.get('counters').insert({ collection: 'issues', seq: first_id }); // See https://github....
'use strict'; var promise = require('./promise'); var blessed = require('./private/blessed'); var trampoline = require('./private/trampoline'); var util = require('./private/util'); // # Series // A subclass of [`Promise`](./promise.js.html) that makes it easier // to interact with promises-for-arrays. Thus, a `Seri...
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { withKnobs, text, boolean, number, object } from '@kadira/storybook-addon-knobs'; import { setComposerStub } from 'react-komposer'; import Home from '../home.jsx'; storiesOf('core.Home', module) .addDecorator(withKnobs) .add(...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/ui/core/Control'], function(Control) { "use strict"; /** * Constructor for a new BlockLayoutCell. * ...
// 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 any plugin's vendor/assets/javascripts directory can be referenced here using a relative ...
// $Id: turtle.js 138 2010-04-27 11:15:12Z keknehv $ function Turtle (canvas, turtle) { if (canvas && canvas.getContext) { this.wait = 100; this.c = canvas.getContext('2d'); this.canvas = canvas this._top = canvas.offsetTop; this._left = canvas.offsetLeft;...
/* eslint-disable no-console */ const fs = require("fs/promises"); const path = require("path"); const util = require("util"); const cp = require("child_process"); const chokidar = require("chokidar"); const exec = util.promisify(cp.exec); exports.logResult = result => { for (const error of result.errors) { ...
/* --- Day 16: Aunt Sue --- Your Aunt Sue has given you a wonderful gift, and you'd like to send her a thank you card. However, there's a small problem: she signed it "From, Aunt Sue". You have 500 Aunts named "Sue". So, to avoid sending the card to the wrong person, you need to figure out which Aunt Sue (which you ...
const path = require('path') const fs = require('fs') const fse = require('fs-extra') const { log } = require('./logger') const appPaths = require('../app-paths') function getStoreFlagPath(storeIndexPath) { return path.join(path.parse(storeIndexPath).dir, 'store-flag.d.ts') } function isInstalled (mode) { const ...
import { mix } from './objects'; /** * Execute an AJAX request. * * @param {string} method The HTTP method to use. * @param {string} url The URL to send teh request to. * @param {object=} params Key-value paris of query string parameters. * @param {*=} data The request body. * @param {headers=} headers Any head...
var app = { imports: {} }; app.imports = { $ : require('browserify-zepto'), _ : require('underscore'), Backbone : require('backbone') }; app.imports.Backbone.$ = app.imports.$; console.log('Hello World!');
// All code points in the Tamil block as per Unicode v5.1.0: [ 0xB80, 0xB81, 0xB82, 0xB83, 0xB84, 0xB85, 0xB86, 0xB87, 0xB88, 0xB89, 0xB8A, 0xB8B, 0xB8C, 0xB8D, 0xB8E, 0xB8F, 0xB90, 0xB91, 0xB92, 0xB93, 0xB94, 0xB95, 0xB96, 0xB97, 0xB98, 0xB99, 0xB9A, 0xB9B, 0xB9C, 0xB9D, 0xB9E, 0xB9F, ...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Licen...
/** * Copyright 2012-2019, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = { moduleType: 'locale', name: 'es', dictionary: { 'Autoscale': 'Autoescalar...
import BaseModel, { jsonSchemaModel } from '../base'; @jsonSchemaModel({ title: 'Watcher' }) export default class Watcher extends BaseModel { watch() { throw new Error('Not Implemented'); } }
(function() { 'use strict'; angular .module('kcmDashboardApp.kcm-menu') .directive('kcmMenu', kcmMenu); function kcmMenu() { return { restrict: 'E', templateUrl: 'scripts/shared/kcm-menu/kcm-menu.directive.html' }; } })();