code
stringlengths
2
1.05M
function OverdoneError() { var e = Error.apply(this, arguments); var _this = this; var _arguments = arguments; Object.defineProperty(this, 'message', {value: e.message}); Object.defineProperty(this, 'name', {value: 'OverdoneError'}); Object.defineProperty(this, 'stack', {get: function() {return e.stack}}); ...
const webpack = require('webpack'); const path = require('path'); const ManifestPlugin = require('webpack-manifest-plugin'); const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); const env = process.env.NODE_ENV || 'development'; const production = env === 'production'; const development = env === 'de...
/* Copyright 2013,2014 Guy de Pourtalès 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, ...
/* global jasmine, describe, beforeEach, it, expect, require */ define(["wall"], function(wall) { describe("Wall ViewModel definitions.", function() { "use strict"; var a = wall; describe("Wall definitions.", function() { it("should define requests", function() { ...
'use strict'; module.exports = { db: 'mongodb://localhost/mean-test-dev', app: { title: 'mean-test - Development Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', callbackURL: '/auth/facebook/callback' }, twitter: { cli...
app.controller('UserController', ['$scope', '$rootScope', '$timeout', '$http', '$cookieStore', 'ServiceConfig', 'MenuSelect', function($scope, $rootScope, $timeout, $http, $cookieStore, ServiceConfig, MenuSelect) { var user = $cookieStore.get('user'); var width = window.innerWidth; MenuSelect.setSelected('select...
angular .module('starter') .controller('settings', function ($scope, $http, Weather, WeatherData, Settings, LocalStorage) { $scope.scale = !localStorage.scale ? Settings.scale : localStorage.scale $scope.precision = !localStorage.precision ? Settings.precision : localStorage.precision $scope.randomScale = functio...
async (x = function f(x = class { [await] }){}) => {}
import * as d3 from 'd3'; import jquery from 'jquery'; import moment from 'moment'; window.d3 = d3; var windowWidth = window.innerWidth, windowHeight = window.innerHeight; var container = d3.select("#background-shapes"); var mouse = [windowWidth/2, windowHeight/2]; var total = 20; var colorScale = d3.scaleLin...
(function () { var Ext = window.Ext4 || window.Ext; Ext.define('Rally.apps.common.PortfolioItemsGridBoardApp', { extend: 'Rally.app.GridBoardApp', requires: [ 'Rally.data.Ranker', 'Rally.ui.cardboard.plugin.CollapsibleColumns', 'Rally.ui.cardboard.plugin.Fix...
import { Observable } from 'rxjs'; import { bufferToggle } from '../../operator/bufferToggle'; Observable.prototype.bufferToggle = bufferToggle; //# sourceMappingURL=bufferToggle.js.map
define( 'amd/combineplugin/cat', function ( require ) { return { name: 'amd/combineplugin/cat' }; } ); define( 'plugin/html2', { load: function ( resourceId, req, load, config ) { var xhr = window.XMLHttpRequest ? new XMLHttpRequest() ...
{ "AD" : "n. e", "Africa/Abidjan_Z_abbreviated" : "(CI)", "Africa/Abidjan_Z_short" : "GMT", "Africa/Accra_Z_abbreviated" : "(GH)", "Africa/Accra_Z_short" : "GMT", "Africa/Addis_Ababa_Z_abbreviated" : "(ET)", "Africa/Addis_Ababa_Z_short" : "EAT", "Africa/Algiers_Z_abbreviated" : "(DZ)", "Africa/Algiers_Z_short"...
/**! * Exame Informática Reader Tools * https://github.com/pedrofsantoscom/exame-informatica-reader-tools * * Copyright 2015 Pedro F. Santos, http://pedrofsantos.com, me@pedrofsantos.com * Released under the MIT license * http://en.wikipedia.org/wiki/MIT_License * * Version: 2015.09.22 */ var EIReaderTools = {...
var PHPGettextParser = require("./parsers/PHPGettextParser"); var WordpressParser = require("./parsers/WordpressParser"); var AngularTranslateParser = require("./parsers/AngularTranslateParser"); var ParserList = { gettextPHP: function () { return new PHPGettextParser(); }, wordpress: function () { ...
require("ember-data/system/record_arrays/record_array"); /** @module data @submodule data-record-array */ var get = Ember.get, set = Ember.set; var map = Ember.EnumerableUtils.map; /** A ManyArray is a RecordArray that represents the contents of a has-many relationship. The ManyArray is instantiated lazil...
////////////////////////////////////////////////////////////////////////// // Javascript file for system R500 // ////////////////////////////////////////////////////////////////////////// function exportCsv(){ // some data to export var data = [ {"subject": "ECON 101", "startDat...
Package.describe({ summary: "Run a function when the user scrolls past an element", version: "1.0.9", deprecated: true, documentation: 'README.md' }); Package.onUse(function (api) { api.use('jquery'); api.use('coffeescript'); api.addFiles('waypoints.coffee', 'client'); });
module.exports = { parser: '@typescript-eslint/parser', env: { node: true }, plugins: [ '@typescript-eslint', ], extends: [ 'airbnb-typescript/base', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-e...
/** * Created by liuchang on 16/1/21. * * this test karma configuration and should assertion lib * it should work with typescript and es6 */ 'use strict'; var co = require('co'); require("should"); describe('karma test', function () { describe('should test', function () { it('should return -1 when the ...
'use strict'; angular.module('copayApp.controllers').controller('preferencesThemeController', function($scope, configService, profileService, go) { var config = configService.getSync(); this.themeOpts = [ { name: 'DigiByte Gaming Default', url: 'url("./img/digibytedefault.jpg")', ...
/** * @class Denkmal_Component_HeaderBar * @extends Denkmal_Component_Abstract */ var Denkmal_Component_HeaderBar = Denkmal_Component_Abstract.extend({ /** @type String */ _class: 'Denkmal_Component_HeaderBar', events: { 'click .menu.dates a': function() { if (!this.getWeekdayMenuVisible()) { ...
(function () { 'use strict'; var module = angular.module('fim.base'); module.config(function($routeProvider) { $routeProvider.when('/search/:engine/:category/:query?', { templateUrl: 'partials/search.html', controller: 'SearchController' }) }); module.controller('SearchController', function ($scope, nxt, ...
/** @method Seemple.unbindNode @module seemple/unbindnode @importance 3 @since 1.1 @summary Разрывает связь между свойством и HTML элементом @desc Этот статичный метод работает так же, как и {@link Seemple#unbindNode} и все его вариации, но принимает в качестве первого аргумента любой JavaScript объект. @returns {objec...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
export default /* glsl */` uniform float skyboxIntensity; vec3 processEnvironment(vec3 color) { return color * skyboxIntensity; } `;
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-1 12H6c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v8c0...
if(!dojo._hasResource["dijit._Templated"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dijit._Templated"] = true; dojo.provide("dijit._Templated"); dojo.require("dijit._Widget"); dojo.require("dojo.string"); dojo.require("dojo.parser"); dojo.declare("dijit....
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
export * from './Tw2Animation'; export * from './Tw2AnimationController'; export * from './Tw2Bone'; export * from './Tw2Model'; export * from './Tw2Track'; export * from './Tw2TrackGroup';
module.exports = { description: 'excludes constructors that are known to be pure', options: { moduleName: 'myBundle' } };
/** * @depends jquery, core.console, jquery.extra, jquery.balclass * @name jquery.balclass.bespin.sparkle * @package jquery-sparkle {@link http://balupton.com/projects/jquery-sparkle} */ /** * jQuery Aliaser */ (function($){ /** * Prepare Body */ $(document.body).addClass('js'); /** *...
/** # watermark(表單欄位浮水印)[view] ## 更新訊息 原始來源: https://code.google.com/p/jquery-watermark 最後編輯者: Hank Kuo 最後修改日期: 2013/11/07 更新資訊: 時間 | 版本 | 說明 | 編輯人 ---------- | ---- | --------------------- | ---- 2013.11.07 | 1.0 | 建立元件 | Hank Kuo ## 相依套件與檔案 #### 相依第三方套件 vendor/jquery/plugins/...
/** * @fileoverview * Shuffl card plug-in for simple card containing an image and associated notes * * @author Graham Klyne * @version $Id: shuffl-card-imagegallery.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You ...
export default function toArray ( arrayLike ) { var array = [], i = arrayLike.length; while ( i-- ) { array[i] = arrayLike[i]; } return array; }
import * as tslib_1 from "tslib"; /** * @license Angular v4.3.2 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ import { AUTO_STYLE, NoopAnimationPlayer } from '@angular/animations'; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-...
/** * @fileoverview Disallow parenthesesisng higher precedence subexpressions. * @author Michael Ficarra * @copyright 2014 Michael Ficarra. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //-----------------------------------...
/*! * Bootstrap-select v1.12.4 (https://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2018 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M22 6h-3v9H6v3h12l4 4V6zm-5 7V2H2v15l4-4h11z" }), 'ForumSharp');
(function(){ var opts={"version":1,"apiEndpoint":"https://api.trello.com","authEndpoint":"https://trello.com","key":"ceae40df964ba24f0facf988498e2bd2"}; var deferred,isFunction,isReady,ready,waitUntil,wrapper,__slice=[].slice; wrapper=function(c,g,b){var f,d,l,w,y,m,r,n,z,x,e,s,t,u,h,v,p;m=b.key;e=b.token;d=b.apiEndpoi...
/** * Extension: Event */ export default class EventEmitter { constructor() { this._events = {}; } /** * Attach a handler to an custom event. * * @param {string} type * @param {Function} callback * @returns {Event} this */ on(type, callback) { if (type &&...
/* jshint node:true */ var RSVP = require('rsvp'); var fs = require('fs'); var path = require('path'); module.exports = { strategy: { availableOptions: [ { name: 'foo', type: String, }, ], getNextTag: function(project, tags, options) { writeFile(project.root, 'options.j...
/* eslint-disable global-require */ const express = require('express'); const path = require('path'); const compression = require('compression'); const pkg = require(path.resolve(process.cwd(), 'package.json')); const proxy = require('http-proxy-middleware'); // Dev middleware const addDevMiddlewares = (app, webpackCo...
/*! jQuery UI - v1.9.2 - 2015-02-01 * http://jqueryui.com * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","...
define(["require", "exports", 'Services/Service', 'Site'], function (require, exports, services, site) { var HomeService = (function () { function HomeService() { } HomeService.prototype.getMenus = function () { /// <summary> /// 获取系统设置的菜单 /// </summary> ...
define([ 'jquery', 'calendarData' ], function($, data){ var DSGCalendar = { options: { container: 'calendar-container', }, data: {}, activeSlot: {}, isActive: false, initialize: function(dataPath){ var that = this; // Testing - the module accepts pre-loaded data. In production, this would ...
const express = require('express'); const values = require('object.values'); const environmentConstants = require('./constants/environment'); if (!Object.values) { values.shim(); } const environment = process.env.NODE_ENV || environmentConstants.DEVELOPMENT; process.env.NODE_ENV = environment; require('dotenv').co...
(function(abot) { abot.Settings = {} abot.Settings.controller = function() { var ctrl = this ctrl.save = function() { var changed = document.querySelectorAll(".input-changed") if (changed.length === 0) { return } var data = {} var ps = ctrl.props.plugins() for (var i = 0; i < ps.length; ++i) { var p...
const fs = require('fs'); const path = require('path'); const fetch = require('node-fetch'); const outDir = __dirname; var includeList = [ "1016", // 4UMaps "1065", // Hike & Bike Map "1061", // Thunderforest Outdoors "1021", // kosmosnimki.ru "1017", // sputnik.ru "1023", // Osmapa.pl - Mapa...
var studentIdSequence = 10023; var gridOptions = { columnDefs: [ {headerName: 'Student ID', field: 'student'}, {headerName: 'Year Group', field: 'yearGroup', rowGroup: true}, {headerName: 'Age', field: 'age'}, {headerName: 'Course', field: 'course', pivot: true}, {headerName...
// Generated by CoffeeScript 1.9.3 (function() { var Adapter, Eco, W, fs, path, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); chi...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Renders this Game Object with the Canvas Renderer to the given Camera. * The object will not render if any of its renderFlags are set or...
/** @jsx h */ import h from '../../../helpers/h' export default function (change) { change.deleteBackward() } export const input = ( <state> <document> <paragraph> wo<cursor />rd </paragraph> </document> </state> ) export const output = ( <state> <document> <paragraph> ...
var f = require('util').format , MongoError = require('../error'); // Filters for classes var classFilters = {}; var filteredClasses = {}; var level = null; // Save the process id var pid = process.pid; // current logger var currentLogger = null; /** * Creates a new Logger instance * @class * @param {string} cla...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns the center x coordinate from the bounds of the Game Object. * * @function Phaser.Display.Bounds.GetCenterX * @since 3.0.0 * ...
var gulp = require('gulp'); gulp.task('dotfiles:sync', function() { var request = require('request'); var fs = require('fs'); var _ = require('lodash'); var settings = require('../config').dotfiles.src; _.each(settings, function(setting) { request({uri: setting.url, strictSSL: false}) .pipe(fs.cr...
import sharp from 'sharp' import request from 'request' import B64 from 'b64' import getStream from 'get-stream' const img2Buffer = (url) => { // resize to ipad size. const transformImg = sharp() .resize(2048, 2048) .jpeg({quality: 80}) const stream = request .get(url) .pipe(transformImg) ret...
/* ***** 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/ * ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M1 21.98c0 .56.45 1.01 1.01 1.01H15c.56 0 1.01-.45 1.01-1.01V21H1v.98zM8.5 8.99C4.75 8.99 1 11 1 15h15c0-4-3.75-6.01-7.5-6.01zM3.62 13c1.11-1.55 3.47-2.01 4...
!function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__e...
ENDPOINT.Models.SearchResult = Backbone.Model.extend({ }) ENDPOINT.Models.Search = Backbone.Model.extend({ initialize: function(opts){ this.set({input: opts.input}) }, url: '/search' })
function setEleProps(element, strProps, elePrntID) { try { //strProps = "V=1|M=0|E=0|F=3|R=-1|B=-1"; var aryProps = strProps.split('|'); if (!(aryProps[0] == "V=1")) { //$(element).removeClass().addClass(getClassForElement(aryProps[5])).addClass(getClassForElement(aryProps[4]))...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@ag-grid-community/core"); var core_2 = require("@ag-grid-enterprise/core"); var serverSideRowModel_1 = require("./serverSideRowModel/serverSideRowModel"); var storeUtils_1 = require("./serverSideRowModel/stores/storeUtil...
(function () { var SyncTestZoneSpec = (function () { function SyncTestZoneSpec(namePrefix) { this.runZone = Zone.current; this.name = 'syncTestZone for ' + namePrefix; } SyncTestZoneSpec.prototype.onScheduleTask = function (delegate, current, target, task) { ...
import { CountableTimeInterval } from "./interval"; import { durationSecond } from "./duration"; function floor(date) { date.setTime(date.getTime() - date.getMilliseconds()); } function offset(date, seconds) { date.setTime(date.getTime() + seconds * durationSecond); } function count(start, end) { return (en...
var React = require("react"); module.exports = React.createClass({ login: function() { $('#loginModal').modal({ "backdrop": "static" }); }, logout: function() { var self=this; $.ajax({ type: "DELETE", url: "/api/appuser", succ...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.nativeSelectIconStyles = exports.nativ...
/* Highmaps JS v8.2.2 (2020-10-22) Highmaps as a plugin for Highcharts or Highstock. (c) 2011-2019 Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/map",[...
/* Highstock JS v9.3.2 (2021-11-29) Advanced Highcharts Stock tools (c) 2010-2021 Highsoft AS Author: Torstein Honsi License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highchar...
// @flow import { StyleSheet } from 'react-native' import { Colors, Metrics, Fonts, ApplicationStyles } from '../../Themes/' export default StyleSheet.create({ ...ApplicationStyles.screen, cardTitle: { alignSelf: 'center', fontSize: Fonts.size.regular, fontWeight: 'bold', marginVertical: Metrics.b...
this.onmessage = function (msg) { this.postMessage(msg.data); };
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-rc4-master-f9738f5 */ (function( window, angular, undefined ){ "use strict"; (function() { 'use strict'; angular.module('material.components.fabShared', ['material.core']) .controller('MdFabController', MdFabContr...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
/** * A slider for numeric inputs. * * @see {@link module:pageflow/ui.pageflow.inputView pageflow.inputView} for options * @class * @memberof module:pageflow/ui */ pageflow.SliderInputView = Backbone.Marionette.ItemView.extend({ mixins: [pageflow.inputView], className: 'slider_input', template: 'pageflow/u...
'use strict'; var debug = require('debug')('eddystone'); var bleno = require('bleno'); var beacon = require('eddystone-beacon'); var uid = require('eddystone-uid'); var RandomMeasure = require('random-measure'); var PulseBeat = require('pulsebeat'); var assign = require('object-assign'); var TX_POWER_MODE_LOW = 1; va...
'use strict'; describe('ngMock', function() { var noop = angular.noop; describe('TzDate', function() { function minutes(min) { return min * 60 * 1000; } it('should look like a Date', function() { var date = new angular.mock.TzDate(0,0); expect(angular.isDate(date)).toBe(true); ...
// @flow type X = {foo: number}; type Y = {bar: X, baz: ?X}; declare var x1: ?X; declare var x2: X; declare var y1: ?Y; declare var y2: Y; (x1?.foo: empty); (x2?.foo: empty); (y1?.bar?.foo: empty); (y2?.bar?.foo: empty); (y1?.baz?.foo: empty); (y2?.baz?.foo: empty); (y1?.bar.foo: empty); (y2?.bar.foo: empty); (y1...
require("coffee-script/register"), require("./gulpfile.coffee");
module.exports = function makeProjectPatch(windowsConfig) { const projectInsert = `<ProjectReference Include="..\\${windowsConfig.relativeProjPath}"> <Project>{${windowsConfig.projectGUID}}</Project> <Name>${windowsConfig.projectName}</Name> </ProjectReference> `; /* eslint-disable no-control-...
var fs = require("fs"); var path = require("path"); var expect = require("chai").expect; var vm = require("vm"); before(function() { var basedir = path.join(__dirname, "../../.."); var fileName = "js/app.js"; var filePath = path.join(basedir, fileName); var code = fs.readFileSync(filePath); this.sandbox = { m...
#!/usr/bin/env node 'use strict'; /** * Remove build/test related directories. */ // dependencies const config = require('./config'); const sh = require('shelljs'); const tools = require('@singpath/tools'); // exit on error sh.set('-e'); tools.clean([config.build.root, config.coverage.root]);
const DrawCard = require('../../drawcard.js'); class NaiveScout extends DrawCard { setupCardAbilities(ability) { this.persistentEffect({ condition: () => this.game.getPlayers().some(player => player.shadows.length > 0), match: this, effect: ability.effects.cannotBeDeclar...
import Node from "./node"; const config = { category: 'datastores', color: '#ffcc00', defaults: { name: {value:""}, subtype: {value:"webcam"}, }, schemakey: "subtype", inputs:0, outputs:1, i...
/**! * * Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. * @private */ import {registerPlugin} from '@ciscospark/spark-core'; import Feature from './feature'; import config from './config'; registerPlugin(`feature`, Feature, { config }); export {default as default} from './feature';
/** * Version: 1.0 Alpha-1 * Build Date: 13-Nov-2007 * Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved. * License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. * Website: http://www.datejs.com/ or http://www.coolite.com/datejs/ */...
var extend = require('xtend') var getFormData = require('form-data-set/element') var BaseEvent = require('./base-event.js') var VALID_CHANGE = ['checkbox', 'file', 'select-multiple', 'select-one']; var VALID_INPUT = ['color', 'date', 'datetime', 'datetime-local', 'email', 'month', 'number', 'password', 'range', '...
var concat = require('../../src/concat'); var equals = require('../../src/equals'); var map = require('../../src/map'); var toString = require('../../src/toString'); // Id :: a -> Id a module.exports = function Id(value) { return { '@@type': 'ramda/Id', 'fantasy-land/equals': function(other) { return other...
var http = require("http"), url = require("url"), path = require("path"), fs = require("fs"), port = process.argv[2] || 8888; var offset = "/../www/" http.createServer(function(request, response) { var uri = url.parse(request.url).pathname , filename = path.join(process.cwd() + offse...
import {load, finputDefaultDelimiters} from '../pageObjects/index'; import customCommandsFactory from '../customCommands'; const {typing} = customCommandsFactory(finputDefaultDelimiters); describe('traversals', () => { beforeAll(load); describe('supports HOME and END keys sending caret to start / end of field', ...
/* * JSON Date Extensions - JSON date parsing extensions * Version 1.2.1 * https://github.com/RickStrahl/json.date-extensions * (c) 2013-2015 Rick Strahl, West Wind Technologies * * Released under MIT License * http://en.wikipedia.org/wiki/MIT_License */ (function (undefined) { "use strict"; if (JSON &...
function printInSampleTemplate(code, result) { return '<table style="width:100%;"><tr><th>Code</th><th>Result</th></tr><tr><td style="width: 50%;vertical-align:top;"><pre class="typescript">' + code + '</pre></td><td style="width: 50%;vertical-align:top;"><pre class="json">' + result + ...
"use strict"; "use strict"; var assert = require("assert"); var adapter = require("../../js/debug/bluebird.js"); var Promise = adapter; var fulfilled = adapter.fulfilled; var rejected = adapter.rejected; var pending = adapter.pending; describe("Promise filter", function() { function ThrownError() {} v...
define( ({ insertTableTitle: "Wstawianie tabeli", modifyTableTitle: "Modyfikowanie tabeli", rows: "Wiersze:", columns: "Kolumny:", align: "Wyrównanie:", cellPadding: "Dopełnianie komórek:", cellSpacing: "Odstępy między komórkami:", tableWidth: "Szerokość tabeli:", backgroundColor: "Kolor tła:", borderColor: "...
/*! * Copyright (c) 2017 ETS Corporation * * 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, pu...
(function() { var op; op = require('../../../tasks/package/operators'); module.exports = function(config) { return config.tasks["package"] = { dir: "" + config.root + "/packages", conf: "" + config.root + "/config/packages", tmp: "" + config.root + "/.tmp", operatorsMap: { 'a...
import Route from '../../common/route'; import Model from '../model'; import View from './view'; import storage from '../storage'; export default Route.extend({ initialize(options) { this.container = options.container; }, fetch() { this.model = new Model(); return storage.findAll().then(collection =...
Clazz.declarePackage ("J.atomdata"); c$ = Clazz.decorateAsClass (function () { this.programInfo = null; this.fileName = null; this.modelName = null; this.modelIndex = 0; this.bsSelected = null; this.bsIgnored = null; this.bsMolecules = null; this.radiusData = null; this.firstAtomIndex = 0; this.firstModelIndex = 0; thi...
var TYPES = ['string', 'integer', 'decimal', 'boolean', 'composite', 'number', 'randexp', 'array', 'autoincrement'], fn = function(_forEach, _toArray, formats){ var startAt = fn.length, args = _toArray(arguments).slice(startAt, arguments.length); types = {}; _forEach(TYPES, function(type, i){ types[type]...
myPager.addTask('tasks', { openDir: undefined, parsed: undefined, init: function (pageId, pageContent, event, dom, scope) { var list = myTaskHelper.getDir(_globals.appActive.data.localPath+'/www/tasks'); return function () { helper.renderDirs( list, document.getElementById('editor.tasks.files'),...
var runs = require('./runs'); /* Returns a font CSS/Canvas string based on the settings in a run */ var getFontString = exports.getFontString = function(run) { var size = (run && run.size) || runs.defaultFormatting.size; if (run) { switch (run.script) { case 'super': case 's...