code
stringlengths
2
1.05M
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
(function (angular) { 'use strict'; angular .module('$q-spread', []) .config(['$provide', function ($provide) { $provide.decorator('$q', ['$delegate', function ($delegate) { var originalDefer = $delegate.defer; $delegate.defer = function () { ...
/*! * Higgs Library for jQuery v1.0.0 * * Copyright 2014 Soul_Master * Released under the MIT license * * Date: @currentTime */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof ...
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var HardwareKeyboardArrowRight = React.createClass({ displayName: 'HardwareKeyboardArrowRight', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: ...
module.exports = { 'main': { 'src': [ ], 'dest': 'temp/app.full.js' } };
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ */ import { Mesh } from '../objects/Mesh.js'; import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js'; import { SphereBufferGeometry } from '../geometries/SphereGeometry.js'; function PointLightHelper( light, sph...
ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var DocCommentHighlightRule...
{ e || ((e = !0), t.apply(this, arguments)); }
YUI.add("axis-time",function(e,t){e.TimeAxis=e.Base.create("timeAxis",e.Axis,[e.TimeImpl],{_getLabelByIndex:function(e,t){var n=this.get("minimum"),r=this.get("maximum"),i,s;return t-=1,i=(r-n)/t*e,s=n+i,s},_getLabelData:function(e,t,n,r,i,s,o,u,a){var f,l,c=[],h=[],p,d=s;a=a||this._getDataValuesByCount(u,r,i);for(l=0;...
// Define functions to render linked interactive plots using d3. // Another script should define e.g. // <script> // var plot = new animint("#plot","path/to/plot.json"); // </script> // Constructor for animint Object. var animint = function (to_select, json_file) { function wait_until_then(timeout, condFun, readyF...
import {addClass, outerHeight, outerWidth} from './../helpers/dom/element'; import {arrayEach} from './../helpers/array'; import {objectEach} from './../helpers/object'; import {rangeEach} from './../helpers/number'; import {stringify} from './../helpers/mixed'; /** * @private */ class SamplesGenerator { /** * ...
// Hebrew jQuery.extend(jQuery.fn.pickadate.defaults, { monthsFull: [ 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' ], monthsShort: [ 'ינו', 'פבר', 'מרץ', 'אפר', 'מאי', 'יונ', 'יול', 'אוג', 'ספט', 'אוק', 'נוב', 'דצמ' ], weekdaysFull: [ 'יום ראשון...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'specialchar', 'de-ch', { euro: 'Euro Zeichen', lsquo: 'Hochkomma links', rsquo: 'Hochkomma rechts', ldquo: 'Anführungs...
/* */ var $ = require("./$"), $def = require("./$.def"), setProto = require("./$.set-proto"), $iter = require("./$.iter"), ITER = require("./$.uid").safe('iter'), step = $iter.step, assert = require("./$.assert"), isObject = $.isObject, getDesc = $.getDesc, setDesc = $.setDesc, ...
define(['square/directives/directives'], function (directives) { 'use strict'; directives.directive('sqrActiveLink', function ($location) { return { restrict: 'A', link: function (scope, element, attrs) { var clazz = attrs.spaActiveLink || 'active'; var path = attrs.href.substring(1); ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Step Event. * * This event is dispatched by an Arcade Physics World instance whenever a physics step is run. ...
function renderJSON(model) { $('#json').html(JSON.prettyFormat('model', model.attributes)); } function encodeEntities(s){ return $("<div/>").text(s).html().replace(/^(\r\n|\n|\r)*/igm,""); } $('#html-code').html(encodeEntities($('#html-snippet').html())); $('#js-code').html(encodeEntities($('#js-snippet'...
addAction('controller_admin_dashboard', '_prehook', function() { console.log('Prehook! for antire section'); });
import _ from 'lodash'; import fs from 'fs'; import gutil from 'gulp-util'; import path from 'path'; import hash from 'sha1'; import table from 'text-table'; const unquote = (str, quoteChar) => { quoteChar = quoteChar || '"'; if (str[0] === quoteChar && str[str.length - 1] === quoteChar) { return str.s...
$.ajax({ url : 'customers.json', dataType : 'json', type : 'GET', success : build_chart, error: process_errors, }); function process_errors(jqXHR, status, error_msg){ $('.alert-danger').show(); $('.alert-danger').html('<p>ERROR occurred: ' + error_msg + '</p>'); $('.alert-danger').append('<p>' + jqXHR.respons...
import { expect } from "chai"; import Utils from "../src/Utils"; describe("Utils", () => { describe("clone", () => { it("should clone a date", () => { const date = new Date(); const newDate = Utils.clone(date); expect(newDate).to.not.equal(date); }); }); describe("addMonths", () => {...
; // Defensive semicolon "use strict"; function MVC () { var Photo = { defaults: { src: "./images/pdxcg_01.jpg" // Why does a ; break here? }, setPhotos () { var num; var x; var photos = []; for (x = 1; x < 61; x++) { // 60 image avail...
(function() { var EmailSchema, mongoose; mongoose = require('mongoose'); module.exports = EmailSchema = new mongoose.Schema({ email: { type: String, unique: true, sparse: true }, isVerified: { type: Boolean }, sendNotifications: { type: Boolean } }); }).c...
define(['./isObject', './isSymbol'], function(isObject, isSymbol) { /** Used as references for various `Number` constants. */ var NAN = 0 / 0; /** Used to match leading and trailing whitespace. */ var reTrim = /^\s+|\s+$/g; /** Used to detect bad signed hexadecimal string values. */ var reIsBadHex = /^[-...
module.exports = exports = (err, res, status, message) => { console.log(err); var statusMessage = message || ''; if(!statusMessage) { if(status === 401) { statusMessage = 'Could not authenticate.'; } if(status === 500) { statusMessage = 'Server error.'; } } // Default response: status 500; 'Error. ...
/** * author: Di (微信小程序开发工程师) * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) * 垂直微信小程序开发交流社区 * * github地址: https://github.com/icindy/wxParse * * for: 微信小程序富文本解析 * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 */ // Regular Expressions for parsing tags an...
"use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _tape = require("tape"); var _tape2 = _interopRequireDefault(_tape); var _function = require("./function"); (0, _tape2["default"])("id returns a single argument identical to its input", function (ass...
var FieldType = require('../Type'); var TextType = require('../text/TextType'); var util = require('util'); var utils = require('keystone-utils'); /** * Key FieldType Constructor * @extends Field * @api public */ function key(list, path, options) { this._nativeType = String; this._defaultSize = 'medium'; this.s...
angular.module('jervfolio.resume') .controller( 'jervfolioResumeLoginController', [ '$scope', 'AuthService', '$state', function ($scope, AuthService, $state) { $scope.user = { email: '', password: '' }; ...
/* */ var arrayCopy = require('../internal/arrayCopy'), getLength = require('../internal/getLength'), isLength = require('../internal/isLength'), isString = require('./isString'), support = require('../support'), values = require('../object/values'); function toArray(value) { var length = value ?...
;(function(undefined) { 'use strict'; if (typeof sigma === 'undefined') throw new Error('sigma is not declared'); var _fixedNodesIndex = Object.create(null); /** * Sigma Graph Helpers * ============================= * * @author Sébastien Heymann <seb@linkurio.us> (Linkurious) ...
/* YUI 3.7.2 (build 5639) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('dom-screen', function (Y, NAME) { (function(Y) { /** * Adds position and region management functionality to DOM. * @module dom * @submodule dom-screen * @for DOM */...
/** * Copyright 2015 Telerik AD * * 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 ...
var main = require('./main.js'); var _ = require('underscore'); var files = require('./files.js'); var deploy = require('./deploy.js'); var buildmessage = require('./buildmessage.js'); var warehouse = require('./warehouse.js'); var auth = require('./auth.js'); var config = require('./config.js'); var release = require(...
const DrawCard = require('../../drawcard.js'); const { CardTypes } = require('../../Constants'); class PressOfBattle extends DrawCard { setupCardAbilities(ability) { this.action({ title: 'Bow a non-unique character', condition: context => this.game.isDuringConflict('military') && ...
version https://git-lfs.github.com/spec/v1 oid sha256:9860306ef0c5ae98bffa2cb17fa2b46176f74cbaad69332781f7185d6f48e3a0 size 13878
'use strict'; /** * make-dir module * @module make-dir * @see module:index */ const shelljs = require('shelljs'); const Handler = require('./base'); const wrapPathInfo = require('../common/wrap-path-info'); const name = 'make-dir'; module.exports = new Handler({ method: 'post', name, url: '*', toRoute(op...
(function() { module.exports = { error: require('./error'), message: require('./message'), RpcClient: require('./RpcClient') }; }).call(this); //# sourceMappingURL=index.js.map
document.onkeydown=keyListener; // 用 keyListener 方法注册按键事件 function keyListener(e) { // 当按下回车键,执行我们的代码 if(e.keyCode == 13) triangle(); } function print(n) { var str = '<pre>'; document.getElementById("output").innerHTML = ""; for (var i=1; i<=n; i++) { for(var j=1; j<=(n-i); j++) str += '...
/* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy ...
/** * Class Ape.force.Spring which follows Hooke's law * * It's a simplified model of the metallic spring: * let `k` be a constant depending on the material (its stiffness * which is the rigidity of the material) * let `lRest` be the distance at which the spring is resting * let `l` be the new distance of the sp...
/// <binding BeforeBuild='sass-compile, min' Clean='clean' ProjectOpened='watch-sass' /> 'use strict'; var gulp = require('gulp'), rimraf = require('rimraf'), concat = require('gulp-concat'), cssmin = require('gulp-cssmin'), uglify = require('gulp-uglify'), sassCompile = require('gulp-sass'); var...
/** * @module color-manipulate/invert * * @param {Color} color A color instance * * @return {Color} The changed color */ module.exports = function (color) { color.red(255 - color.red()); color.green(255 - color.green()); color.blue(255 - color.blue()); return color; };
(function(App) { 'use strict'; App.Helper = App.Helper || {}; App.Helper.Tooltip = Backbone.View.extend({ initialize: function() { // The model must be initialized here in a parent view, if we don't do that all the child views will share the same model. // Yes I know, a little bit crazy ...
(function() { window.S3Upload = (function() { S3Upload.prototype.s3_object_name = 'default_name'; S3Upload.prototype.s3_sign_put_url = '/signS3put'; S3Upload.prototype.file_dom_selector = 'file_upload'; S3Upload.prototype.onFinishS3Put = function(public_url) { return console.log('base.onFin...
var Keyword = require("../tree/keyword"), DetachedRuleset = require("../tree/detached-ruleset"), Dimension = require("../tree/dimension"), Color = require("../tree/color"), Quoted = require("../tree/quoted"), Anonymous = require("../tree/anonymous"), URL = require("../tree/url"), Oper...
import React from "react"; class Footer extends React.Component { render() { return ( <footer className="main-footer"> <div className="pull-right hidden-xs">Anything you want</div> <strong>Copyright &copy; 2015 <a href="#">Company</a>.</strong> A...
app.controller("treeController", [ '$scope', '$sce', 'UmbracoAngular', function($scope, $sce, UmbracoAngular) { $scope.view = {}; $scope.GetTree = function() { UmbracoAngular.GetNodeData(-1).then(function(response) { var data = response.data; if (data.S...
'use strict' let co = require('co') let lab = exports.lab = require('lab').script() let expect = require('code').expect let db = require('../db') let Article = db.bookshelf.model('Article') lab.experiment('hasMany relation', () => { lab.beforeEach(co.wrap(function * () { yield db.reset() yield db.knex.seed...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
//============================================================================== // Registers a node on the local network using mDNS //============================================================================== var mdns = require('./mdns/lib/mdns'), constants = require('../jamserver/constants'), logger = re...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
module.exports = [ { pattern: 'homepageGlobalCSS',// pattern for homepageGlobalCSS responder: { dir: 'fill the dir', src: [ '/ui/homepage/css/hmpDropMenu.css', '/ui/homepage/css/hmpTileLayout.css', '/ui/homepage/css/hmpTodoList.css', '/ui/homepage/css/hmpPanel.css',...
'use strict'; module.exports = { app: { title: 'OnTapp', description: 'Hack Reactor Thesis Project', keywords: 'mongodb, express, angularjs, node.js, mongoose, passport' }, port: process.env.PORT || 3000, templateEngine: 'swig', // The secret should be set to a non-guessable string that // is u...
import BaseModel from '../BaseModel'; import is from 'is_js'; import { getCurrencyByCode } from '../../data/currencies'; export default class extends BaseModel { defaults() { return { contractType: 'PHYSICAL_GOOD', format: 'FIXED_PRICE', // this is not in the design at this time // by default, ...
'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]; } }...
var paginator = require('./paginator'); module.exports = function(locals, render, callback){ var posts = locals.posts.sort('date', -1); paginator('', posts, 'index', render); callback(); };
var BaseConnection=require("../Connection/baseConnection.js"); var BaseSqlBuilder=require("../CodeBuilder/baseCodeBuilder.js"); var core=function(setting){ this.Setting=setting; this.BuildConnection=function(){ return new BaseConnection(setting); }; this.GetCodeBuilder=function(){ ...
"use strict"; module.exports = { "rules": { // enforce or disallow variable initializations at definition "init-declarations": 0, // disallow the catch clause parameter name being the same as a variable in the outer scope "no-catch-shadow": 0, // disallow deletion of variables "no-delete-var"...
// import elrUtlities from 'elr-utility-lib'; import elrTimeUtlities from 'elr-time-utilities'; import elrCalendarCreate from './elr-calendar-create'; const $ = require('jquery'); // let elr = elrUtlities(); let elrTime = elrTimeUtlities(); let elrCreate = elrCalendarCreate(); const elrCalendarActions = function({ ...
// Require webpack config rather than duplicating it var webpackConfig = require('./webpack.config'); webpackConfig.devtool = 'inline-source-map'; delete webpackConfig.entry; delete webpackConfig.output; module.exports = function karmaConfig(config) { config.set({ // ... normal karma configuration browsers: ...
function deleteProjectConfirmation(user,project,key){ console.log("$ user = '"+user+"'"); console.log("$ project = '"+project+"'"); console.log("$ key = '"+key+"'"); panel_iframe = document.getElementById('panel_manageDataset_iframe'); dom_object = panel_iframe.contentDocument...
YUI.add('router', function (Y, NAME) { /** Provides URL-based routing using HTML5 `pushState()` or the location hash. @module app @submodule router @since 3.4.0 **/ var HistoryHash = Y.HistoryHash, QS = Y.QueryString, YArray = Y.Array, YLang = Y.Lang, YObject = Y.Object, ...
// Modified by Bo Zhao, zhao2@oregonstate.edu // Originally obtained from http://atlefren.github.io/storymap/ // Updated on 5/14/2017 | version 2.22 | MIT License (function ($) { $.fn.storymap = function(options) { var defaults = { selector: '[data-scene]', breakpointPos: '33.333%...
/* YUI 3.7.2 (build 5639) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('dataschema-json', function (Y, NAME) { /** Provides a DataSchema implementation which can be used to work with JSON data. @module dataschema @submodule dataschema-json *...
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var getInstructFeedback = function() { return '<div class = centerbox><p class = center-block-text>' + feedback_instruct_text + '</p></div>' } function assessPerformance() { var experiment_data = jsP...
//= require vendor/fontfaceobserver //= require vendor/fastclick (function() { 'use strict'; // Enable fastclick. FastClick.attach(document.body); var fontPromises = []; var pt = new FontFaceObserver('pt'); var italic = new FontFaceObserver('pt', {style: 'italic'}); fontPromises.push(pt.check(null, 50...
// @flow import http from 'http'; import https from 'https'; import nodeFetch, { type Headers, type Response } from 'node-fetch'; import type { Readable } from 'stream'; (nodeFetch('foo'): Promise<Response>); (nodeFetch('foo', {}): Promise<Response>); // $FlowExpectedError url has to be string (nodeFetch(123): Promi...
// Generated by CoffeeScript 1.7.0 (function() { var mm; mm = require('minimatch'); module.exports = function(opts) { return function(req, res, next) { var k, v; for (k in opts) { v = opts[k]; if (!(mm(req.url, k))) { continue; } if (!v) { cont...
/* ======================================================================== * Bootstrap (plugin): validator.js v0.4.0 * ======================================================================== * The MIT License (MIT) * * Copyright (c) 2013 Spiceworks, Inc. * Made by Cina Saffary (@1000hz) in the style of Bootstra...
(function($){ $(document).ready(function() { /* ---------------------------------------------- /* * Contact form ajax /* ---------------------------------------------- */ $('#contact-form').find('input,textarea').jqBootstrapValidation({ preventSubmit: true, submitError: function($form, event, errors)...
'use strict' const {ipcRenderer, webFrame} = require('electron') let requestId = 0 const WEB_VIEW_EVENTS = { 'load-commit': ['url', 'isMainFrame'], 'did-attach': [], 'did-finish-load': [], 'did-fail-load': ['errorCode', 'errorDescription', 'validatedURL', 'isMainFrame'], 'did-frame-finish-load':...
const fs = require('fs') const path = require('path') const JSON5 = require('json5') import { Obj, merge } from 'grind-support' export class Config { _repository = null constructor(app = null) { this._repository = {} if (!app.isNil) { this.populate(app) } } get(keyPath, fallback = null) { return Obj...
/** * * Send a sequence of key strokes to an element (clears value before). You can also use * unicode characters like Left arrow or Back space. You’ll find all supported characters * [here](https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/element/:id/value). * To do that, the value has...
const fixtures = require('../../fixtures') const selectors = require('../../../../selectors') const userActions = require('../../support/user-actions') const { companies, contacts } = require('../../../../../src/lib/urls') const { assertKeyValueTable } = require('../../support/assertions') describe('Advisors', () =>...
'use strict'; angular.module('stockApp') .value('StockChartConfig', function () { return { options: { chart: { type: 'line', zoomType: 'x' }, navigator: { enabled: true }, scrollbar: { enabled: false }, rangeSel...
smalltalk.addPackage('IDE'); smalltalk.addClass('ClassesList', smalltalk.Widget, ['browser', 'ul', 'nodes'], 'IDE'); smalltalk.addMethod( smalltalk.method({ selector: "browser", fn: function (){ var self=this; return smalltalk.withContext(function($ctx1) { var $1; $1=self["@browser"]; return $1; }, function($ctx1) {$c...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Scene Systems Pre Update Event. * * This event is dispatched by a Scene during the main game loop step. * * The event flow for ...
(function() { var global = global || this || window || Function('return this')(); var nx = global.nx || require('next-js-core2'); var idSelectorRE = /^#([\w-]+)$/; var classSelectorRE = /^\.([\w-]+)$/; var tagSelectorRE = /^[\w-]+$/; var NxSelectorId = nx.SelectorId || require('next-selector-id'); var NxS...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V5c0-3.5-3.58-4-8-4s-8 .5-8 4v10.5zm8 1.5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-....
/** * Created by bmf on 10/31/13. */ "use strict"; var assert = require('assert'); var sodium = require('../build/Release/sodium'); var crypto = require('crypto'); var toBuffer = require('../lib/toBuffer'); var assert = require('assert'); var testVectors = [ { "in" : "00", "key": "00010203040506...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
const url = require("url"); const { Message, User, GuildMember, Role, Guild, Channel } = require("discord.js"); const regex = { userOrMember: new RegExp("^(?:<@!?)?(\\d{17,21})>?$"), channel: new RegExp("^(?:<#)?(\\d{17,21})>?$"), role: new RegExp("^(?:<@&)?(\\d{17,21})>?$"), snowflake: new RegExp("^(\\d{17,21...
//>>built define(["../../_base/array","../../_base/lang","../../when"],function(f,c,g){var e=function(a){function b(d){a[d]=function(){var b=arguments,c=g(a,function(a){Array.prototype.unshift.call(b,a);return e(f[d].apply(f,b))});if("forEach"!==d||h)return c}}if(!a)return a;var h=!!a.then;h&&(a=c.delegate(a));b("forEa...
/** * Module dependencies. */ var express = require('express'); var http = require('http'); var path = require('path'); var handlebars = require('express3-handlebars') //var add = require('./routes/add'); var index = require('./routes/index'); var questions = require('./routes/questions'); var slider...
var _contains = require('./_contains'); var _map = require('./_map'); var _quote = require('./_quote'); var _toISOString = require('./_toISOString'); var keys = require('../keys'); var reject = require('../reject'); module.exports = function _toString(x, seen) { var recur = function recur(y) { var xs = seen.con...
'use strict'; var chai = require('chai') , expect = chai.expect , sinon = require('sinon') , sinonChai = require('sinon-chai') , html = require('./fixtures/html.json') , Minimize = require('../lib/minimize') , minimize = new Minimize(); chai.use(sinonChai); chai.config.includeStack = true; describe('Mini...
/** * `grunt-contrib-copy` 插件的相关配置 * 将前端静态资源拷贝到目标目录,目标目录通过 `grunt.config('dest')` 获取,... * ...在配置中则采取模板的方式获取 `<%= dest %>` * @author heroic */ module.exports = exports = { js: { files: [{ expand: true, cwd: 'client/js/', src: ['*.js'], dest: '<%= dest %>/js/' }, { expand: t...
var CREDENTIALS = { /* * Access Token for the Mapbox API. * Sign up for a free starter account to get one and find it at * https://www.mapbox.com/account/apps/ */ mapboxToken: 'YOUR-MAPBOX-ACCESS-TOKEN', /* * Id of the map style - you should not need to change this */ mapbo...
Game.Vector = Game.Point = Class.create({ initialize: function(x, y) { this.x = x; this.y = y; }, equals: function(other) { return ((this.x == other.x) && (this.y == other.y)); }, blank: function() { return (is.invalid(this.x) || is.invalid(this.y)); } });
'use strict'; module.exports = function(driver, connectorSpec) { connectorSpec.shouldContainPlayerElement(driver, { url: 'http://music.163.com/#/playlist?id=374012053' }); };
/* * Kendo UI Complete v2012.3.1114 (http://kendoui.com) * Copyright 2012 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall b...
import React from 'react' import Radium from 'radium' const Door = props => ( <div>Door Lock</div> ) export default Radium(Door)
/* */ require("../modules/es6.reflect.apply"); require("../modules/es6.reflect.construct"); require("../modules/es6.reflect.define-property"); require("../modules/es6.reflect.delete-property"); require("../modules/es6.reflect.enumerate"); require("../modules/es6.reflect.get"); require("../modules/es6.reflect.get-own-p...
//>>built define("dijit/form/nls/Textarea",{root:{iframeEditTitle:"edit area",iframeFocusTitle:"edit area frame"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,vi:!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,lv:!0,lt:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,et:!...
var searchData= [ ['begin',['begin',['../classlm_1_1_sprite_batch.html#a41811affabad2711843042b74fe8ba51',1,'lm::SpriteBatch']]], ['bind',['bind',['../classlm_1_1_component.html#a7e5a823e1d962b84a807958671e32e81',1,'lm::Component::bind(int slot, T function) const '],['../classlm_1_1_component.html#a973b2dca0da9f4a7...
'use strict'; var _interopRequire = function (obj) { return obj && obj.__esModule ? obj['default'] : obj; }; // var _existsSync$writeFileSync$statSync$readdirSync = require('fs'); var _path = require('path'); var path = _interopRequire(_path); var _Module = require('module'); var Module = _interopRequire(_Module...
var passport = require('passport'); var util = require('util'); var saml = require('./saml'); function Strategy (options, verify) { if (typeof options == 'function') { verify = options; options = {}; } if (!verify) { throw new Error('SAML authentication strategy requires a verify function'); } ...
/*global URLify*/ (function($) { 'use strict'; $.fn.prepopulate = function(dependencies, maxLength, allowUnicode) { /* Depends on urlify.js Populates a selected field with the values of the dependent fields, URLifies and shortens the string. dependencies -...