code
stringlengths
2
1.05M
function base64_encode(data) { // discuss at: http://phpjs.org/functions/base64_encode/ // original by: Tyler Akins (http://rumkin.com) // improved by: Bayron Guevara // improved by: Thunder.m // improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // improved by: Kevin van Zonneveld (http://ke...
var tinyMCEImageList = new Array( // Name, URL ["Logo 1", "logo.jpg"], ["Logo 2 Over", "logo_over.jpg"] );
/***************************************************** *Config ****************************************************/ var configp = { "app_style":1, "app_location":2, "service":"", "creative": { "type":0, "w":0, "h":0, "code":"0", "click":"", "material":"", "click":"", "third_sho...
/* * Fuel UX Radio * https://github.com/ExactTarget/fuelux * * Copyright (c) 2012 ExactTarget * Licensed under the MIT license. */ (function($) { var old = $.fn.radio; // RADIO CONSTRUCTOR AND PROTOTYPE var Radio = function (element, options) { this.$element = $(element); this.options = $.extend({}, $.f...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import * as ReactDOM from 'react-dom'; import ownerDo...
/// 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 /// ...
// -- Sammy.js -- /plugins/sammy.nested_params.js // http://sammyjs.org // Version: 0.6.3 // Built: 2011-01-27 10:31:08 -0800 (function(b){Sammy=Sammy||{};function a(d){d=unescape(d);if(d==="true"){return true}else{if(d==="false"){return false}else{return d}}}function c(i,h,g){var e,d,f;if(h.match(/^[^\[]+$/)){i[h]=a(g...
/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 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...
/************************************************************* * * MathJax/jax/output/SVG/fonts/Gyre-Pagella/Symbols/Regular/Main.js * * Copyright (c) 2013-2016 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
// Generated by CoffeeScript 1.10.0 (function() { var Adapter, Stylus, _, nodefn, sourcemaps, 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 = n...
/*! * statuses * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2016 Douglas Christopher Wilson * MIT Licensed */ 'use strict' /** * Module dependencies. * @private */ var codes = require('./codes.json') /** * Module exports. * @public */ module.exports = status // array of status...
/*! choices.js v2.2.2 | (c) 2016 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check...
// ==ClosureCompiler== // @compilation_level ADVANCED_OPTIMIZATIONS // @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3_3.js // ==/ClosureCompiler== /** * @name MarkerClusterer for Google Maps v3 * @version version 1.0 * @author Luke Mahe * @fileoverview * The ...
import _extends from"@babel/runtime/helpers/extends";import{createScopedElement}from"../../lib/jsxRuntime";import{Icon20Cancel}from"@vkontakte/icons";import Tappable from"../Tappable/Tappable";import{getClassName}from"../../helpers/getClassName";import{usePlatform}from"../../hooks/usePlatform";var ModalDismissButton=fu...
import React from 'react' export default () => ( <div>About us</div> )
/** * @author Alexander Gessler / http://www.greentoken.de/ * https://github.com/acgessler * * Loader for models imported with Open Asset Import Library (http://assimp.sf.net) * through assimp2json (https://github.com/acgessler/assimp2json). * * Supports any input format that assimp supports, including 3ds, obj,...
var str = "quotes!";
export function foo4() {}; export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar;
CKEDITOR.plugins.setLang("forms","da",{button:{title:"Egenskaber for knap",text:"Tekst",type:"Type",typeBtn:"Knap",typeSbm:"Send",typeRst:"Nulstil"},checkboxAndRadio:{checkboxTitle:"Egenskaber for afkrydsningsfelt",radioTitle:"Egenskaber for alternativknap",value:"Værdi",selected:"Valgt"},form:{title:"Egenskaber for f...
/* * r_highlight_rules.js * * Copyright (C) 2009-11 by RStudio, Inc. * * The Initial Developer of the Original Code is * Ajax.org B.V. * Portions created by the Initial Developer are Copyright (C) 2010 * the Initial Developer. All Rights Reserved. * * This program is licensed to you under the terms of version...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v10.0.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var utils_1 = require("../utils"); var BorderLayout = (functio...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'maximize', 'ku', { maximize: 'ئەوپەڕی گەورەیی', minimize: 'ئەوپەڕی بچووکی' } );
(function (factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else { factory(jQuery); } }(function ($) { function getSubcalls(row) { var id = row.attr('id'); return $('.djDebugProfileRow[id^="'+id+'_"]'); } function getDire...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'blockquote', 'nl', { toolbar: 'Citaatblok' } );
'use strict'; var Utils = require('./../utils') , Helpers = require('./helpers') , _ = require('lodash') , Association = require('./base') , CounterCache = require('../plugins/counter-cache') , util = require('util'); /** * One-to-many association * * In the API reference below, replace `Association(s)` ...
var env, store, adapter, Post, Comment, SuperUser; var passedUrl; var run = Ember.run; module("integration/adapter/build-url-mixin - BuildURLMixin with RESTAdapter", { setup: function() { Post = DS.Model.extend({ name: DS.attr("string") }); Post.toString = function() { return "Post"; }; ...
/* * SystemJS v0.19.43 */ (function() { function bootstrap() {// from https://gist.github.com/Yaffle/1088850 (function(global) { function URLPolyfill(url, baseURL) { if (typeof url != 'string') throw new TypeError('URL must be a string'); var m = String(url).replace(/^\s+|\s+$/g, "").replace(/\\/g, '/').match...
/*global define */ define([ 'backbone', 'localStorage' ], function (Backbone) { 'use strict'; return Backbone.Model.extend({ localStorage: new Backbone.LocalStorage('todos-backbone'), defaults: { title: '', completed: false, created: 0 }, initialize: function () { if (this.isNew()) { thi...
try{foo()} catch (e){ log(e) } try { // foo comment foo(); } finally { // bar comment bar(); } try{foo()} catch (e){ log(e) } finally { bar() } try { bar( "foo" ); } catch ( e ) { // Empty Catch commen...
define({ "_widgetLabel": "比例尺" });
IntlMessageFormat.__addLocaleData({locale:"ca", messageformat:{pluralFunction:function (n) { var i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;n=Math.floor(n);if(i===1&&v===0)return"one";return"other"; }}});
module.exports = function (app, connection) { 'use strict'; var memcached = require('./store')(connection); var RSVP = require('rsvp'); var UserModel = require('../../models').user; var undefsafe = require('undefsafe'); var feature = require('../../features'); var metrics = require('../../metrics'); var...
// Generated by CoffeeScript 1.8.0 (function() { var Access, Arr, Assign, Base, Block, Call, Class, Code, CodeFragment, Comment, Existence, Expansion, Extends, For, HEXNUM, IDENTIFIER, IDENTIFIER_STR, IS_REGEX, IS_STRING, If, In, Index, LEVEL_ACCESS, LEVEL_COND, LEVEL_LIST, LEVEL_OP, LEVEL_PAREN, LEVEL_TOP, Literal, ...
/*! /support/test/element/video/webm 1.0.5 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */ !function(e){"use strict";function n(n,r){var t=n.defer();return r.then(function(){var n=e.createElement("video");n.canPlayType('video/webm; codecs="vp8, vorbis"')?t.resolve():t.reject()},t.reject),t.pledge}provide(["/deman...
/** * This file is only for testing purposes. **/
/** * Vidom * @author Filatov Dmitry <dfilatov@inbox.ru> * @version 0.3.17 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.vidom = global.vidom || {})...
/* Highcharts JS v4.1.5 (2015-04-13) (c) 2009-2014 Torstein Honsi License: www.highcharts.com/license */ (function(){function z(){var a,b=arguments,c,d={},e=function(a,b){var c,d;typeof a!=="object"&&(a={});for(d in b)b.hasOwnProperty(d)&&(c=b[d],a[d]=c&&typeof c==="object"&&Object.prototype.toString.call(c)!=="[o...
// flow-typed signature: 0239371cba4c187891b8b54cd827e987 // flow-typed version: <<STUB>>/redux-logger_v^2.7.4/flow_v0.38.0 /** * This is an autogenerated libdef stub for: * * 'redux-logger' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with ...
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/localization/ast/HelpDialog.js * * Copyright (c) 2009-2015 The MathJax Consortium * * Licensed under the Apache License, Versio...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Radium"] = factory(...
/*expected initial->s1_1->s1_2->s1_3->s1_4->s1_5->s1_6->s1_2->s1_5; s1_3->s1_7; s1_4->s1_7->final; */ for (init; a || b && c; update) { foo(); } /*DOT digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; fi...
/*! * headroom.js v0.8.0 - Give your page some headroom. Hide your header until you need it * Copyright (c) 2016 Nick Williams - http://wicky.nillia.ms/headroom.js * License: MIT */ (function($) { if(!$) { return; } //////////// // Plugin // //////////// $.fn.headroom = function(option) { re...
/** * @fileoverview jUnit Reporter * @author Jamund Ferguson */ "use strict"; const xmlEscape = require("../util/xml-escape"); //------------------------------------------------------------------------------ // Helper Functions //------------------------------------------------------------------------------ /** ...
(function() { var d3_format_decimalPoint = ".", d3_format_thousandsSeparator = ",", d3_format_grouping = [ 3, 3 ]; if (!Date.now) Date.now = function() { return +new Date(); }; try { document.createElement("div").style.setProperty("opacity", 0, ""); } catch (error) { var d3_style_prototype = CSSSt...
/** * oclazyload - Load modules on demand (lazy load) with angularJS * @version v1.0.4 * @link https://github.com/ocombe/ocLazyLoad * @license MIT * @author Olivier Combe <olivier.combe@gmail.com> */ (function (angular, window) { 'use strict'; var regModules = ['ng', 'oc.lazyLoad'], regInvokes = ...
/*! * froala_editor v2.2.0 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms * Copyright 2014-2016 Froala Labs */ /** * Montenegrin */ $.FE.LANGUAGE['me'] = { translation: { // Place holder "Type something": "Ukucajte ne\u0161tp", // Basic formatting "B...
/** * Just few lines to test the behavior. */ const TokenGenerator = require('./token-generator'); const jwt = require('./'); const tokenGenerator = new TokenGenerator('a', 'a', { algorithm: 'HS256', keyid: '1', noTimestamp: false, expiresIn: '2m', notBefore: '2s' }) token = tokenGenerator.sign({ myclaim: 'somethin...
/*! * angular-datatables - v0.5.7 * https://github.com/l-lin/angular-datatables * License: MIT */ "undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.scroller"),function(a,b,c,d){"use strict";function e(a){function b(a){function b(a,b){function d(){var a="S...
YUI.add("lang/datatype-date-format_nl-NL",function(a){a.Intl.add("datatype-date-format","nl-NL",{"a":["zo","ma","di","wo","do","vr","za"],"A":["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],"b":["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],"B":["januari"...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'fakeobjects', 'fa', { anchor: 'لنگر', flash: 'انیمشن فلش', hiddenfield: 'فیلد پنهان', iframe: 'IFrame', unknown: 'شیء ناشناخته' } );
/* Highstock JS v2.1.10 (2015-12-07) Data module (c) 2012-2014 Torstein Honsi License: www.highcharts.com/license */ (function(g){typeof module==="object"&&module.exports?module.exports=g:g(Highcharts)})(function(g){var j=g.each,t=g.pick,r=g.inArray,u=g.splat,k,p=function(b,a){this.init(b,a)};g.extend(p.prototype...
(function(a){var b=a.spectrum.localization.he={cancelText:"בטל בחירה",chooseText:"בחר צבע",clearText:"אפס בחירה",noColorSelectedText:"לא נבחר צבע",togglePaletteMoreText:"עוד צבעים",togglePaletteLessText:"פחות צבעים"};a.extend(a.fn.spectrum.defaults,b)})(jQuery);
Prism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:\d*\.?\d+(?:e[\+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,"function":/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤...
// # DB API // API for DB operations var Promise = require('bluebird'), exporter = require('../data/export'), importer = require('../data/importer'), backupDatabase = require('../data/migration').backupDatabase, models = require('../models'), errors = r...
//! moment-timezone.js //! version : 0.5.11 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone (function (root, factory) { "use strict"; /*global define*/ if (typeof define === 'function' && define.amd) { define(['moment'], factory); // ...
'use strict'; exports.init = function(req, res){ if (req.isAuthenticated()) { res.redirect(req.user.defaultReturnUrl()); } else { res.render('login/forgot/index'); } }; exports.send = function(req, res, next){ var workflow = req.app.utility.workflow(req, res); workflow.on('validate', function() {...
(function (console, $hx_exports) { "use strict"; function $extend(from, fields) { function Inherit() {} Inherit.prototype = from; var proto = new Inherit(); for (var name in fields) proto[name] = fields[name]; if( fields.toString !== Object.prototype.toString ) proto.toString = fields.toString; return proto; } var ...
csv = require('..'); // Parse a CSV text to an array csv() .from.string( '"1","2","3","4"\n"a","b","c","d"' ) .to.array( function(rows){ console.log(rows); // Stringify array to a CSV text csv() .from.array( rows ) .to.string( function(text){ console.log(text); } ); } );
'use strict'; var assert = require('assert'); var expected = [ 0.0, 1.0, -1.0, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, NaN, NaN ]; function testHandler(actual) { assert.strictEqual(Object.prototype.toString.call(actual), '[object Array]'); assert.strictEqual(actual.length, 7); assert....
/* Highcharts JS v6.0.0 (2017-10-04) (c) 2009-2017 Torstein Honsi License: www.highcharts.com/license */ (function(b){"object"===typeof module&&module.exports?module.exports=b:b(Highcharts)})(function(b){(function(a){a.createElement("link",{href:"https://fonts.googleapis.com/css?family\x3dSignika:400,700",rel:"sty...
'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...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'liststyle', 'ku', { armenian: 'ئاراستەی ژمارەی ئەرمەنی', bulletedTitle: 'خاسیەتی لیستی خاڵی', circle: 'بازنه', decimal: 'ژمارە (1, 2, 3, وە هیتر....
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A wrapper around a native element inside of a View. * * An `ElementRef` is backed by a render-specific eleme...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'list', 'en-au', { bulletedlist: 'Insert/Remove Bulleted List', numberedlist: 'Insert/Remove Numbered List' });
'use strict'; (function() { var msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1], 10); function indexOf(array, obj) { if (array.indexOf) return array.indexOf(obj); for ( var i = 0; i < array.length; i++) { if (obj === array[i]) return i; } return -1; } ...
/*! d3.chart - v0.1.0 * License: MIT Expat * Date: 2013-05-27 */ (function(window, undefined) { "use strict"; var d3 = window.d3; var errors = { noBase: new Error("d3.layer must be initialized with a base"), noDataBind: new Error("d3.layer must specify a `dataBind` method."), noInsert: new Error("d3.la...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("language","cy",{button:"Gosod iaith",remove:"Tynnu iaith"});
/** * Encapsulates a redirect to the given route. */ "use strict"; function Redirect(to, params, query) { this.to = to; this.params = params; this.query = query; } module.exports = Redirect;
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved (function () {...
'use strict'; !function(){ var Rimg = function() { var hidden = { status : 'init', observer : null, breakpoints : [], resizeWait: null, resizeDimensions: '', disableIntrospection: false }; function parseBreakpoints(val...
require('./angular-locale_wal'); module.exports = 'ngLocale';
/*! Qoopido.js library 3.7.3, 2015-08-05 | https://github.com/dlueth/qoopido.js | (c) 2015 Dirk Lueth */ !function(t){window.qoopido.register("polyfill/window/getcomputedstyle",t)}(function(t,e,r,n,o,u,l){"use strict";if(o.getComputedStyle)return o.getComputedStyle;var i=new RegExp("(\\-([a-z]){1})","g"),p=function(){r...
"use strict"; var mergeMapTo_1 = require('./mergeMapTo'); /** * Projects each source value to the same Observable which is merged multiple * times in a serialized fashion on the output Observable. * * <span class="informal">It's like {@link concatMap}, but maps each value * always to the same inner Observable.</sp...
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.2 */ (function(window, undefined) { "use strict";...
var mkdirp = require('../'); var path = require('path'); var fs = require('fs'); var test = require('tap').test; test('umask sync modes', function (t) { t.plan(2); var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); var z = M...
'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...
"use strict"; // Polyfills/aliases for confusingly-named String methods const { padStart: padLeft, padEnd: padRight, trimLeft: trimStart, trimRight: trimEnd, } = Object.getOwnPropertyDescriptors(String.prototype); "".padLeft || Object.defineProperties(String.prototype, {padLeft, padRight}); "".trimStart |...
'use strict'; const EventEmitter = require('events').EventEmitter; const topLogPrefix = 'larvitblog: dataWriter.js: '; const DbMigration = require('larvitdbmigration'); const slugify = require('larvitslugify'); const LUtils = require('larvitutils'); const amsync = require('larvitamsync'); const async = require('async'...
import fixtures from './fixtures' import ip from '../src' import { test } from 'tap' const versions = ['v4', 'v6'] test('Validation', (tap) => { tap.plan(versions.length) versions.forEach((version) => { tap.test(version.toUpperCase(), (assert) => { let data = fixtures[version].plain.concat(fixtures[ver...
/* globals module */ module.exports = { options: { store: './dist/licensy.json', bowerDir: './bower_modules', blacklist: [], warn: true } };
KonOpas.Part = function(list, opt) { this.list = list || []; this.list.forEach(function(p){ p.sortname = ((p.name[1] || '') + ' ' + p.name[0]).toLowerCase().replace(/^ +/, ''); if (!opt.non_ascii_people) p.sortname = p.sortname.make_ascii(); }); this.list.sort(opt.non_ascii_people ? function(a, b) { return a...
var $ = require('jquery'); class Page_Styleguide_View_Section_Modals extends View_Browser { handleModalTriggerClick(event) { var element = $(event.target), modal_id = element.data('modal-id'); this.getBus().emit(Client_Enum_Events.SHOW_MODAL, modal_id); } initEvents() { this.$el.on( 'click', ...
"use strict"; var chai = require("chai"), expect = chai.expect, chaiHttp = require("chai-http"), TestApp = require('../index'), sioClient = require("socket.io-client"), mdns = require('mdns'); chai.use(chaiHttp); describe('Puree Infra', function(){ var puree = new TestApp(), sio, socket, browser, service; befo...
var Promix = require('promix'); // Create a special access type for processing requests // for the record closest to the supplied parameters // (read: a modified GET query) const CLOSEST_ACCESS_TYPE = 'closest'; const WITHIN_PARAMETERS = [ 'min_x', 'min_y', 'max_x', 'max_y' ]; class API_Resource_Abstract_SQL_Co...
const assert = require('assert'); const coreTypes = require('./coretypes'); const {quality, binary: {bytesToHex, signingData, multiSigningData, binaryToJSON, serializeObject}} = coreTypes; function decode(binary) { assert(typeof binary === 'strin...
/* * Filename: script.js * * Primary JS file. Entry point for browserify. */ var domready = require('domready') domready(function () { console.log('works') })
'use strict' const Option=require('./option-classes') const GenNode=require('./audio-graph-gen-node-classes') const VisNode=require('./audio-graph-vis-node-classes') const ConNode={} const MANY=100 // "infinity", can't use infinity directly b/c have to multiply by it //// abstract classes (not exported) class Node...
var glob = GLOBAL; var chai = require('chai'); /* ==== setting-up globals ============= */ glob.expect = chai.expect; glob.sinon = require('sinon'); glob.Sails = require('sails'); /* ==== chai configuration ============= */ // disable truncating chai.config.truncateThreshold = 0;
// $Id: xbin_defs.js,v 1.1 2018/02/02 12:48:35 rswindell Exp $ // Xbin file format definition // https://web.archive.org/web/20120204063040/http://www.acid.org/info/xbin/x_spec.htm var id = "XBIN\x1a" var ID_LEN = 5; var PALETTE_LEN = 48; var FLAG_PALETTE = (1<<0); var FLAG_FONT_NORMAL = (1<<1); var FLAG_CO...
// ==UserScript== // @id iitc-plugin-show-more-portals@jonatkins // @name IITC plugin: Show more portals // @category Deleted // @version 0.2.1.@@DATETIMEVERSION@@ // @description [@@BUILDNAME@@-@@BUILDDATE@@] Standard intel has changed to show all portals from zoom level 15, which...
import React from 'lodash'; // Don't have React installed in this project export default () => ( <button> Button </button> );
"use strict" const path = require("path") const chai = require("chai") const debug = require("debug")("route4me-node:examples") require("../init-examples-suite") const helper = require("../../test/helper") helper.describeIntegration(helper.toSuiteName(__filename), function T() { this.timeout(5000) this.slow(3000)...
import {createStore, compose, applyMiddleware} from 'redux'; import thunkMiddleware from 'redux-thunk'; import { hashHistory } from 'react-router'; import { routerMiddleware } from 'react-router-redux'; import rootReducer from '../reducers'; export default function configureStore(initialState) { const middewares = [...
var should = require('chai').should(); describe("Tinyconf", function() { describe("Instance", function() { var config = require('../')(); should.exist(config); }); });
version https://git-lfs.github.com/spec/v1 oid sha256:b76d7f94285f6b15b9831d61f98b5842120fb00d6840c7eddd62b422dbdf1ce5 size 24581
'use strict'; import { string, number, object } from "libcore"; import Lexeme from "../lexeme.js"; var INVALID_STATE_HANDLER = "Invalid result from state handler"; function BaseIterator(parser) { if (!object(parser)) { throw new Error("Invalid parser p...
module.exports = { ext: 'collector', // 插件目录,必须为英文 name: '采集器', // 插件名称 description: '采集数据入库接口', // 插件描述 isadm: 1, // 是否有后台管理,1:有,0:没有,入口地址:'/ext/collector/admin/index' isindex: 0, // 是否需要前台访问,1:需要,0:不需要,入口地址:'/ext/collector/index/index' version: '1.0', // 版本号 author: 'arterli', // 作者 table: ['collector...
// Regular expression that matches all symbols in the Geometric Shapes block as per Unicode v9.0.0: /[\u25A0-\u25FF]/;
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ */ var _Math = { DEG2RAD: Math.PI / 180, RAD2DEG: 180 / Math.PI, generateUUID: function () { // http://www.broofa.com/Tools/Math.uuid.htm var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.s...
var db = {}; var mysql = require('mysql'); const result = require('../model/result') var sqlConfig = require('../../config/sqlConn') var pool = mysql.createPool(sqlConfig.blog); var poolCity = mysql.createPool(sqlConfig.city); //host : 'bqbbq.com', //Issue Point there is a bug in the mysql pool...