code
stringlengths
2
1.05M
export { default as DataAdapter } from './lib/data_adapter'; export { default as ContainerDebugAdapter } from './lib/container_debug_adapter';
/* runner_tabs.js ============== Implementation of the tabbed UI. Each tab contains its own log panel. When the tab is not selected, it hides the associated log panel. */ var SplitLogPanel = require('./split_log_panel') var View = require('./view') var Backbone = require('backbone') var pad = require('../../strutil...
/** * marked - a markdown parser * Copyright (c) 2011-2013, Christopher Jeffrey. (MIT Licensed) * https://github.com/chjj/marked */ (function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/...
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 withStyles from '../styles/withStyles'; import Tablelvl2Cont...
/*! * Readmore.js jQuery plugin * Author: @jed_foster * Project home: jedfoster.github.io/Readmore.js * Licensed under the MIT license */ ;(function($) { var readmore = 'readmore', defaults = { speed: 100, maxHeight: 200, heightMargin: 16, moreLink: '<a href="#">Read More<...
/** * Swiper 3.0.2 * Most modern mobile touch slider and framework with hardware accelerated transitions * * http://www.idangero.us/swiper/ * * Copyright 2015, Vladimir Kharlampidi * The iDangero.us * http://www.idangero.us/ * * Licensed under MIT * * Released on: March 1, 2015 */ (function () { 'u...
'use strict'; var _br = require('rocambole-linebreak'); var _tk = require('rocambole-token'); var _ws = require('rocambole-whitespace'); exports.format = function ExportDefaultDeclaration(node) { var def = _tk.findNext(node.startToken, 'default'); _br.limit(def, 0); _ws.limit(def, 1); };
/** * Add a data array to the table, creating DOM node etc. This is the parallel to * _fnGatherData, but for adding rows from a Javascript source, rather than a * DOM source. * @param {object} oSettings dataTables settings object * @param {array} aData data array to be added * @returns {int} >=0 if successf...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; const blueGrey = { 50: '#eceff1', 100: '#cfd8dc', 200: '#b0bec5', 300: '#90a4ae', 400: '#78909c', 500: '#607d8b', 600: '#546e7a', 700: '#455a64', 800: '#37474f', 900: '#263238', A100: '#cfd8dc...
var fs = require('fs'); var BaseBrowser = require('./Base'); var PhantomJSBrowser = function() { BaseBrowser.apply(this, arguments); this._start = function(url) { // create the js file, that will open testacular var captureFile = this._tempDir + '/capture.js'; var captureCode = '(new WebPage()).open...
'use strict'; var fs = require('fs'); var Promise = require('../ext/promise'); var readFile = Promise.denodeify(fs.readFile); var lstat = Promise.denodeify(fs.stat); var chalk = require('chalk'); var EditFileDiff = require('./edit-file-diff'); var EOL = require('os').EOL; var ...
define( [ "../core", "../var/document", "../var/documentElement", "../var/support" ], function( jQuery, document, documentElement, support ) { ( function() { var pixelPositionVal, pixelMarginRightVal, boxSizingReliableVal, reliableHiddenOffsetsVal, reliableMarginRightVal, reliableMarginLeftVal, container = do...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vl = f()}})(fu...
// flow-typed signature: d4e0e595a5110ca047146a144de2be2a // flow-typed version: <<STUB>>/babel-preset-react-hmre_v^1.1.1/flow_v0.38.0 /** * This is an autogenerated libdef stub for: * * 'babel-preset-react-hmre' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to...
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File Name:...
Ctrl1.$inject = ["serviceName"]; // @ngInject // already has .$inject array (before function definition) function Ctrl1(a) { } // @ngInject // already has .$inject array (after function definition) function Ctrl2(a) { } Ctrl2.$inject = ["serviceName"];
if (typeof process !== "undefined") { require("amd-loader"); } define(function(require, exports, module) { var EditSession = require("./../edit_session").EditSession; var Editor = require("./../editor").Editor; var UndoManager = require("./../undomanager").UndoManager; var MockRenderer = require("./../test/mockr...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.preact = global.preact || {}))); }(this, function (exports) { function VNode(nodeName, attributes, childre...
'use strict'; var baseDir = 'client'; //this is the port the application is running on var port = 3000; exports.config = { jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 30000 }, specs: [ baseDir + '/test/e2e/**/*.scenario.js' ], capabilities: { 'browserName': 'chrome' }, ...
var assert = require('assert'); var utils = require('../lib/utils/utils.js'); describe('lib/utils/utils', function () { describe('fromWei', function () { it('should return the correct value', function () { assert.equal(utils.fromWei(1000000000000000000, 'wei'), '1000000000000000...
/*! t3-jquery v2.5.0 */ /*! Copyright 2016 Box, Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
/*! * tipso - A Lightweight Responsive jQuery Tooltip Plugin v1.0.4 * Copyright (c) 2014-2015 Bojan Petkovski * http://tipso.object505.com * Licensed under the MIT license * http://object505.mit-license.org/ */ ;(function($, window, document, undefined) { var pluginName = "tipso", defaults = { speed ...
import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import _typeof from 'babel-runtime/helpers/typeof'; import warning from 'warning'; var warned = {}; func...
/** * 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. */ 'use strict...
/** * Disallows space before object values. * * Type: `Boolean` * * Value: `true` * * #### Example * * ```js * "disallowSpaceBeforeObjectValues": true * ``` * * ##### Valid * ```js * var x = {a:1}; * ``` * ##### Invalid * ```js * var x = {a: 1}; * ``` */ var assert = require('assert'); module.exp...
import {localeModule, test} from '../qunit'; import moment from '../../moment'; localeModule('tzm'); test('parse', function (assert) { var tests = 'ⵉⵏⵏⴰⵢⵔ ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ ⴷⵓⵊⵏⴱⵉⵔ'.split(...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Insert and remove numbered and bulleted lists. */ (function() { var listNodeNames = { ol : 1, ul : 1 }, emptyTextRegex = /^[\n\r\t ]*$/; va...
var Toc = require('markdown-toc'); var Fs = require('fs'); var filename = './README.md'; var readme = Fs.readFileSync(filename, 'utf8'); var tocOptions = { bullets: '-', slugify: function (text) { return text.toLowerCase() .replace(/\s/g, '-') .replace(/[^\w-]/g, ''); } };...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(){CKEDITOR.on("dialogDefinition",function(a){var b;b=a.data.name;a=a.data.definition;"link"==b?(a.removeContents("target"),a.removeContents("upload"),a.removeConten...
/**! * AngularJS file upload directives and services. Supoorts: file upload/drop/paste, resume, cancel/abort, * progress, resize, thumbnail, preview, validation and CORS * @author Danial <danial.farid@gmail.com> * @version 9.1.0 */ if (window.XMLHttpRequest && !(window.FileAPI && FileAPI.shouldLoad)) { window...
/** * @license Angulartics v0.12.13 * (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics * License: MIT */ !function(a){"use strict";a.module("angulartics.woopra",["angulartics"]).config(["$analyticsProvider",function(a){a.registerPageTrack(function(a){woopra.track("pv",{url:a})}),a.registerEventTrack(f...
/*! * Module dependencies. */ var utils = require('./utils'); var EventEmitter = require('events').EventEmitter; var driver = global.MONGOOSE_DRIVER_PATH || './drivers/node-mongodb-native'; var Schema = require('./schema'); var Collection = require(driver + '/collection'); var STATES = require('./connectionstate'); ...
#!/usr/bin/env node // To invoke this from the commandline you need the following to env vars to exist: // // S3_BUCKET_NAME // TRAVIS_BRANCH // TRAVIS_TAG // TRAVIS_COMMIT // S3_SECRET_ACCESS_KEY // S3_ACCESS_KEY_ID // // Once you have those you execute with the following: // // ```sh // ./bin/publish_to_s3.js // ```...
/* Language: Mercury Author: mucaho <mkucko@gmail.com> Description: Mercury is a logic/functional programming language which combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features. */ function(hljs) { var KEYWORDS = { keyword: 'module u...
/** * Module dependencies. */ var tty = require('tty'); /** * Expose `debug()` as the module. */ module.exports = debug; /** * Enabled debuggers. */ var names = [] , skips = []; (process.env.DEBUG || '') .split(/[\s,]+/) .forEach(function(name){ name = name.replace('*', '.*?'); if (name[0] ===...
(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 ...
/** * @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 */ 'use strict'; describe('ngRoute shim', function () { var elt, $compile, $rootScope, $rootRouter, ...
var searchData= [ ['glfwcreatecursor',['glfwCreateCursor',['../group__input.html#gafca356935e10135016aa49ffa464c355',1,'glfw3.h']]], ['glfwcreatestandardcursor',['glfwCreateStandardCursor',['../group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894',1,'glfw3.h']]], ['glfwcreatewindow',['glfwCreateWindow',['../group...
/** * angular-strap * @version v2.1.5 - 2014-12-23 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes (olivier@mg-crea.com) * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.dropdown').run(['$templateCache', function($templateCac...
/*! * angular-translate - v2.11.1 - 2016-07-17 * * Copyright (c) 2016 The angular-translate team, Pascal Precht; Licensed MIT */ (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module unless amdModuleId is set define([], function () { r...
/*! Kefir.js v2.5.0 * https://github.com/rpominov/kefir */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define(factory); else if(typeof exports === 'obj...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'wsc', 'hu', { btnIgnore: 'Kihagyja', btnIgnoreAll: 'Mindet kihagyja', btnReplace: 'Csere', btnReplaceAll: 'Összes cseréje', btnUndo: 'Visszavo...
(function (factory) { if (typeof breeze === "object") { factory(breeze); } else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { // CommonJS or Node: hard-coded dependency on "breeze" factory(require("breeze-client")); } else if (typeof define ===...
var path = require("path"); var webpack = require("../../../../"); module.exports = { plugins: [ new webpack.ContextReplacementPlugin(/context-replacement.a$/, "new-context", true, /^replaced$/) ] };
/* AngularJS v1.3.0-beta.16 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(y,u,z){'use strict';function t(h,k,s){r.directive(h,["$parse","$swipe",function(b,d){var p=75,m=0.3,g=30;return function(f,q,e){function l(a){if(!c)return!1;var b=Math.abs(a.y-c.y);a=(a.x-c.x)*k;return v&&b<p&&0<a&&...
var _ = require('lodash'); var httpProxy = require('http-proxy'); var configFactory = require('./config-factory'); var handlers = require('./handlers'); var contextMatcher = require('./context-matcher'); var PathRewriter = require('./path-rewriter'); var Router = require('./router'); ...
var common = require('../common-tap.js') var test = require('tap').test test('cache add', function (t) { setup(function (er, s) { if (er) { throw er } common.npm( [ 'cache', 'add', 'superfoo', '--registry=http://localhost:1337/' ], {}, functio...
render: function () { this.initContainer(); this.initCanvas(); this.initCropBox(); this.renderCanvas(); if (this.isCropped) { this.renderCropBox(); } }, initContainer: function () { var options = this.options; var $this = this.$element; var $c...
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Request/XMLHttpRequest.js * @requires...
import events from "events"; class Template { events() { return events; } } console.log(new Template().events());
/*! * Qoopido.js library v3.4.9, 2014-7-26 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(t){window.qoopido.register("function/merge",t)}(function(t,e,n,o,r,u,f){"use strict";return function i(){var t,e,n,o,r,u=arguments[0];for(t=1;(e=arguments[t])!==f;t++)fo...
// Copyright 2014 Selenium committers // Copyright 2014 Software Freedom Conservancy // // 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 /...
/* * TableSorter 2.1.1 - Client-side table sorting with ease! * @requires jQuery v1.2.3 * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * @ty...
// vim:set ts=4 sts=4 sw=4 st: // -- kriskowal Kris Kowal Copyright (C) 2009-2010 MIT License // -- tlrobinson Tom Robinson Copyright (C) 2009-2010 MIT License (Narwhal Project) // -- dantman Daniel Friesen Copyright(C) 2010 XXX No License Specified // -- fschaefer Florian Schäfer Copyright (C) 2010 MIT License // -- I...
/** * adds a pause and unpause method to Mousetrap * this allows you to enable or disable keyboard shortcuts * without having to reset Mousetrap and rebind everything */ Mousetrap = (function(Mousetrap) { var self = Mousetrap, _original_stop_callback = self.stopCallback, enabled = true; sel...
angular.module('contacts.edit.directive', [ 'ngRoute', 'ngMessages', 'contacts.service', 'contacts.edit.template' ]).config(function($routeProvider){ var editView = { templateUrl: 'contacts/edit', controller: ContactsEditController }; $routeProvider.when('/new', editView); $routeProvider.when('...
/*! * 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/m/semantic/SemanticButton'], function(SemanticButton) { "use strict"; /** * Constructor for a new OpenInActi...
import path from 'path' import fs from 'fs' import { GRAPH_ERROR } from '../constants' export default function(pkgPath, callback) { const filePath = path.join(pkgPath, '.bingerc') fs.readFile(filePath, 'utf8', (err, data) => { if (err) { return callback(null, applyDefaults()) } ...
module.exports = (card, id) => { if (typeof id !== 'undefined') { return module.exports(card[id]) } if (Array.isArray(card)) { // Put each card through this function and reduce to a sum of right and wrong return card.map(card => module.exports(card)).reduce((a, b) => { return { right: a....
import * as util from 'util' import constants from './constants' import EventEmitter from 'events' import Event from './Event' import Request from './Request' import Response from './Response' import Burtle from './Burtle' var transports = { get HIDTransport(){ return require('../transports/hid') }, get LibUSBTra...
"use strict"; var Servo = lib("drivers/gpio/servo"); describe("Servo", function() { var driver; beforeEach(function() { driver = new Servo({ name: "serv", connection: { servoWrite: spy() }, pin: 13 }); }); describe("constructor", function() { it("sets @pin to the ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var fs_1 = require("fs"); var path_1 = require("path"); var config_1 = require("../config"); function styleImport(type, name, ext) { return "@import './" + type + "/" + name + "/styles/" + (name + ext) + "';\n"; } function scriptImport(nam...
// flow-typed signature: 3776925c1d52327216ef3e0bd161b882 // flow-typed version: <<STUB>>/flow-typed_v^2.1.5/flow_v0.53.1 /** * This is an autogenerated libdef stub for: * * 'flow-typed' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the ...
(function ($, App, Lib, Templates) { Lib.BoardSpawnZoneView = Backbone.View.extend({ 'tagName': 'li', 'className': 'spawn-zone', 'BoardSpawnZoneModel': null, 'TileView': null, 'initialize': function () { this.BoardSpawnZoneModel = this.options.model; // Render this View every time the Model changes ...
"use strict"; const Bluebird = require('bluebird'); const defaultFlagMap = [ { match: String, make: String, guess: s => s!==null }, { match: Number, make: Number, guess: s => s!==null && !isNaN(s) }, { match: Boolean, make: s => s === 'true', guess: s => (s === 'true' || s === 'false') }, { match: Dat...
// $Id: echoareas.js,v 1.1 2018/02/21 04:23:09 rswindell Exp $ // Displays (in areas.bbs format) all the FTN-linked sub-boards with their // configured "GroupHub" (from sbbsecho.ini -> [node:*] -> GroupHub). // Requires that you're using SBBSecho v3.x and configured one or more hubs in // EchoCfg->Linked Nodes. // To...
var _ = require('lodash'); /** * Construct a Oars (app) instance. * * @constructor */ function Oars() { // Public methods ------------------------------------------------ // after app start, this will be restify server instance this.server = null; // IMPORTANT: start the app use this method this.row = ...
class Resource_NPCs extends Resource_Base { } ObjectHelper.extend(Resource_NPCs.prototype, { model: Model_NPC }); module.exports = new Resource_NPCs();
/*jshint node:true */ 'use strict'; exports.load = function(ffmpeg) { ffmpeg .format('webm') .videoBitrate('3500k') .videoCodec('libvpx') .size('1280x720') .autopad() .audioBitrate('128k') .audioFrequency(44100) .audioChannels(2) .audioCodec('libvorbis') .outputOptions(['-qual...
$(document).ready(function() { april.fool(); // Scroll Top Button $(window).scroll(function() { if ($(window).scrollTop() > 150) { $(".to-top").fadeIn("slow"); } else { $(".to-top").fadeOut("slow"); } }); $(document).on("click", ".to-top", function() { $("body, html").animate({ ...
//base Do.add('base', { path: baseDir + 'base/base.js' }); //图表 Do.add('chart', { path: baseDir + 'chart/Chart.min.js' }); //form Do.add('form', { path: baseDir + 'form/Validform.min.js' }); //dialog Do.add('dialog', { path : baseDir + 'dialog/layer.min.js' } ); //tip Do.add('tipsCss', { path: baseD...
const Handlebars = require('handlebars/runtime'); function googleAnalyticsHelper(gaTrackingID) { if (!gaTrackingID) { return ''; } // https://developers.google.com/analytics/devguides/collection/gtagjs/ return new Handlebars.SafeString(` <script async src="https://www.googletagmanager.com/gtag/js?id=...
module.exports = (function() { /* * Generated by PEG.js 0.8.0. * * http://pegjs.majda.cz/ */ function peg$subclass(child, parent) { function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); } function SyntaxError(message, expected, f...
$(function() { $('.btn-active').click(function(e) { e.preventDefault(); var _this = $(this); $.ajax({ url: _this.attr('href'), type: 'GET', dataType: 'json', success: function(data) { if(data.code == 1) { if(data.status == 1) { _this.html('<i class="fa fa-check-square"></i>'); }el...
var GM = function(game, gmConfig){ console.log("Started Waste gamemode!"); this.gmConfig = gmConfig; this.game = game; this.name = "Waste" this.score = 0; this.leakTimer = 5000; } GM.prototype.onAllWorldsLoaded = function(){ } GM.prototype.start = function(){ var w0 = this.game.worlds[0]; var spaw...
var template_this = Template['components_listSolutions']; Meteor.startup(function() { Session.set("listSolutions_data", { idx: null, word_owner: null, word: null, reward: null, job_guid: null }); }); template_this.helpers({ 'data': function() { var sel = Session.get('listSolutions_data'); return sel;...
/** * Created by Mykola Bubelich * 2017-01-19. */ import test from 'tape' import JSHexi from '../src/jshexi' const verter = { in: [ 'one', 'one-two', 'one-two-three-four-five', 'Hello world (。◕‿◕。)', 'Hello world (。◕‿‿◕。)' ], out: [ 'b25l', 'b25lLXR3bw==', 'b25lLXR3by10aHJlZS1...
const babel = require("gulp-babel"); const del = require("del"); const gulp = require("gulp"); const runSequence = require("run-sequence"); const watch = require("gulp-watch"); const SRC_ROOT = "./src"; const LIB_ROOT = "./lib"; gulp.task("default", [ "build" ]); gulp.task("dev", [ "build:watch" ]); gulp.task("clean...
$(function () { //populates the game types dropdowns $.getJSON( "game_types", function(json) { var values = []; json.forEach(function (item) { values.push('<option value="' + item.id + '">' + item.name + '</option>'); }); var html = values.join(""); $("#game_type").html(html); $("#...
/** * automatos - A CSS Animation controller * @version v0.1.0 * @author Dan Reeves <hey@danreev.es> (http://danreev.es/) * @link https://github.com/danreeves/automatos * @license MIT */ (function (window, document, undefined) { 'use strict'; function whichTransitionEvent () { var t, ...
import { Component } from 'react' import { Glyphicon } from 'react-bootstrap' import EditAttribute from './attribute' import StyleEdit from './style' class Normal extends Component { constructor(props) { super(props) } render() { const { onChange, tagData } = this.props const { attributes = {}, styl...
import React, { Component } from 'react' import { propTypes, defaultProps, DEPRECATED_CONFIG_PROPS } from './props' import { getConfig, omit, isObject } from './utils' import players from './players' import Player from './Player' import FilePlayer from './players/FilePlayer' import renderPreloadPlayers from './preload...
'use strict'; angular.module('mentio') .factory('mentioUtil', function ($window, $location, $anchorScroll, $timeout) { // public function popUnderMention (ctx, triggerCharSet, selectionEl, zIndex, requireLeadingSpace) { var coordinates; var mentionInfo = getTriggerInfo(ctx,...
/* globals app */ // Tunes List app.controller('translatorTranslateTunesList',[ '$scope', '$resource','$filter', '$window', 'ngTableParams', function($scope, $resource, $filter, $window, ngTableParams) { "use strict"; var data = $window.tunes; $scope.tableParams = new ngTableParams({ page: 1, ...
describe("onSavePng", function () { beforeEach(() => { cy.visit(""); }); it(`generate a png onSave if pngGenerate option is set to true`, () => { cy.window().then((win) => { cy.spy(win.console, "log"); }); cy.tgToggle("alwaysAllowSave"); cy.tgToggle("generatePng"); cy.get(`[data-test...
angular.module('app').config(function(ScreenProvider) { ScreenProvider.register('screen-log-index', { ScreenTitle: 'List Log', controller: function($scope, Restangular) { $scope.getLogList = function() { var query = { sort: '-date' }; Restangular.all('log').getList(query).then(function(logs) { ...
/*! * js-file-browser * Copyright(c) 2011 Biotechnology Computing Facility, University of Arizona. See included LICENSE.txt file. * * With components from: Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /*! * Ext JS Library 3.3.1 * Copyrigh...
(function() { function MetaData(element) { this.options = null; this.types = []; if (element) { this.setElement(element); } } MetaData.prototype = { element: null, options: null, types: null, constructor: MetaData, forEach: function forEach(callback, context) { var i = 0, length = thi...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // Maude conversion from original Haskell by ELP-DSIC: http://users.dsic.upv.es/grupos/elp/index.html (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJ...
var plist = require('plist'), path = require('path'), fs = require('fs'), Q = require('q'); module.exports = function(grunt) { exports.generatePlist = function(abspath, target_filename, options, appOptions) { // Handle the INfo.plist file var info = plist.parseFileSync(abspath); ...
// https://github.com/tb/perfectly-simple-webpack-starter // https://github.com/rokoroku/react-mobx-typescript-boilerplate/blob/master/webpack.config.js // https://github.com/mhaagens/react-mobx-react-router4-boilerplate const webpack = require('webpack') const { resolve } = require('path') const { getIfUtils, removeE...
/*:nodoc:* * class ActionAppendConstant * * This stores a list, and appends the value specified by * the const keyword argument to the list. * (Note that the const keyword argument defaults to null.) * The 'appendConst' action is typically useful when multiple * arguments need to store constants to the same list...
'use strict'; // Users service used for communicating with the users REST endpoint angular.module('users').factory('UsersInRoom', ['$resource', function($resource) { return $resource('users/all', {}, { update: { method: 'PUT' } }); } ]);
/* Interface with WebExtension storage API for options screen */ var warningTypes = ["SSL", "Malware", "Phishing", "Unwanted software"]; var severities = ["Low", "Medium", "High", "Control"]; var domains = []; function saveToStorage(data, cb) { chrome.storage.local.set(data, function() { var e = chrome.ru...
$(document).ready(function(){ $("#thumbUp").click(voteUp(up_down)) $("#thumbDown").click(voteDown(up_down)) }); function voteUp(up_down){ $.post("/api/vote/", { up_down="up" console.log(data["up_down"]); } } function voteDown(up_down){ $.post("/api/vote/", { up_down="down" console.lo...
var namespace_entitas = [ [ "AbstractEntityIndex", "class_entitas_1_1_abstract_entity_index.html", "class_entitas_1_1_abstract_entity_index" ], [ "CollectionExtension", "class_entitas_1_1_collection_extension.html", "class_entitas_1_1_collection_extension" ], [ "Collector", "class_entitas_1_1_collector.html...
require("./31.js"); require("./63.js"); require("./126.js"); require("./252.js"); module.exports = 253;
var keystone = require('keystone'), async = require('async'); exports = module.exports = function(req, res) { var view = new keystone.View(req, res), locals = res.locals; // Init locals locals.section = 'blog'; locals.filters = { category: req.params.category }; locals.data = { posts: [], categories...
//////////////////////////////////////////////////////////////////////////////// // Library Root Path - Business Logic // // Ingests metadata from media files. //////////////////////////////////////////////////////////////////////////////// /*global require, exports, process, console */ var library = require('../db/lib...
(function(b){b.jgrid={defaults:{recordtext:"Pokaż {0} - {1} z {2}",emptyrecords:"Brak rekordów do pokazania",loadtext:"ładowanie...",pgtext:"Strona {0} z {1}"},search:{caption:"Wyszukiwanie...",Find:"Szukaj",Reset:"Czyść",odata:["dokładnie","różne od","mniejsze od","mniejsze lub równe","większe od","większe lub równe",...