code
stringlengths
2
1.05M
// Regular expression that matches all symbols in the `Zl` category as per Unicode v10.0.0: /\u2028/;
/** * This file defines the email tests for your project. * * Each email test should provide the locals used to render the * email template for preview. * * Values can either be an object (for simple tests), or a * function that calls a callback(err, locals). * * Sample generated emails, based on the keys and ...
import Vue from 'vue' import mount from '~src/mount' import Component from '~resources/components/component.vue' describe('mount.localVue', () => { it('mounts component using passed localVue as base Vue', () => { const localVue = Vue.extend() localVue.version = '2.3' const wrapper = mount(Component, { lo...
import {DEFAULT_SETTINGS} from '../../constants' import {RESET_GAME} from '../../actions/game' export const INITIAL_STATE = DEFAULT_SETTINGS.BEGINNER export default (state = INITIAL_STATE, action) => { switch(action.type) { case RESET_GAME: return action.payload default: return state } }
/*globals MySystem describe it expect xit xdescribe beforeEach afterEach spyOn runs waits waitsFor */ // defineJasmineHelpers(); NodeContent = SC.Object.create({ image: sc_static('resources/lightbulb_tn.png'), nodeWidth: 104, nodeHeight: 104, terminalRadius: 12, enableNodeLabelDisplay: YES, title: "node ...
module.exports = function(id, request, response) { //create the model and save var model = this.package('{{name}}').model(); model.{{primary}} = id; {{~#if active}} model.{{active}} = '0'; model.save(function(error) { //if there are errors if(error) { //trigger an error this.trigger('{{name}}-remo...
define([ ],function( ){ function animate_frames( cls, frames, frame_rate, loop ){ this.cls = cls; this.frames = frames; this.frame_rate = frame_rate || 1; this.loop = loop || false; this.cur_tick = 0; this.max_tick = frames * this.frame_rate; this.cur_frame = 1; this.playing = fals...
import Component, { PropTypes } from 'lib/component'; import './styles.css'; export default class Page extends Component { /** * Updates the page title * @protected */ _updateTitle() { let title = this.t('page_title'); title && (document.title = title); } /** * @override */ component...
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'eu', { title: 'Erabilerraztasunaren argibideak', contents: 'Laguntzaren edukiak. Elkarrizketa-koadro hau ixteko sakat...
reportApp.factory('externalAPIClient', ['$rootScope', '$http', function($rootScope, $http) { var service = {}; service.getAddress = function(lat, long, callback){ var err = null; var address = "[getAddress] Not implemented"; url = locationServiceURL; headers = {}; params = { latlng: lat....
initSidebarItems({"fn":[["current","Returns a handle to the current task to call `notify` at a later date."],["init","Initialize the `futures` task system."],["is_in_task","Return whether the caller is running in a task (and so can use task_local!)."],["with_unpark_event","For the duration of the given callback, add an...
/*! * * Web Starter Kit * Copyright 2014 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * ...
(function () { 'use strict'; describe('Compensations List Controller Tests', function () { // Initialize global variables var CompensationsListController, $scope, $httpBackend, $state, Authentication, CompensationsService, mockCompensation; // The $resource service ...
// @flow import * as React from 'react' import Input from 'frontend/components/Input' type Props = { name: string, saveDisplayName: Function } type State = { name: string } export default class Name extends React.Component<Props, State> { state = { name: this.props.name } static getDerivedStateFromP...
/** * 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. * * @flow * @format */ 'use strict'; const GraphQLRange = require('../legacy/store/GraphQLRange'); const RelayClassicRecordState ...
import NavData from '../nav/navdata.js'; import MapHolder from '../map/mapholder.js'; import navobjects from '../nav/navobjects.js'; import RouteEdit,{StateHelper} from '../nav/routeeditor.js'; import globalStore from '../util/globalstore.jsx'; import keys from '../util/keys.jsx'; import LayoutHandler from '../util/lay...
module.exports = { 'env': { 'browser': true, 'commonjs': true, 'es6': true, }, 'extends': 'eslint:recommended', 'parserOptions': { 'ecmaVersion': 2018, 'sourceType': 'module', }, 'rules': { 'accessor-pairs': 'error', 'array-bracket-newline'...
/** * @author Thomas Rupprecht * @version 0.0.1 */ var Trigonometric = { /** * Calculate the distances in every dimension from to x-dimension Points * @param {number[]} p1 * @param {number[]} p2 * @returns {number[]} distances */ getDimensionDistancesFromPoints: function (p1, p2) { if (p1.le...
"use strict"; // include live-reload script global.liveReload = function () { var script = document.createElement("script"); script.setAttribute("src","http://localhost:1009"); document.body.appendChild(script); };
const webpack = require('webpack'); const ora = require('ora'); const shell = require('shelljs'); const path = require('path'); const chalk = require('chalk'); process.env.NODE_ENV = 'production'; const webpackConfig = require('./webpack.prod.conf'); const config = require('../config'); const spinner = ora('building f...
/** * Action creator : return a function for given action * @param {string} type Action type * @param {...objects} argNames Properties' names of action * @return {func} Function that generate action with type and properties given the * params */ export const ...
jestExpect(fn).toHaveBeenCalledTimes(value);
/** * @constructor * @param {!Language} language */ Translator = function (language) { var self = this; self._usedNamespaces = {}; self._namespaceDep = new Deps.Dependency(); self._language = null; self._languageDep = new Deps.Dependency(); self.setLanguage(language); Deps.autorun(function () ...
const path = require('path'); const ip = require('ip'); const EasyWebpack = require('easywebpack-vue'); module.exports = app => { const exports = {}; exports.static = { maxAge: 0 // maxAge 缓存,默认 1 年 }; exports.development = { watchDirs: ['build'], // 指定监视的目录(包括子目录),当目录下的文件变化的时候自动重载应用,路径从项目根目录开始写 i...
#!/usr/bin/env node "use strict"; const msg = require('../lib/message'); const registerApp = require('../lib/register-app'); const getAccessToken = require('../lib/get-access-token'); const prog = require('commander'); let configFile = 'app-config.json'; prog .usage(msg.usage) .option('-a --register-app', msg.r...
/** * @module * 装备额外属性收益 * 298. **16inch Mk.I三連装砲** * 299. **16inch Mk.I三連装砲+AFCT改** * 300. **16inch Mk.I三連装砲改+FCR type284** */ // https://wikiwiki.jp/kancolle/16inch%20Mk.I%E4%B8%89%E9%80%A3%E8%A3%85%E7%A0%B2 // https://wikiwiki.jp/kancolle/16inch%20Mk.I%E4%B8%89%E9%80%A3%E8%A3%85%E7%A0%B2%EF%BC%8BAFCT%E6%94%B9...
require('shelljs/global'); var archs_os = require('./utils').config.archs_os; /* var option = { "BUILD_PATH" : BUILD_PATH, "IS_SUPPORT_POD" : isUsePod, "WORKSPACE_PATH" : workspacePath, "PROJECT_PATH" : projectPath, "PROJECT_NAME" : projectName, ...
export default { cn: ` * \`书页模式\`下支持奇偶页切换 * 支持回车关闭弹窗 * 迁移老的订阅数据 * \`滚动模式\`下支持调整页间距 * 支持手动修改配置值 ### 2.5.0 更新 * 在\`书页模式\`下, 支持鼠标滚轮(触控板)翻页. * 添加\`滚轮方向\`设置, 用于设置鼠标滚动翻页方向. * 添加\`滚轮翻页\`设置, 用于设置鼠标滚动翻页时的灵敏度. ### eHunter-local eHunter-local是eHunter的本地版本, 支持Windows和MacOS. [项目主页](https://github.com/hanFengSan/eHunte...
export default { /** * LEFT */ LEFT: 37, // also NUM_WEST /** * UP */ UP: 38, // also NUM_NORTH /** * RIGHT */ RIGHT: 39, // also NUM_EAST /** * DOWN */ DOWN: 40 };
//~ name a619 alert(a619); //~ component a620.js
// this is not NODE_ENV nor process.env, but env attributes from command line module.exports = ({env = {}, argv = {}}) => { // --env.hash always has precedence over -p let hash = env.hash === undefined ? (argv.p ? 7 : 0) : (isNaN(parseInt(env.hash)) ? 7 : parseInt(env.hash)) re...
/* jshint node: true */ /** * This file provides default configurations. * * Copy this file and rename it as 'environment.js' and node will overwrite * the corresponding environment variables with your configuration. * * Note: you can add any environment variables that you would like available */ module.exports...
var fs = require('fs') var os = require('os') var util = require('util') var test = require('tape') var fsHelpers = require('../../lib/fs-helpers') var testUtils = require('./utils') test('uuidToDirectory', function (t) { t.plan(1) var uuid = '1basf-42f4-afta-as5g' // i made this up var result = fsHelpers.uuid...
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @fileOverview A plugin created to handle ticket https://dev.ckeditor.com/ticket/11064. While the issue is caused by native We...
// web socket connection var ws; var wsLastConnectDateTime; var wsLookup = { // message handlers measures: function (payload) { measuresControl.resetMeasures(payload); }, domains: function (payload) { // first domains after login domainsControl.resetDomains(payload); ...
import { test } from 'qunit'; import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'; moduleForAcceptance('Acceptance | cardstack-url'); test('renders correct links', function(assert) { visit('/links'); andThen(function() { assert.equal(find('.page-test').text(), '/c/the-permalink'); ...
import React, { Component, PropTypes } from 'react'; // import cookie from 'react-cookie'; import { asyncConnect } from 'redux-async-connect'; import Helmet from 'react-helmet'; import config from '../../config'; import { editorConfig, getCollections } from '../../redux/modules/editor'; import { loadBasicParamsJson } f...
var gulp = require('gulp'), size = require('gulp-size'), cssmin = require('gulp-cssmin'), config = require('../../config').optimize.css; /** * Copy CSS files */ gulp.task('optimize:css', function() { return gulp.src(config.src) .pipe(cssmin()) .pipe(gulp.dest(config.dest)) .pip...
const _ = require('lodash'); // Should be persisted const sessionStorage = new Map(); // TODO: move elsewhere const ENTITIES = [ 'persons', 'nationalities', 'facilities', 'organisations', 'locations', 'locations', 'products', 'events', 'art', 'languages', 'dates', 'time...
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||...
const elegantStatus = require('elegant-status'); const json = require('jsonfile'); const utils = require('./utils'); const initialize = function () { const done = elegantStatus('Creating configurtaion file: azdocdb.json'); if (utils.configPath()) { done(false); throw new Error(`Already initialized! Config ...
/// <reference path="../typings/tsd.d.ts" /> var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; (function (factor...
console.warn( "THREE.DepthLimitedBlurShader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installat...
import React from 'react'; import Button from 'react-bootstrap/lib/Button'; import { connect } from 'react-redux'; import ItemList from './components/ItemList/ItemList'; import { fetchItems, deleteItem, addItem, updateItem, } from './actions/actionCreators'; export class TodoContainer extends React.Component ...
/* */ "format global"; "use strict"; var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; }; /** * Check if the input `node` is a reference to a bound variable. */ exp...
System.register(['./xhr-factory'], function(exports_1) { var xhr_factory_1; var TodoFactory; return { setters:[ function (xhr_factory_1_1) { xhr_factory_1 = xhr_factory_1_1; }], execute: function() { exports_1("TodoFactory", TodoFa...
function euler239() { // Good luck! return true } euler239()
/** * Compile sass / scss files * * @see https://github.com/gruntjs/grunt-contrib-sass * @type {Object} */ module.exports = function(grunt, config) { var spritesheetsFolder = 'spritesheets'; // Copy the css files array from the config var cssFileTargets = _.extend({}, config.targets.css); // Format the keys...
'use strict'; var fs = require('fs'); var path = require('path'); var MobileDetect = require('mobile-detect'); var cookie = require('cookie'); var db = require(path.join(__dirname, 'db')); var app = require(path.join(__dirname, '../server.js')); var conf = app.config; // get html files fun...
Package.describe({ name: 'jchristman:exec', summary: 'A simple API for executing server-side commands and w/ stdout/stdin reading', version: '1.0.0', git: 'https://github.com/jchristman/meteor-exec' }); Package.onUse(function(api) { api.versionsFrom('METEOR@1.0'); api.addFiles('exec.js',['server','client'...
dbm.runTempFunction(function() { var CsvParser = dbm.importClass("dbm.utils.file.formats.csv.CsvParser"); var TableElement = dbm.importClass("dbm.gui.table.TableElement"); var ArrayFunctions = dbm.importClass("dbm.utils.native.array.ArrayFunctions"); var CallFunctionCommand = dbm.importClass("dbm.core.exten...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
version https://git-lfs.github.com/spec/v1 oid sha256:c71cfc2814fd958f2d3924b5e931d29003dc6a59c3f305df09c3e5a19187c1a9 size 319
/** * @class Denkmal_Component_MessageAdd * @extends Denkmal_Component_Abstract */ var Denkmal_Component_MessageAdd = Denkmal_Component_Abstract.extend({ /** @type String */ _class: 'Denkmal_Component_MessageAdd', /** @type {Boolean} */ _stateActive: null, /** @type {Boolean} */ _stateActiveLocked: nu...
const { CHALLENGE_TYPE_EMAIL, CHALLENGE_TYPE_PHONE, USERS_ACTION_ACTIVATE, USERS_ACTION_DISPOSABLE_PASSWORD, USERS_ACTION_REGISTER, USERS_ACTION_RESET, USERS_ACTION_VERIFY_CONTACT, } = require('../constants'); /** * This is the configuration used for https://github.com/makeomatic/ms-token * This allows...
'use strict'; /** * Module dependencies */ var coursesPolicy = require('../policies/courses.server.policy'), courses = require('../controllers/courses.server.controller'); module.exports = function(app) { // Courses Routes app.route('/api/courses').all(coursesPolicy.isAllowed) .get(courses.list) .post...
(function($){ var note = $('#note'), ts = new Date(2015, 08, 19, 08, 30), newYear = false; if((new Date()) > ts){ // The new year is here! Count towards something else. // Notice the *1000 at the end - time must be in milliseconds ts = (new Date()).getTime(); newYear = true; } $('#countdown').cou...
const _ = require('lodash'); require('ui/state_management/app_state'); module.exports = function dashboardContext(Private, getAppState) { return function () { const queryFilter = Private(require('ui/filter_bar/query_filter')); const bool = { must: [], must_not: [] }; const filterBarFilters = queryFilter...
'use strict'; var DEFAULT_BASE_64_DATA = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'; /** * @ngInject() */ function uiImageDirective($parse, ImageCache) { return { link: link, restrict: 'E', replace: true, scope: { uiSrc: '=', uiTitle: '=' }, ...
module.exports = {"JuliusSansOne":{"normal":"JuliusSansOne-Regular.ttf","bold":"JuliusSansOne-Regular.ttf","italics":"JuliusSansOne-Regular.ttf","bolditalics":"JuliusSansOne-Regular.ttf"}};
import {select} from "d3-selection"; import {scaleLinear} from "d3-scale"; import {slice} from "./array"; import identity from "./identity"; var epsilon = 1e-6, top = {}, right = {}, bottom = {}, left = {}; function transformX(selection, x0, x1) { selection.attr("transform", function(d) { var x ...
$(document).ready(function() { "use strict"; class ChatApp extends React.Component { constructor(props) { super(props); this.state = { messages: [], users: [] }; } componentDidMount() { this.socket = io(); this.socket.on('users', this.usersList.bind(this)); this.socket.on...
//= require jquery //= require jquery_ujs //= require turbolinks //= require dataTables/jquery.dataTables //= require dataTables/bootstrap/3/jquery.dataTables.bootstrap //= require bootstrap.min //= require date //= require chart.min // require websocket_rails/main //= require_self //= require_tree . function hide (e)...
(function(e){if("function"==typeof bootstrap)bootstrap("revisionist",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeRevisionist=e}else"undefined"!=typeof window?window.Revisionist=e():global.Revi...
/** * @file mip-ilaw66-give-coupons 组件 * @author */ define(function (require) { var $ = require('zepto'); var customElement = require('customElement').create(); customElement.prototype.firstInviewCallback = function () { var $el = $(this.element); // var mycardandcouponsUseddetailsDate; ...
class Square { constructor(value = 0, score = 0) { this.value = value; this.score = score; } add(num = 0) { this.value += num; let bonus = 1; let combo = ''; if (this.value % 3 == 0 && num != 0) { combo += 'fizz'; bonus *= 3; } if (this.value % 5 == 0 && num != 0) { ...
'use strict'; angular.module('core').directive('showErrors', function() { return { restrict: 'A', require: '^form', link: function (scope, el, attrs, formCtrl) { // find the text box element, which has the 'name' attribute var inputEl = el[0].querySelector...
module.exports.CopyService = require("./src/copier"); module.exports.server = require("./src/server");
'use strict'; const gulp = require('gulp'); const postcss = require('gulp-postcss'); const sourcemaps = require('gulp-sourcemaps'); const paths = { styles: { src: ['assets/styles/*.css', '!assets/styles/variables.css'], dest: 'assets/styles/build/' } }; function styles() { var processors = [ requi...
const mat4 = require('../../math/mat4') // const vec3 = require('../../math/vec3') const transform = require('./tranform') const rotateEulerAngles = (alpha, beta, gamma, position, shape3) => { position = position || [0, 0, 0] let Rz1 = mat4.fromZRotation(alpha) let Rx = mat4.fromXRotation(beta) let Rz2 = mat4...
const mongoose = require('mongoose'); require('./models'); mongoose.Promise = Promise; const url = ((process.env.ENV === 'test') ? process.env.MONGO_URL_TEST : process.env.MONGO_URL) || process.env.MONGO_URL; mongoose.connect(url); module.exports = mongoose.connection;
/*! * vue-router v4.0.3 * (c) 2021 Eduardo San Martin Morote * @license MIT */ var VueRouter = (function (exports, vue) { 'use strict'; const hasSymbol = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; const PolySymbol = (name) => // vr = vue router hasSymbol ? Symb...
module.exports = require("npm:mime-db@1.17.0/index");
"use strict"; var fs = require('fs'); var VERSION = JSON.parse(fs.readFileSync(__dirname + '/../package.json', 'utf8')).version; var optimist = require('optimist') .options({ help: { boolean: true, desc: "Show this help screen" }, v: { alias: "version", boolean: true, desc: "template-bench v" + VERSION }, ...
/** @ignore */ const _ = require('lodash'); /** @ignore */ const IntentHandler = require('./IntentHandler'); /** * Request dog intent handler, this is used when the someone requests * a dog image, all it does is run the >randomdog command for you. * * @extends {IntentHandler} */ class RequestCat extends IntentHan...
/*globals before,beforeEach,after,afterEach,describe,it */ process.env.NODE_ENV = 'test'; var mongoose = require('mongoose'); var expect = require('chai').expect; var request = require('supertest-as-promised'); var util = require('util'); var Promise = require("bluebird"); var User = require('../../back/models/user'...
(function(global) { "use strict"; // --- dependency modules ---------------------------------- // --- define / local variables ---------------------------- //var _runOnNode = "process" in global; //var _runOnWorker = "WorkerLocation" in global; //var _runOnBrowser = "document" in global; // --- class / interfaces ---...
import Document, {Head, Main, NextScript} from "next/document" import {ServerStyleSheet} from "styled-components" class Html extends Document { render() { const sheet = new ServerStyleSheet() const main = sheet.collectStyles(<Main />) const styleTags = sheet.getStyleElement() return ( <html lan...
import React from 'react'; import PropTypes from 'prop-types'; /** Label with required field display, htmlFor, and block styling */ function AlertLabel({htmlFor, label, onClick, required}) { return ( <label style={{display: 'block'}} htmlFor={htmlFor} onClick={onClick}> {label} { required && <span style={{...
/** * forToggle wrapper * * Generated by coz on 10/29/2016, * from a template provided by apeman-asset-templates. * * @function forToggle * @param {Object} {options=[]} - Optional settings * @returns {function} - Component wrap function */ 'use strict' const abind = require('abind') const { prefixOf, scoped }...
module.exports = function (context) { context.dispatch('TOGGLE_LEFT_NAV'); };
/* * Copyright 2017-present, Converse.AI * All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. * */ module.exports = class AsyncOutboundPayload extends require('../abstract/OutboundPayload') { constructor() { supe...
import { selector } from '../MainNavbarContainer'; describe('shared/main-navbar/MainNavbarContainer', () => { describe('selector', () => { function getState(locale = 'fi', user = {}) { return { auth: { userId: user.id, token: 'mock-token', }, data: { us...
function initPage() { $('input.search-query').typeahead({ items: 10, source: function (query, process) { return $.get('/persons/typeahead.json', { query: query }, function (data) { return process(data.options); }); } }); $(window).resize(); //o...
var TEST_NAME = 'TEST_NAME'; var path = require('path'); var test = require('tape'); var helpers = require('./_helpers'); var stylelint = require('stylelint'); var formatter = require('stylelint-formatter-yhw'); var stylelintOptions = { files: path.resolve(__dirname, './' + TEST_NAME + '.scss'), syntax: "sc...
import QUnit from 'steal-qunit'; import { ViewModel } from './nueva_forma_de_pago'; // ViewModel unit tests QUnit.module('aleph-frontend/ventas/nueva_forma_de_pago'); QUnit.test('Has message', function(){ var vm = new ViewModel(); QUnit.equal(vm.attr('message'), 'This is the aleph-ventas-nueva-forma-de-pagos comp...
var expect = require('chai').expect , setup = require('../../../../setup') , teardown = require('../../../../teardown') , create = require('jsr-client') , Constants = require('jsr-constants') , WITHSCORES = Constants.ZSET.WITHSCORES , client; describe('jsr-server (tcp):', function() { before(function(do...
'use strict'; var angular = require('angular'); module.exports = Notifications; /** * Notification service * Forked & modified from: https://github.com/cgross/angular-notify */ function Notifications(notifyConfig, $timeout, $http, $compile, $templateCache, $rootScope) { var messageElements = []; var open...
module.exports={A:{A:{"2":"K C G E B A WB"},B:{"2":"D u Y I M H"},C:{"2":"0 1 2 3 4 5 6 7 UB z F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y v SB RB"},D:{"1":"0 1 2 3 5 6 7 v GB g DB VB EB","2":"4 F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j...
"use strict"; var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d =...
/** * Created by hunterhodnett on 7/24/17. */ import Jasmine from 'jasmine'; const jasmine = new Jasmine(); jasmine.loadConfigFile('spec/support/jasmine.json'); jasmine.execute();
const extractor = require('./extractor') const { createEventAccessor } = require('./living/helpers/create-event-accessor') const { Future } = require('perhaps') const Queue = require('avenue') const Schema = require('./schema') const { setupForSimpleEventAccessors } = require('./living/helpers/create-event-accessor...
function refreshMask () { $('.telefone').mask("(00) 0 0000-0000", {placeholder:"(__) _ ____-____"}); $('.ddd').mask("00", {placeholder:"__"}); $('.cep').mask("00000-000", {placeholder:"_____-___"}); $('.dateinput').mask('00/00/0000', {placeholder:"__/__/____"}); } function refreshDatePicker() { $.datepicke...
var colors = [ "rgb(255,165,0)", "rgb(240,170,0)", "rgb(236,174,0)", "rgb(254,188,0)", "rgb(224,147,16)", "rgb(185,102,0)", "rgb(255,165,0)", "rgb(235,065,20)", "rgb(175,167,30)" ] colors.get = function(){ return this[Math.floor( Math.random() * this.length )] } var digit = [ [ [0,0,1,1,1,0,0], ...
/* * REACT MIXINS * * Custom mixins for use in React components */ module.exports = { /* * cleanFormField * * Takes the string value from a form field * and returns a number, string, or null. */ cleanFormField: function(value) { value = value.trim(); //If value is a number, return a real numbe...
/* Ping delay measurement */ // Main module of FoxyBot let core = undefined; // Example bot command function pingReply(/*Client*/ bot, /*Message*/ message, /*string*/ args) { message.reply("Pong! (" + (Date.now() - message.createdTimestamp) + " ms)"); } // Initialize plugin and here you can add custom Foxy's...
function hello(person) { console.log('hi' + person); } function hello2(person) { console.log("hello " + person.firstName + " " + person.lastName); } hello('world'); hello([1, 2, 3]); hello2({ firstName: 'zkk', lastName: 'abc' }); hello2({ firstName: [1, 2] });
(function(){ var whitespace_1 = 1; (function(){ var root_a = 'root_a'; })(); var whitespace_2 = 2; (function(){ var root_b = 'root_b'; })(); (function(){ var root_c = 'root_c'; })(); var whitespace_3 = 3; })();
define([ 'app/views/recentSearches', 'use!backbone' ], function(RecentSearches, Backbone) { describe("Recent searches", function() { var el, rs, data, searches, search = { term : 'foo' }; beforeEach(function() { el = $('#test').empty(); var Searches = Backbone.Collec...
var animationFactory = require("../animation/animation-factory"); module.exports = { animations: null, // Array (assigned on instance creation in factory function). element: null, // will be frozen selector: null, // will be frozen addAnimation: function addAnimation(options) { var result...