code
stringlengths
2
1.05M
(function () { var NS = 'com.benqus.test'; module('Protain Node'); test('registering test namespace: ' + NS, function () { protain.namespace(NS, function () { var args = Array.prototype.slice.call(arguments); args.unshift(this); //functionality/property ...
/** * Imports the config module * @module config */ import config from "../config.js"; /** * Handles the state of the config object. * * @module utilities/ConfigState */ let ConfigState = (function() { /** * Resets the config to the default state. This is called on initialize * to ensure the user's conf...
/*! * reveal.js * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2015 Hakim El Hattab, http://hakim.se */ (function( root, factory ) { if( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define( function() { root.Reveal = factory(); return root.Re...
!function(e){e.fn.timesequence=function(n){e.extend({length:60},n)}}(jQuery);
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import createReactClass from 'create-react-class'; export default createReactClass({ displayName: 'Spinner', propTypes: { display: PropTypes.func.isRequired, children: PropTypes.node }, getDefaultProps: function() ...
/* Copyright (c) 2013 Henry G. Stratmann III 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, publish, dist...
// @flow import React from 'react' import { render } from 'react-dom' import { BrowserRouter } from 'react-router-dom' import WebFont from 'webfontloader' import App from './App' import registerServiceWorker from './registerServiceWorker' WebFont.load({ google: { families: ['Open Sans', 'Exo:300', 'Cookie'] ...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
/* eslint-env jest */ import React from 'react' import StatusBar from '../../src/components/status-bar' // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer' it('renders correctly', () => { const tree = renderer.create( <StatusBar /> ).toJSON() expect(tree)....
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _dateUtils = require("@wojtekmaj/date-utils"); var _Divider = _interopRequireDefaul...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ Ext.define('sisprod.view.AnnullableWorkRequest.WorkRequestTaskDescription', { extend: 'sisprod.view.base.BaseDataWindow', alias: 'widget.workRequestTaskDescription', require: [ ...
module.exports = Cmds.addCommand({ cmds: [';raidmode', ';start raidmode', ';enable raidmode'], requires: { guild: true, loud: false, }, desc: 'Activate raid mode', args: '', example: '', // /////////////////////////////////////////////////////////////////////////////////...
/** * Created by Daniel Mishcherin */ var mongoose = require('mongoose'); // data model var CrowdVoice = mongoose.model('CrowdVoice', { specURI: String, text: String }); var resources = { noConnection: 'MongoDB connection is inactive.', dbError: 'Could not get information from DB.' }; var config =...
import{C as ComponentBehavior}from"./component-8af4ce99.js";import"./index-7da957b6.js";class DatePickerBehaviour extends ComponentBehavior{static get params(){return{input:!0,localized:!0,component:"datepicker",provideValue:!1,props:["value","begin","end","mode","lang","host"]}}}export default DatePickerBehaviour;
/*! UIkit 3.5.2 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) : typeof define === 'function' && define.amd ? define('uikitlightbox_panel', ['uiki...
'use strict'; module.exports = { extends: 'octane', rules: { 'no-positive-tabindex': false } };
/** @license React v0.0.0-experimental-27659559e * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var b=60103,c=60106,d=60107,e=60108,f=60...
/** * @license Highcharts JS v8.2.0 (2020-08-20) * * (c) 2009-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = factory; } else if (typeof def...
/*! UIkit 3.8.0 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) : typeof define === 'function' && define.amd ? define('uikittooltip', ['uikit-util'...
/* * SystemJS 6.10.1 */ (function () { function errMsg(errCode, msg) { return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://git.io/JvFET#" + errCode + ")"; } var hasSymbol = typeof Symbol !== 'undefined'; var hasSelf = typeof self !== 'undefined'; var hasDocument = typeof document !== 'un...
/*! * froala_editor v3.2.3 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) : typeof define === 'function...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('./turn-order-0846b669.js'); require('immer'); require('./reducer-172d838d.js'); var ai = require('./ai-df0d3376.js'); exports.Bot = ai.Bot; exports.MCTSBot = ai.MCTSBot; exports.RandomBot = ai.RandomBot; exports.Simulate = ai.Sim...
/*! * DevExtreme (dx.messages.tr.js) * Version: 20.2.6 (build 21098-1745) * Build date: Thu Apr 08 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
'use strict'; var test = require('tape'); var fs = require('fs'); var path = require('path'); var geojsonvt = require('../src/index'); var square = [{ geometry: [[[-64, 4160], [-64, -64], [4160, -64], [4160, 4160], [-64, 4160]]], type: 3, tags: {name: 'Pennsylvania', density: 284.3} }]; test('getTile: us...
var path = require('path'), problem = require('../problem'); function testIt(tape, result, value, done) { tape.deepEqual( result, {value: value, done: done}, 'iterator.next().value == {value: ' + value + ', done: ' + done + '}' ); } module.exports = { title: 'Passing Args To Yield', problem: p...
import propertyTest from '../../helpers/propertyTest' propertyTest('RDATE', { transformableValue: new Date('1991-03-07 09:00:00'), transformedValue: '19910307T090000' })
/** * Created by imod on 5/8/15. */ 'use strict'; // TODO: This won't work too well if we have multiple server instances. // TODO: Add a configuration option to indicate if this is the main server instance, or... // TODO: Create a second server only app / node server that just the timers. var RUNNING_BUILD_QUERY_...
(function () { 'use strict'; angular .module('professions') .run(menuConfig); menuConfig.$inject = ['Menus']; function menuConfig(Menus) { // Add the dropdown list item Menus.addSubMenuItem('topbar', 'admin', { title: 'Manage Classes', state: 'professions.list' }); } })();
var stopList = [ "A.M.S.HOSPITAL", "A.V.CONSTRUCTION", "AAYURVEDA ASHRAMAM", "ADAMBAKKAM P.S", "ADI DRAVIDAR HOSTEL", "ADYAR GATE", "AGARAM", "AGARAM THEN", "AIRFORCE STATION", "ALAGESA NAGAR", "ALAMADHI", "ALAMADHI OLD", "ALAPAKKAM", "ALWAR THIRUNAGAR", "AMBATHUR ESTATE", "AMBEDKAR NAGAR", "AMMAN KULA...
'use strict'; function Paginator (page, perPage) { this.currentPage = page || 1; this.perPage = perPage || 4; this.lastPage = 0; this.data = []; return this; } Paginator.prototype.setCount = function (count) { this.count = Number(count); return this; }; Paginator.prototype.getLastPage =...
{ "translatorID": "b1c90b99-2e1a-4374-a03b-92e45f1afc55", "label": "Radio Free Europe / Radio Liberty", "creator": "Avram Lyon", "target": "^https?://(www\\.rferl\\.org/|www\\.azatliq\\.org/|www\\.azattyq\\.org/|rus\\.azattyq\\.org/|da\\.azadiradio\\.org/|pa\\.azadiradio\\.org/|www\\.azattyk\\.org/|www\\.ozodi\\.or...
var searchData= [ ['up_5f',['up_',['../class_rational_type.html#ab200b64618693ea1a166755f8d8bec63',1,'RationalType']]] ];
/* ----------- JOBS ------------ */ export const REQUEST_ALL_JOBS = 'REQUEST_ALL_JOBS' export const REQUEST_FILTERED_JOBS = 'REQUEST_FILTERED_JOBS' export const RECEIVE_FILTERED_JOBS = 'RECEIVE_FILTERED_JOBS' export const RECEIVE_ALL_JOBS = 'RECEIVE_ALL_JOBS' export const PAGINATE_JOBS = 'PAGINATE_JOBS' export const RE...
module.exports = { printWidth: 120, trailingComma: 'all', singleQuote: true, };
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ScrollView } from 'react-native'; import AppStyle from '../../../theme/styles'; import TodoListHelper from '../../../utils/TodoListHelper'; import TodoListItem from '../../../components/discover/todo-list/view/TodoListItem'; import D...
(function(window){ var WORKER_PATH = 'recorderWorker.js'; var Recorder = function(source, cfg){ var config = cfg || {}; var bufferLen = config.bufferLen || 4096; this.context = source.context; this.node = this.context.createScriptProcessor(bufferLen, 2, 2); var worker = new Worker(config.worke...
module.exports = ( function () { "use strict"; var numGainNodes = 4; var audioContext = new AudioContext(); var gainNodes = []; for (var i = 0; i < numGainNodes; i++) { var gainNode = audioContext.createGain(); gainNode.connect(audioContext.destination); gainNode.gain.value...
angular.module('map.service', []) .factory('MapServices', function($q) { var makeMap = function(mapCanvas) { var deferred = $q.defer(); var map = new google.maps.Map(mapCanvas, { zoom: 15, center: {lat: 34.0210487, lng: -118.4922354}, scrollwheel: false }); deferred.resolve(map); ...
YUI.add('log-extension', function (Y) { Y.LogExtension = function () { this.log = function (msg, type) { if (window.appConfig.isDebug) { if (typeof msg === 'object') { Y.log(msg); } else { type = type || 'info'; ...
/* * MouseShake.js * Version 1.0 * Author: David Godzsak * godzsakdavid@gmail.com * * Copyright (c) 2015 * Licensed under the MIT license. * */ (function(){ //Setup //object timestamp with coordinates Stamp=function(x,y,time){ this.x=x; this.y=y; this.time=time; }; //constants and global ...
var searchData= [ ['jump_5fto_5findex',['jump_to_index',['../namespace_exact_abstract.html#a66f81afa75f4987d4f04a081b294312b',1,'ExactAbstract']]] ];
(function(){ var get = Ember.get, set = Ember.set; var oValidator; module("Validator mixins", { setup: function() { oValidator = Ember.Validation.map(function(){ this.property('name').required().length(5,6); this.property('age').required(); }) }, teardown: function() ...
loadOnce("../BaseSettingElement"); loadOnce("../$SettingElementTypesHandler"); loadOnce("/GUIelements/inputs/ShortcutInputElement"); loadOnce("/$Utils"); window.ShortcutSettingElementClass = class ShortcutSettingElementClass extends BaseSettingElementClass{ __initHtml(){ super.__initHtml(); var t = ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var alias_1 = require("./alias"); exports.AliasConverter = alias_1.AliasConverter; var array_1 = require("./array"); exports.ArrayConverter = array_1.ArrayConverter; var binding_array_1 = require("./binding-array"); exports.BindingArrayConvert...
function Point(x, y) { // :: Int -> Int -> Int -> Point if (x instanceof Array) { this.init(x[0], x[1]) } else { this.init(x, y) } this.init = function (x, y) { this.x = Math.round(x) || 0 this.y = Math.round(y) || 0 } } Point.prototype.rotate2d = function (n, xbit...
import { accessor as get } from './accessors' import dates from './dates' export function startsBefore(date, min) { return dates.lt(dates.merge(min, date), min, 'minutes') } export function positionFromDate(date, min, total) { if (startsBefore(date, min)) return 0 let diff = dates.diff(min, dates.merge(min...
import Frontmatter from '../frontmatter'; jest.mock("../../valueObjects/AssetProxy.js"); const FrontmatterFormatter = new Frontmatter(); describe('Frontmatter', () => { it('should parse YAML with --- delimiters', () => { expect( FrontmatterFormatter.fromFile('---\ntitle: YAML\ndescription: Something long...
/** * Created by twiforce on 30.12.13. */ if (settings.snowfall) { (function(){for(var b=0,c=["webkit","moz"],a=0;a<c.length&&!window.requestAnimationFrame;++a)window.requestAnimationFrame=window[c[a]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[c[a]+"CancelAnimationFrame"]||window[c[a]+"CancelReq...
'use strict' import path from 'path'; import webpack from 'webpack'; import config from '../config'; import HtmlPlugin from 'html-webpack-plugin'; import NyanProgressPlugin from 'nyan-progress-webpack-plugin'; export default { entry: [path.resolve(__dirname, '../src/scripts/main')], resolve: { root: path.res...
'use strict'; var lineChart = require('./writables/line-chart-writable') var go = module.exports = function (el, opts) { return lineChart(el, opts, true); }
"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")...
'use strict'; angular.module('copayApp.controllers').controller('exportController', function($rootScope, $scope, $timeout, $log, lodash, backupService, walletService, fingerprintService, configService, storageService, profileService, platformInfo, notification, go, gettext, gettextCatalog) { var prevState; v...
console.log("Hoshiumi");
import { default as convertor } from 'color'; import { default as colors } from '../../src/colors'; function convertColors() { return Object.keys(colors) .map((key) => { return { name: key, color: convertor(colors[key].value), }; }); } function extractGrays(colorArr) { return colorArr .f...
Template.body.onRendered(function() { var tmpl = this; var hash = window.location.hash; if (hash.charAt(0) === '#') { FlowRouter.go('/' + hash.slice(1)); } var main = tmpl.main = tmpl.find('#main'); var anchors = tmpl.anchors = tmpl.findAll('#content [id]'); var progressBar = tmpl.progressBar = tmpl...
var express = require("express"); var path = require("path"); var favicon = require("serve-favicon"); var logger = require("morgan"); var cookieParser = require("cookie-parser"); var bodyParser = require("body-parser"); var indexRoute = require("./routes/index"); var usersRoute = require("./routes/users"); var app = ...
module.exports = { 'POST /auth/signup': { controller: "AuthLocalController", action: "signup" }, 'POST /auth/login': { controller: "AuthLocalController", action: "login" }, // JWT token blacklist 'POST /auth/blacklists/tokens': { controller: "AuthLocalController", action: "blacklist...
/* * @flow */ import {suite, test} from 'flow-dev-tools/src/test/Tester'; export default suite(({addFile, addFiles, addCode}) => [ test('Functions with unions: https://github.com/facebook/flow/issues/1948', [ addFile('issue-1948.js').noNewErrors(), ]), ]);
/** * base.js * This file contains all global functions provided by js.io. */ exports.log = jsio.__env.log; exports.GLOBAL = jsio.__env.global; /** * Various polyfill methods to ensure js.io implementations provide * a baseline of JavaScript functionality. Feature compatibility (localStorage, * etc.) should be ...
define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.conf = { comments: { lineComment: '#' }, brackets: [ ['{', '}'], ['[', ']'], ['(', ')'] ...
import { getCredentials, api, request, credentials } from '../../data/api-data.js'; import { imgURL } from '../../data/interactions'; const customEmojiName = `my-custom-emoji-${ Date.now() }`; let createdCustomEmoji; describe('[EmojiCustom]', function() { this.retries(0); before((done) => getCredentials(done)); /...
import hook from 'css-modules-require-hook' import sass from 'node-sass' hook({ extensions: ['.css', '.scss'], preprocessCss: (css) => { const result = sass.renderSync({ data: css }) return result.css } })
"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 = () => { throw new Error('Method is not supported'); };
/** * Copyright <%= year %> 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 agr...
/* Function name: findTitle(url); Inputs: A URL Returns: The contents of the <title>...</title> tag at that URL. Prints: Nothing require "open-uri" ** Note #1 ** Since these specific tools aren't available in JavaScript, this particular exercise doesn't directly translate. I w...
version https://git-lfs.github.com/spec/v1 oid sha256:8ceebd3407fc2ae5cae4d0f8ef2bb59c8931fc43223387f5afe4a5581862709a size 422284
import powerSpectrum from './powerSpectrum'; let melToFreq = function(melValue){ let freqValue = 700*(Math.exp(melValue/1125)-1); return freqValue; }; let freqToMel = function(freqValue){ let melValue = 1125*Math.log(1+(freqValue/700)); return melValue; }; export default function(args){ if(typeof args.ampSpectr...
'use strict'; var $ = require('mano-legacy'); require('mano-legacy/on-env-update'); require('mano-legacy/dbjs-form-fill'); require('mano-legacy/element#/toggle'); require('mano-legacy/dbjs-observe-mock'); var getContext = function (formEntity, sKeyPath) { var i, context, arrayFromName, sKey; context = formEntity; ...
var page = require('webpage').create(), system = require('system'), address, output, size; if (system.args.length < 3 || system.args.length > 5) { console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]'); console.log(' paper (pdf output) examples: "5in*7.5in", "10cm*...
"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")...
'use strict'; const eslint = require('gulp-eslint'); module.exports = (gulp, config) => { gulp.task('eslint', () => gulp .src(config.paths.scripts.concat(config.paths.configs)) .pipe(eslint()) .pipe(eslint.format()) ); };
// --------------------------------------------------------------------------------- // Patterns for methods" parameters // --------------------------------------------------------------------------------- STATE_PAT = { changePwd: Match.Optional(String), enrollAccount: Match.Optional(String), forgotPwd: ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S12.9_A1_T4; * @section: 12.9; * @assertion: Appearing of "return" without a function body leads to syntax error; * @description: Checking if execution of "return" wit...
var path = require('path') var utils = require('./utils') var config = require('../config') var vueLoaderConfig = require('./vue-loader.conf') function resolve(dir) { return path.join(__dirname, '..', dir) } module.exports = { entry: { app: './src/main.js' }, output: { path: config.build.assetsRoot, filenam...
/** * Main App Controller for the Angular Material Starter App * @param ProductDataService * @param $mdSidenav * @constructor */ import angular from "angular"; function AppController(ProductDataService, contract, $mdSidenav, $scope) { var self = this self.selected = null self.users = [ ] self.sel...
'use strict'; var path = require('path'); /** * Path conversion utilities */ module.exports = { unix: function unix(str) { var input = path.normalize(str); input = input.replace(/\\/g, '\/'); var parts = input.split(':'); var drive = parts.shift(); var isLetter = drive.length === 1 && drive.m...
var grunt = require('grunt'), expect = require('expect.js'); describe('grunt-mdfiver', function() { it("Grunt be okay", function() { }); });
/* * L.TileLayer is used for standard xyz-numbered tile layers. */ L.Google = L.Class.extend({ includes: L.Mixin.Events, options: { minZoom: 0, maxZoom: 18, tileSize: 256, subdomains: 'abc', errorTileUrl: '', attribution: '', opacity: 1, continu...
'use strict'; require('harmony-reflect'); require('es6-shim'); function oMap(obj){ obj = obj || {}; const map = new Map(); Object.keys(obj).forEach(function(key) { map.set(key, obj[key]); }); const handlers = { get: function(target,name){ if(name in target){ return target[name]; } retur...
zipdata({"7660023":[37,"仲多度郡まんのう町","吉野"],"7660201":[37,"仲多度郡まんのう町","造田"],"7660026":[37,"仲多度郡まんのう町","岸上"],"7660004":[37,"仲多度郡琴平町","榎井"],"7660204":[37,"仲多度郡まんのう町","勝浦"],"7660016":[37,"仲多度郡まんのう町","炭所東"],"7660017":[37,"仲多度郡まんのう町","炭所西"],"7660015":[37,"仲多度郡まんのう町","長尾"],"7660024":[37,"仲多度郡まんのう町","神野"],"7660027":[37,"仲多度郡まんのう...
{ "name": "fit.js", "url": "https://github.com/soulwire/fit.js.git" }
'use strict'; const fs = require('fs'); describe('The assets copied from the src/static directory...', () => { it('Should include a favicon file', done => { fs.stat('build/favicon.ico', err => { if (err) throw err; done(); }); }); it('Should include ALL images in ...
const { expect } = require('chai'), Users = require('../server/db/users'); describe('Users model', () => { const user = new Users({ githubId: 3333333, login: 'octocat', name: 'monalisa octocat', email: 'octocat@github.com', avatar_url: 'https://github.com/images/error/octocat_happy.gif', ur...
/* mustache.js — Logic-less templates in JavaScript See http://mustache.github.com/ for more info. */ var Mustache = function () { var _toString = Object.prototype.toString; Array.isArray = Array.isArray || function (obj) { return _toString.call(obj) == "[object Array]"; } var _trim = String.prototy...
/** * Copy to clipboard functionality for code snippet examples */ import Clipboard from 'clipboard'; const clipboard = new Clipboard('.pl-js-code-copy-btn'); clipboard.on('success', function (e) { const copyButton = document.querySelectorAll('.pl-js-code-copy-btn'); for (let i = 0; i < copyButton.length; i++) ...
let nanoajax = require('nanoajax'); let Store = require('./Store'); class Regions extends Store { getRegions() { return this.__getData('regions'); } getConnections() { return this.__getData('regions/connections'); } } export default new Regions();
var path = require('path'); var chai = require('chai'); chai.use(require('chai-fs')); chai.should(); const ROOT_DIR = path.join(process.cwd()); describe('As a dev', function() { describe('When testing cartridge directory structure', function() { var pathToTest; it('then _cartridge folder shoul...
/*! noUiSlider - 7.0.10 - 2014-12-27 14:50:46 */ /*jslint browser: true */ /*jslint white: true */ // ----------------------------------------------------------------------------- // LP Change // // This module has been manually wrapped in define to correctly handle the // jquery dependency. // // Shim wouldn't work ...
'use strict' module.exports.findAll = (pattern, str) => { let matches = [] let re = new RegExp(pattern) while (true) { let match = re.exec(str) if (match == null) { break } matches.push(match[1]) str = str.slice(match.index + match[0].length) } return matches }
define(['durandal/app'], function (app) { return { activate: function () { ga('send', 'pageview'); } }; });
/*jshint newcap:false*/ import Ember from "ember-metal/core"; // Ember.lookup import run from "ember-metal/run_loop"; import Namespace from "ember-runtime/system/namespace"; import EmberView from "ember-views/views/view"; import _MetamorphView from "ember-views/views/metamorph_view"; import EmberObject from "ember-runt...
var searchData= [ ['takedamage',['TakeDamage',['../class_engine_1_1_core_1_1_character.html#a2156c371584ca6a8d2961154f1b49c09',1,'Engine::Core::Character::TakeDamage()'],['../class_engine_1_1_game_play_1_1_enemy.html#a0eec9ea5a61636db10b5f02f9e74189a',1,'Engine::GamePlay::Enemy::TakeDamage()']]] ];
/* *RestLogger.js 利用log4js来进行日志记录 * *exports log日志记录对象,包含 trace,debug,error 等方法 */ var forkid = process.env['_num'], fs = require('fs'), inspect = require('util').inspect; if(_restConfig.isLog){ //如果开启日志 try{//如果不存在mylog文件夹则创建它 var logpath = _restConfig.baseDir+_restConfig.logPath; if(!fs...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12zM6 10h2v2H6zm0 4h8v2H6zm10 0h2v2h-2zm-6-4h8v2h-8z" }), 'Subtitle...
import r from 'restructure'; import Entity from '../entity'; export default Entity({ id: r.uint32le, radius: r.floatle, radiusPerLevel: r.floatle, maxRadius: r.floatle, });
/*global angular */ (function () { 'use strict'; function TemplateTestController() { var self = this; self.template = '{0} is an important number. {1} is important, too, but not as important as {0}.'; self.number1 = '39,210'; self.number2 = '78'; } angular.module('stac...
module.exports = { siteMetadata: { title: `GatsbyJS RSS`, description: `A blog with RSS powered by GatsbyJS.`, siteUrl: `https://gatsbyjs.org` }, plugins: [ { resolve: `gatsby-source-filesystem`, options: { name: `posts`, path: `${__dirname}/posts` } }, `g...
function test(elt) { var tainted = document.location.search.substring(1); WinJS.Utilities.setInnerHTMLUnsafe(elt, tainted); WinJS.Utilities.setOuterHTMLUnsafe(elt, tainted); }
sap.ui.define([ "sap/ui/core/mvc/Controller" ], function(Controller) { "use strict"; return Controller.extend("BikeRentalApp.controller.registration", { /** * Called when a controller is instantiated and its View controls (if available) are already created. * Can be used to modify the View before ...