code
stringlengths
2
1.05M
var mathTools = require("./math"); program = require("commander-plus"); program .version("0.0.1") .option("-X, --xvalue [num]", "Enter a value for x") .option("-Y, --yvalue [num]", "Enter a value for y") .parse(process.argv); console.log("x: " + program.xvalue); console.log("y: " + program.yvalue); var x = p...
'use strict'; var factory = require('../octicon.js'); // This is an auto-generated ES2015 icon from the modularize script. Please do not modify this file. var versions = factory('versions', 14, 16, {"fill-rule":"evenodd","d":"M13 3H7c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 8H8V5h4v6z...
var comma = require('./../helpers/comma'); var type = require('./../helpers/type'); module.exports.parse = function (object) { statement = ""; for (var field in object) { statement += String(field) +" IN " statement += "("; object[field].forEach(el => { statement += type.parse(el, false); })...
import parse from 'postcss-value-parser' import createUniqueValue from '../utils/createUniqueValue' export default () => parse(createUniqueValue())
var interface_snowflake_1_1_platform_1_1_i_platform_defaults = [ [ "Emulator", "interface_snowflake_1_1_platform_1_1_i_platform_defaults.html#abd3603b74dd041c42762d9d76e872a77", null ], [ "Identifier", "interface_snowflake_1_1_platform_1_1_i_platform_defaults.html#abdf4bdbce92fd8e6426b6f893d22457b", null ], ...
import React, {PropTypes, Component} from 'react' import { connect } from 'react-redux' import _ from 'lodash' import classNames from 'classnames' import * as actions from '../redux/modules/ttt/ttt' import {SYMBOLS, createRandomMove} from '../redux/modules/ttt/utils' import * as css from 'styles/TTT.styl' const {INIT...
define({ "addDistance": "Tambahkan Unit Panjang", "addArea": "Tambahkan Unit Area", "label": "Label", "abbr": "Singkatan", "conversion": "Konversi", "actions": "Tindakan", "areaUnits": "Unit Area", "distanceUnits": "Unit Panjang", "kilometers": "Kilometer", "miles": "Mil", "meters": "Meter", "fe...
// import dependencies import '../../bootstrap/_progress.scss'
'use strict'; var appFrame = require('../../bellows/pages/appFrame.js'); var body = require('../../bellows/pages/pageBody.js'); afterEach(function() { appFrame.errorMessage.isPresent().then(function(isPresent) { if (isPresent) { appFrame.errorMessage.getText().then(function(message) { if (mes...
const commons = require('./commons'); const ptbr = require('./langs/pt-br'); const en = require('./langs/en'); module.exports = { commons, en, 'pt-br': ptbr }
/* * grunt-hashres * https://github.com/luismahou/grunt-hashres * * Copyright (c) 2013 Luismahou * Licensed under the MIT license. */ 'use strict'; var fs = require('fs'), path = require('path'), utils = require('./hashresUtils'); exports.hashAndSub = function(grunt, options) { var src ...
/* * Copyright (c) 2012-2014 André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ const { assertSyntaxError } = Assert; // CoverInitialisedName in ArrowParameters is a SyntaxError assertSyntaxError(`({a = 0}) => {...
(function() { 'use strict'; angular .module('app.layout') .directive('waeNavbar', waeNavbar); function waeNavbar() { // Return a directive definition object return { templateUrl: 'js/layout/navbar.html', // reference a template file restrict: 'E', scope: {}, controller: NavbarController,...
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-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, { Component, ...
var express = require('express'); var router = express.Router(); router.get('/', function(req, res) { res.render('account', { title: "My Account" }); }); module.exports = router;
(function( $ ) { $(document).ready(function(){ if ( $(".wta--debug").length > 0 ) { $(".wta--debug").click(function(){ $(this).select(); }); } }); })( jQuery );
var ExtensionType = require('./ExtensionType'), utils = require('./utils'), Extension = require('./Extension'), fs = require('fs'), path = require('path'); var ExtensionManager = { extensions: { } }; ExtensionManager.exec = function() { var ret = { }, args = Array.prototype.slice.call(arguments); var type =...
iD.ui.RawMemberEditor = function(context) { var id; function selectMember(d) { d3.event.preventDefault(); context.enter(iD.modes.Select(context, [d.id])); } function changeRole(d) { var role = d3.select(this).property('value'); context.perform( iD.actions.Ch...
module.exports = { devServer: { proxy: { '/api/*': { target: 'http://localhost:5000', secure: false } } } }
var a3 = new Binary('FF',2); Test.expect(a3.toString() === '11111111', "Expect 11111111 on toString for FF values and type 2, not:"+a3.toString()); var a4 = new Binary('10',2); Test.expect(a4.toString() === '00010000', "Expect 00010000 on toString for 10 values and type 2, not:"+a4.toString()); var a5 = new Binary('10'...
"use strict"; var gulp = require('gulp'); var postcss = require('postcss'); var gulp_postcss = require('gulp-postcss'); var rename = require('gulp-rename'); var csswring = require('csswring'); var px2rem = require('postcss-px2rem'); gulp.task('postcss', function(){ var processors = [ ...
import validator from 'validator'; import { Timeline, User } from '../../models'; import { initObject, prepareModelPayload } from './utils'; import { lockByUUID, USER_SUBSCRIPTIONS } from './adv-locks'; /////////////////////////////////////////////////// // Feeds /////////////////////////////////////////////////// ...
var interface_harmony_1_1_i_l_copying_1_1_i_i_l_processor = [ [ "End", "interface_harmony_1_1_i_l_copying_1_1_i_i_l_processor.html#ae12735f13e538b9f16896cdf36b8b74a", null ], [ "Process", "interface_harmony_1_1_i_l_copying_1_1_i_i_l_processor.html#a6419dbab3188406bec1915cbfa186d9a", null ], [ "Start", "inte...
/// <reference path="../tui.core.ts" /> (function () { var dict = { "Accept": "接受", "All": "全部", "Day": "天", "Days": "天", "Hour": "小时", "Hours": "小时", "Minute": "分钟", "Minutes": "分钟", "Second": "秒", "Seconds": "秒", "Choose Time": "选择时间", ...
System.config({ defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime", "optimisation.modules.system" ] }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "aurelia-dependency-injection": "npm:aurelia-d...
'use strict'; /** * Development environment settings * * This file can include shared settings for a development team, * such as API keys or remote database passwords. If you're using * a version control solution for your Sails app, this file will * be committed to your repository unless you add it to your .giti...
(function (app) { 'use strict'; app.registerModule('recipes'); app.registerModule('recipes.services'); app.registerModule('recipes.routes', ['ui.router', 'recipes.services']); })(ApplicationConfiguration);
import React from 'react'; import { connect } from 'react-redux'; import { Compose, renderProps } from 'lib/react-powerplug'; import { Record } from 'lib/crud'; import { mount } from './actions'; class View extends React.Component { componentDidMount() { const { dispatch, resource, id } = this.props; dispa...
'use strict'; // Declare app level module which depends on views, and components angular.module('app', [ 'ipCookie', 'ngSanitize', 'ngMessages', 'ui.router', 'restangular', 'ui.bootstrap', 'ui.select', 'ui.load', 'toaster', 'jcs-autoValidate', 'angularFileUpload', 'angul...
/*! * 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...
var Icon = require('../icon'); var element = require('magic-virtual-element'); var clone = require('../clone'); exports.render = function render(component) { var props = clone(component.props); delete props.children; return element( Icon, props, element('path', { d: 'M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M9 15h6v5H9z" opacity=".3" /><path d="M19.56 11.36L13 8.44V7c0-.55-.45-1-1-1s-1-.45-1-1 .45-1 1-1 1 .45 1 1h2c0-1.84-1.66-3.3-3.56-2.95-1.18.22-2.15 1.17-2.38 2.35-.3 1.56.6 2.94 ...
"use strict"; 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 __()); }; var preact_1 = require("preact"); var PopoverHea...
'use strict'; angular.module('test.main') .controller('ctlAlbum', ['$scope', '$routeParams', '$location', '$http', '$rootScope', function ($scope, $routeParams, $location, $http, $rootScope) { $rootScope.rootUrl = 'http://jsonplaceholder.typicode.com/'; $http.get($rootS...
import Octicon from '../components/Octicon.vue' Octicon.register({"briefcase":{"width":14,"height":16,"d":"M9 4V3c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v1H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1H9zM6 3h2v1H6V3zm7 6H8v1H6V9H1V5h1v3h10V5h1v4z"}})
'use strict'; angular.module('aStore.signup', []) .config(config) .controller('signupCtrl', signupCtrl); function config($routeProvider) { $routeProvider .when('/app/signup', { templateUrl: 'app/signup/signup.html', controller: 'signupCtrl', ...
/** * Created by Daniel Dimmick on 24/03/15. */ function AjaxPortalUsers(){ this.pageNumber=1; this.postData=null; this.setPostData=function(postData){ this.postData=postData; } this.getPostData=function(){ return this.postData; } this.getPageNumber=function(){ ret...
function versionCompare(v1, v2, options) { var lexicographical = options && options.lexicographical, zeroExtend = options && options.zeroExtend, v1parts = v1.split('.'), v2parts = v2.split('.'); function isValidPart(x) { return (lexicographical ? /^\d+[A-Za-z]*$/ : /^\d+$/).test...
export default function($scope, $http, $cookies, $state, store) { 'ngInject'; if ($cookies.get('xUserToken') && $cookies.get('xUserEmail')) { $state.transitionTo('root.cards'); } $scope.user = {}; $scope.signIn = function() { $http.post('/sign_in', { user: $scope.user }).then(function(result...
'use strict' var allProducts = []; var counter = 0; var randomTrio = []; var allImgs = document.getElementById('imgs'); function Product(name, filePath) { this.name = name this.filePath = filePath this.votes = 0 allProducts.push(this); }; new Product('R2D2-bag','assets/bag.jpg'); new Product('banana slicer','a...
var mappings = { 'UST_3_M': 'USDTB3L3M=BRKR', 'UST_6_M': 'US6MT=RR', 'UST_12_M': 'US12MT=RR', 'UST_2_Y': 'US2YT=RR', 'UST_3_Y': 'US3YT=RR', 'UST_5_Y': 'US5YT=RR', 'UST_7_Y': 'US7YT=RR', 'UST_10_Y': 'US10YT=RR', 'UST_20_Y': 'US20YT=RR', 'UST_30_Y': 'US30YT=RR' }; getRicFromMappings = function(rate_type, matu...
/* * RxJS Contribute * * Copyright (c) 2012 Christoph Burgdorf (http://twitter.com/cburgdorf) * Licensed under the MIT (https://github.com/cburgdorf/rxjs-contribute/blob/master/license.txt) license. */ (function (global) { var root; if (typeof global.module !== 'undefined' && typeof global.module.ex...
var ProductLister = (function () { // Define the variables used by module var init, callAjax, jsonToHTML, addHTMLToDom, filters = document.getElementById("filters"), productsList = document.getElementById("products-list"); // The "init" function, sets up event handl...
/* global app:true */ (function() { 'use strict'; app = app || {}; app.Site = Backbone.Model.extend({ idAttribute: '_id', defaults: { _id: undefined, success: false, errors: [], errfor: {}, owners: {}, permissions: { read: {}, write: {} }, path: '', name: '', _location:''...
/** * Created by User on 8/27/2014. */ window.onload = function () { draggable(); }; function draggable() { var $drawerObj = $('#drawer'); var $grip = $('#grip'); var gripSize = 14; var footerSize = 40; var mouseUp = true; $grip.mousedown(function () { mouseUp = false; }); ...
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('domain-entry', 'Unit | Model | domain entry', { // Specify the other units that are required for this test. needs: [] }); test('it exists', function(assert) { let model = this.subject(); // let store = this.store(); assert.ok(!!model); });
export default function renderImage ( img ) { var loadHandler; // if this is an <img>, and we're in a crap browser, we may need to prevent it // from overriding width and height when it loads the src if ( img.attributes.width || img.attributes.height ) { img.node.addEventListener( 'load', loadHandler = function ...
import React from 'react'; import {connect} from 'react-redux'; import {BoxWrapper, TITLE_SIZE_H3} from "../../common/components/box-wrapper"; import {loading} from "../../common/utils"; import {EmptyItem} from "../../common/components/empty-item"; import {TextItem} from "../../common/components/text-item"; const HIS...
var Tween = require('../index');
define([ 'public/blog/blogApp', 'public/blog/controllers/BlogController' ], function(){ });
var utils = require('../utils')[0](); function lifecycleNoop(resourceName, attrs, cb) { cb(null, attrs); } function Defaults() { } Defaults.prototype.idAttribute = 'id'; Defaults.prototype.defaultAdapter = 'DSHttpAdapter'; Defaults.prototype.defaultFilter = function (collection, resourceName, params, options) { ...
import babel from 'babel'; export { babel }; import dynamicImportSyntax from 'babel-plugin-syntax-dynamic-import'; import modulesRegisterPlugin from 'babel-plugin-transform-es2015-modules-systemjs'; export let modulesRegister = { plugins: [dynamicImportSyntax, modulesRegisterPlugin] }; import externalHelpersPlugin ...
// %store // // A cross-browser persistent store. // // Local storage functionality based on the work of Marcus Westin. // @href http://github.com/marcuswestin/store.js // (function(window, document, undefined){ var localStorageName = 'localStorage', globalStorageName = 'globalStorage', storage, api = {...
class Footnotes { constructor() { var tag = document.getElementsByClassName( 'footnotes' ); if( !tag.length ) { return; } var footnotes = tag[0].children[0].childNodes; for( var i = footnotes.length; i--; ) { if( i % 2 !== 0 ) { var note = footnotes[i], id = no...
import { assert } from "chai"; import minOf from "../../src/utilities/min-of"; import { arrays } from "../test-data"; describe("Min Of", () => { it("should calculate the minimum value of a simple array with numeric values", () => { const testData = arrays.simple.numeric; let min = minOf(...
(function () { 'use strict'; angular.module('app.core').controller('UserController', UserController); UserController.$inject = ['$scope', '$location', 'UserService', 'UserLevelService']; function UserController($scope, $location, UserService, UserLevelService) { $scope.userLevels = UserLevelS...
import React from "react"; import { shallow } from "enzyme"; import { Control } from "../Control"; import { StreetViewControl } from "../StreetViewControl"; import { MapContext } from "../../internal/MapContext"; import { createMapsMock } from "../../../mocks/MapsMock"; describe("StreetViewControl", () => { let ma...
$(window).load( function() { $(".login-form .ui.form").form({ email : { identifier : "email", rules : [ { type : "email", prompt : "Érvénytelen emailcím!" } ] }, password : { identifier : "password", rules : [ { type : "empty", prompt : "Üres jelszó!" ...
define(function (require) { 'use strict'; var marked = require('marked/lib/marked'); var utils = require('flight/lib/utils'); return withMarkedRenderer; function withMarkedRenderer() { this.renderer = function (id, clean) { var $this = this; var id_counter = 1; var renderer = new mark...
#!/usr/bin/env node console.log("hello world!"); process.exit(0);
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.16/esri/copyright.txt for details. //>>built define({widgetLabel:"Sistem\u0101tisks izm\u0113ra sl\u012bdnis"});
import React, {useState} from 'react'; import {On} from '../On'; import {Off} from '../Off'; import {ReactSwap} from '../../src/Component'; export function WithCallback() { const [opened, setOpened] = useState(false); return ( <div data-e2e="with-callback"> <h2>With callback (opened: {opened ? 'yes' : '...
let Promise = require('bluebird'); const config = require('../load_config'); const langfile = require('../../langfile'); let utils = require('../utils'); module.exports = { name: 'BannedWords', type: 'bannedword', enabled: true, strings: { warn: langfile.chatfilter.bannedword.warn, mut...
version https://git-lfs.github.com/spec/v1 oid sha256:ae6866611a047e7b79101c7a765c328e7f987c03ff9b98e54fc8f98a3c6c2023 size 5451
'use strict'; // Configuring the Articles module angular.module('trees').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', 'Trees', 'trees', 'dropdown', '/trees(/create)?'); Menus.addSubMenuItem('topbar', 'trees', 'List Trees', 'trees'); Menus.addSubMenuItem('topbar', 'tree...
'use strict'; angular.module('myApp') .controller('CommentCtrl', [function() { }]) .directive('comment', function() { return { restrict: 'AE', templateUrl: 'components/comment/comment.html', controller: 'CommentCtrl' } });
/* * Jake JavaScript build tool * Copyright 2112 Matthew Eernisse (mde@fleegix.org) * * 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-...
var users = require('../../app/controllers/users.s.controller'); var articles = require('../../app/controllers/articles.s.controller'); module.exports = function(app) { app.route('/api/articles') .get(articles.list) .post(users.requiresLogin, articles.create); app.route('/api/articles/:article...
describe('- Tests of data.js', () => { // const LOCAL_STORAGE_USERNAME_KEY = 'signed-in-user-username', // LOCAL_STORAGE_AUTHKEY_KEY = 'signed-in-user-auth-key'; // const clearLocalStorage = () => { // localStorage.removeItem(LOCAL_STORAGE_USERNAME_KEY); // localStorage.removeItem(LOCAL_STORAGE_AUTHKE...
dependencies = { layers: [ { name: "../demos/mobileCharting/src.js", resourceName: "demos.mobileCharting.src", dependencies: [ "demos.mobileCharting.src" ] } ], prefixes: [ [ "dojox", "../dojox" ], [ "demos", "../demos" ] ] }
var reports = {}; reports.closeReports = function() { var reportDiv = document.getElementById('reportDiv'); var cells = []; var params = { duration : document.getElementById('fieldBanDuration').value, banReason : document.getElementById('fieldBanReason').value, banReporter : document.getElementByI...
angular.module('resources.sprints', ['mongolabResource']); angular.module('resources.sprints').factory('Sprints', ['mongolabResource', function (mongolabResource) { var Sprints = mongolabResource('sprints'); Sprints.forProject = function (projectId) { return Sprints.query({projectId:projectId}); };...
// Here is where you can define configuration overrides based on the execution environment. // Supply a key to the default export matching the NODE_ENV that you wish to target, and // the base configuration will apply your overrides before exporting itself. export default { // ========================================...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppBar = exports.appBarFactory = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerab...
/* Simple pong response on a ping message directed at the bot */ var exports = module.exports = {}; var message_handler = function(message_content, e, bot, callback){ var reply_message = "Currently installed commands are: \n!"; if(!e){ console.log("Event isn't set, I can't reply to this message!"); } ...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
/*! * okayNowThis.js v1.0.1 * A jQuery plugin that makes pausing and resuming queued functions a cinch. * https://github.com/jessengatai/okayNowThis.js * MIT License * by Jesse Ngatai - http://jessengatai.com */ (function ( $ ) { let ok_remaining = ''; let ok_methods = { /** * Build the queue * @para...
(function() { 'use strict'; angular .module('app') .filter('TrustHtmlFilter',TrustHtmlFilter); TrustHtmlFilter.$inject = ['$sce']; function TrustHtmlFilter(html) { return $sce.trustAsHtml(html); } })();
import { Component, createElement } from 'react' import PropTypes from 'prop-types' import ResizeObserver from 'resize-observer-polyfill' import getTypes from './get-types' import getContentRect from './get-content-rect' import getWindowOf from './get-window-of' function withContentRect(types) { return WrappedCompo...
import DataType from 'sequelize'; import Model from '../sequelize'; const TransitLink = Model.define('TransitLink', { id: { type: DataType.INTEGER, autoIncrement: true, primaryKey: true }, uuid: { type: DataType.UUID, defaultValue: DataType.UUIDV1, unique: true }, slug: { t...
'use strict'; /* The WebsocketEvent object stores all the relevant event information. */ var WebsocketEvent = function(data, success_callback, failure_callback) { var attr; this.success_callback = success_callback; this.failure_callback = failure_callback; this.name = data[0]; attr = data[1]; if (attr !=...
/* (The MIT License) Copyright (C) 2005-2013 Kai Davenport 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, m...
#!/usr/bin/env node /*jslint node */ var fs = require('fs'); var glob = require('glob'); var chalk = require('chalk'); function read(fileName) { return fs.readFileSync(fileName, 'utf8'); } function analyze() { var outDir = "."; if (!fs.existsSync('package.json')) { exit(1, "Expected a file 'package.json' in th...
/** * User: Jinqn * Date: 14-04-08 * Time: 下午16:34 * 上传图片对话框逻辑代码,包括tab: 远程图片/上传图片/在线图片/搜索图片 */ (function () { var uploadFile, onlineFile; window.onload = function () { initTabs(); initButtons(); }; /* 初始化tab标签 */ function initTabs() { var tabs = $G('tabhead')...
version https://git-lfs.github.com/spec/v1 oid sha256:499c35db827e9e2d6545a850beb158c754184a92f4f13038455fbb3ffd02b087 size 12796
import { Component } from "react"; import SessionStore from "../stores/SessionStore"; class DeviceAdmin extends Component { constructor() { super(); this.state = { admin: false, }; this.setIsAdmin = this.setIsAdmin.bind(this); } componentDidMount() { SessionStore.on("change", this.se...
describe('material.components.menuBar', function() { var attachedMenuElements = []; beforeEach(module('material.components.menuBar')); afterEach(function() { attachedMenuElements.forEach(function(element) { element.remove(); }); attachedMenuElements = []; }); describe('MenuBar', function(...
$(document).ready(function(){ function ReadCookie() { var allcookies = document.cookie; //document.write ("All Cookies : " + allcookies ); // Get all the cookies pairs in an array cookiearray = allcookies.split(';'); // Now take key value pair out of this array for(var i=0; i<cookiearray.length...
import React, { Component } from 'react' import PropTypes from 'prop-types' import uploadSteps from '@src/config/constants/upload' import { grey500, greyDark, grey100 } from '@src/styles/colors' const NUMBER_OF_ROWS = 5 class DataUploadGrid extends Component { constructor(props) { super(props) this.state ...
#!/usr/bin/env node var mkdir = require('fs').mkdir; var rimraf = require('rimraf').sync; var chalk = require('chalk'); var broccoli = require('broccoli'); var copyRecursivelySync = require('broccoli-kitchen-sink-helpers').copyRecursivelySync; process.env.BROCCOLI_ENV = process.env.BROCCOLI_ENV || 'production'; var t...
const title = 'transform.scaleTo: ' const transform = require('../../index').transform const scaleTo = transform.scaleTo const IDENTITY = transform.IDENTITY const HALF = transform.HALF const X2 = transform.X2 module.exports = (ts) => { ts.test(title + 'basic scalings', (t) => { const c1 = { x: 0, y: 0 } t.tr...
'use strict' const path = require('path') const utils = require('./utils') const webpack = require('webpack') const config = require('../config') const merge = require('webpack-merge') const baseWebpackConfig = require('./webpack.base.conf') const CopyWebpackPlugin = require('copy-webpack-plugin') const HtmlWebpackPlug...
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{w2l6:function(t,e,n){"use strict";n.r(e);var a=n("q1tI"),l=n.n(a),u=n("Zttt"),o=n("vrFN");e.default=function(){return l.a.createElement(u.a,null,l.a.createElement(o.a,{title:"404: Not found"}),l.a.createElement("h1",null,"NOT FOUND"),l.a.createElement("p",null,"Y...
import { moduleFor, test } from 'ember-qunit'; moduleFor('route:createuser', 'Unit | Route | createuser', { // Specify the other units that are required for this test. // needs: ['controller:foo'] }); test('it exists', function(assert) { let route = this.subject(); assert.ok(route); });
const objectsRequester = function(genericRequester) { const requester = genericRequester; if(!requester) { throw 'Requester provider cannot be null.'; } function getObjectsPage(directory, pageNumber) { return requester.get(`${directory}/${pageNumber}`) } function addNewObject(d...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.16/esri/copyright.txt for details. //>>built define("require exports ../../core/tsSupport/declareExtendsHelper ../../core/tsSupport/decorateHelper ../../core/accessorSupport/decorators ./ActionBase".split(" "...
var Node = require('./Node'); var MathFunctionNode = require('./MathFunctionNode'); module.exports = TruncNode; function TruncNode(options){ options = options || {}; options.functionName = 'trunc'; MathFunctionNode.call(this, options); } TruncNode.prototype = Object.create(MathFunctionNode.prototype); TruncNode.pr...
export const DEFAULT_CURRENT_DATE = new Date(); DEFAULT_CURRENT_DATE.setDate(1); export const language = { ms0: 'January', ms1: 'February', ms2: 'March', ms3: 'April', ms4: 'May', ms5: 'June', ms6: 'July', ms7: 'August', ms8: 'September', ms9: 'October', ms10: 'November', ms11: 'December', d...
/** * * @param options * @returns {*} */ jDoc.engines.RTF.prototype._controlWordsParsers.lin = function (options) { var parseParams = options.parseParams, parseResult = options.parseResult, propertyName, param = options.param; if (parseParams.currentTextElementParent) { if (...
QUnit.module("Mapping Tests"); QUnit.test("Given a mapping service I can query something", function (assert) { var mapping = OpenData.Mapping(); assert.strictEqual(mapping.Query() !== undefined, true); }); QUnit.test("Given a mapping query, when I draw it, I expect a drawn list", function (assert) { var theDraw...