code
stringlengths
2
1.05M
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var server = http.createServer(function (req, res) { if (/^\/[^\/.]+$/.test(req.url)) { req.url = '/'; } ecstatic(req, res); }); server.listen(5001); console.log('http://localhost:5001');
'use strict'; // MODULES // var mustache = require( 'mustache' ); var validate = require( './validate.js' ); // TEMPLATES // var URL = 'https://github.com/{{owner}}/{{repo}}/issues'; var IMAGE = 'https://img.shields.io/github/issues{{#raw}}-raw{{/raw}}/{{owner}}/{{repo}}.{{format}}?style={{style}}'; mustache.pars...
module.exports = { init: function () { //Add here your scaling options }, preload: function () { //Load just the essential files for the loading screen, //they will be used in the Load State game.load.image('loading', 'assets/loading.png'); game.load.image('load_progress_bar', 'assets/progres...
function AppRun(AppConstants, $rootScope) { 'ngInject'; $rootScope.$on('$stateChangeSuccess', (event, toState) => { $rootScope.setPageTitle(toState.title); }); $rootScope.setPageTitle = (title) => { $rootScope.pageTitle = ''; if (title) { $rootScope.pageTitle += title; $rootScope.pageT...
require('./tweet.less'); var appFunc = require('../utils/appFunc'), commentModule = require('../comment/comment'), template = require('./tweet.tpl.html'); var id; var tweetModule = { init: function(query){ id = query.id; appFunc.hideToolbar(); this.bindEvents(); // rende...
console.log("Manipulating DOM"); var addButton = function() { var story_id = $(this).attr("id"); var story_link = story_id + "_link"; $("<div class=\"factbuddy\" style=\"margin: 10px 0 -12px 0; padding: 9px 0; border-top: 1px solid #e5e5e5;\">" + "<span>" + '<a class="factbuddy-open" id="' + story_link + '" h...
const hooks = require('hooks'); hooks.after('Resource > Update Resource', (transaction, done) => { const body = JSON.parse(transaction.test.request.body); delete body.token; transaction.test.request.body = JSON.stringify(body); done(); });
export { default as QuestionnaireNewEdit } from './containers/questionnaire-new-edit-form'; export { default as Questionnaire } from './model/questionnaire';
var React = require('react'); var ReactNative = require('react-native'); var { AppRegistry, StyleSheet, View, TouchableOpacity, Text } = ReactNative; var Spinner = require('react-native-spinkit'); var Example = React.createClass({ getInitialState() { return { index: 0, types: ['CircleFli...
import Ember from 'ember'; import layout from './template'; import BasePickerMixin from 'ember-datetime-controls/mixins/base-picker-mixin'; const { Component, get, set } = Ember; export default Component.extend(BasePickerMixin, { layout, classNames: ['dt-period'], //functions onDateFromChange(newDate) ...
/** * This task builds and launches the node.js server. * This node.js server serves the application. * Even if the server rendering is disabled, the server serves the * static website. * Then it launches browser-sync to proxy requests to the node.js server. * Browser-sync allows live reloading ONLY if a public r...
let Logic = class { constructor() { this.previousCells = 0; this.currentCells = 0; } /** * Make game step with matrix calculation * @param {String} currentColor * @param {Array} matrix */ newStep(currentColor, matrix) { if (matrix.length) { let ...
'use strict'; const jQuery = require('jquery'); import * as customFunctions from '../shared/methods/common-functions.js'; const FutureEventsCtrl = (app) => { app.controller('FutureEventsCtrl', ['$scope', '$http', 'futureEventsRESTResource', `$rootScope`, ($scope, $http, resource, $rootScope) => { $scope.error...
/** * @license Angular v4.4.7 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/common/testing'), require('@angular/core'), require('@angular/...
import Ember from 'ember'; import EmberValidations from 'ember-validations'; import { buildContainer } from '../helpers/container'; import Base from 'ember-validations/validators/base'; var user, User; var get = Ember.get; var set = Ember.set; module('Validate test', { setup: function() { User = Ember.Object.ex...
'use strict'; const fs = require( 'fs' ); const path = require( 'path' ); const bo = require( 'business-objects' ); const DaoBase = bo.dataAccess.DaoBase; const Argument = bo.system.Argument; const daoBuilder = function ( dataSource, modelPath, modelName ) { try { if (typeof dataSource !== 'string' || dataSour...
import styled from 'styled-components'; export default styled.div` height: ${props => 2 * props.size}px; width: ${props => 2 * props.size}px; `;
var searchData= [ ['cache',['Cache',['../class_engine_1_1_core_1_1_animation_cache.html#a2d677b71c3a959135f28bd15709d8c01',1,'Engine::Core::AnimationCache']]] ];
import React, {Component} from 'react' const firebase = window.firebase class HelloWorld extends Component { componentWillMount() { const fbref = this.props.data.getRef({fbref:'', parentRef:this.props.fbref}) this.cancelListener = this.props.data.setListener({ref:fbref, callback:(data) => this.setState({data...
/*! * jQuery Raty - A Star Rating Plugin - http://wbotelhos.com/raty * ------------------------------------------------------------------- * * jQuery Raty is a plugin that generates a customizable star rating. * * Licensed under The MIT License * * @version 2.4.5 * @since 2010.06.11 ...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import Component from '@ember/component'; import layout from '../templates/components/b-card-list'; export default Component.extend({ tagName: 'div', layout, classNames: ['b-card-list'] });
"use strict"; /** * Created by anzer on 2016/11/8. */ let nunjucks = require('nunjucks'); class ViewEngine { view(viewName, data) { return nunjucks.render(viewName, data); } } module.exports = function (app) { return { install(app){ nunjucks.configure(app.VIEW_PATH); ...
/*! * jquery.event.drag - v 2.2 * Copyright (c) 2010 Three Dub Media - http://threedubmedia.com * Open Source MIT License - http://threedubmedia.com/code/license */ // Created: 2008-06-04 // Updated: 2012-05-21 // REQUIRES: jquery 1.7.x ;(function( $ ){ // add the jquery instance method $.fn.drag = function( ...
'use strict'; /** * @namespace Divhide * @module Divhide * */ /** * * Divhide Library - An isomorphic library for you to use on javascript supported * devices. * * @type Object * @alias module:Divhide * @enum generators */ var Common = { /** * Type utility * @type {module:Divhide/Type} ...
'use strict'; const INDEX_PATH = '../src/index'; jest.unmock(INDEX_PATH); jest.mock('react-native', () => { //Local store each time the mockule is loaded. var fakeStore = {}; return ({ AsyncStorage: { setItem: jest.fn((key, value) => { return new Promise((resolve, reject) => { fakeStore[key] = valu...
var fs = require('fs'); var readline = require('readline'); var program = require('commander'); var _ = require('lodash'); program .arguments('<file>') .parse(process.argv); if (program.args.length === 0) { console.log('No file given'); process.exit(1); } var machine = { sp: 0, ...
'use strict'; // Dependencies var path = require('path'); // Command: env NODE_ENV // Project configurations if (process.env.NODE_ENV === 'production') { module.exports = { name: 'RESTful API - ExperTIC', enviroment: 'production', db: 'mongodb://127.0.0.1/expertic', keys: { movil: 'bd90b560496a464c30379...
// @flow import type { Action } from 'redux' import type { Epic } from 'redux-observable' import type { Contest, ContestCategory, Venue } from './contests' import { Observable } from 'rxjs/Observable' import 'rxjs/add/observable/of' import 'rxjs/add/operator/catch' import 'rxjs/add/operator/map' import 'rxjs/add/opera...
angular .module('inspinia') .controller('DashboardCtrl', function ($scope, Restangular) { $scope.projects = []; $scope.createProjectForm = true; $scope.projectForm = null; Restangular .all('projects') .getList() .then(function(projects) { ...
define(function(require) { function headerController($rootScope,$scope,user,$location,socket) { socket.connect(); socket.on('connected',function(res){ console.log(res); $scope.totalOnlineUsers = res.totalOnlineUsers; socket.me = res.me; }); ...
"use strict"; var sqlite3 = require('sqlite3').verbose(), fs = require('fs'), path = require('path'), parse = require('csv-parse'), xml2js = require('xml2js'), databaseName = 'hsuehshan.sql', dataDirectory = 'hsuehshan_data', vehicleDirectory = 'traffic', vehicleDetectorFilename = 'Tra...
import babel from 'rollup-plugin-babel'; import eslint from 'rollup-plugin-eslint'; import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import uglify from 'rollup-plugin-uglify'; export default { entry: 'src/main.js', dest: 'dist/main.min.js', format: 'umd', ...
'use strict'; module.exports = function(grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ connect: { options: { port: 9999, hostname: 'localhost', livereload: 35729 }, livereload: { options: { open: 'http://localhost:9999/src/devnomi-20...
import _ from 'lodash'; import * as d3 from 'd3'; import PropTypes from 'prop-types'; import React, {Component} from 'react'; import {BarChartWrapper, BarChartSvg} from './index.styles'; const DEFAULT_CHART_HEIGHT = 300; const DEFAULT_MARGINS = {top: 40, right: 20, bottom: 60, left: 80}; const DEFAULT_MARGINS_SMALL =...
const { Group } = require('../../../lib/db/models') async function home (req, res, next) { const groups = await Group.find({}) res.json({ groups }) } module.exports = home
;(function() { /** Used as a safe reference for `undefined` in pre-ES5 environments. */ var undefined; /** Used to detect when a function becomes hot. */ var HOT_COUNT = 150; /** Used as the size to cover large array optimizations. */ var LARGE_ARRAY_SIZE = 200; /** Used as the `TypeError` message for...
process.title = 'node-dummy'; process.addListener('uncaughtException', function (err, stack) { console.log('Caught exception: ' + err); console.log(err.stack.split('\n')); }); var connect = require('connect'); var assetManager = require('connect-assetmanager'); var assetHandler = require('connect-assetmanager-handler...
const hammerhead = window.getTestCafeModule('hammerhead'); const browserUtils = hammerhead.utils.browser; const featureDetection = hammerhead.utils.featureDetection; const testCafeCore = window.getTestCafeModule('testCafeCore'); const domUtils = testCafeCore.get('./utils/dom'); const textSelection = te...
function variants(num, to, fn, from = 0, attribs = []) { if (num == 1) { from = to; } for (let i=from; i<=to; i++) { let newAttribs = attribs.concat(); newAttribs.push(i); if (num > 1) { variants(num-1, to-i, fn, from, newAttribs); } else { fn(newAttribs); } } } function getIngr...
const express = require('express'); const request = require('request'); const cors = require('cors'); const morgan = require('morgan'); const smtpMail = require('./jason_mail'); import { sendSMS } from './helpers/sms.helper'; const schedule = require('node-schedule'); const apiServerHost = process.argv[2]; const app ...
import alt from '../../../exseed.core/alt'; import UserActions from '../actions/UserActions'; class UserStore { constructor() { this.bindActions(UserActions); if (process.env.BROWSER) { // client-side render this.token = localStorage.getItem('token'); this.user = JSON.parse(localStorage.ge...
window.onload = (function() { var WIDTH = 800, HEIGHT = 640; Crafty.init(WIDTH, HEIGHT); /* * Create Sprites of size 32 from the PNG file. * There is only one Sprite in the file. It is mostly transparent * so the background color will shine through it. */ Crafty.sprite(32, "...
// Download the Node helper library from twilio.com/docs/node/install // These consts are your accountSid and authToken from https://www.twilio.com/console // To set up environmental variables, see http://twil.io/secure const accountSid = process.env.TWILIO_ACCOUNT_SID; const authToken = process.env.TWILIO_AUTH_TOKEN; ...
var http = require("http"); var bl = require("bl"); var datas=[]; var index=0; for(var i=2;i<process.argv.length;i++){ callfunc(i); } function callfunc(i) { var url=process.argv[i]; http.get(url,function(res){ res.pipe(bl(function(err,data){ datas[i]=data.toString(); index++; if(index==...
const webpack = require('webpack') // Banner const bannerTemplate = require('./webpack.banner.js') const banner = bannerTemplate.replace('<module_format>', 'CommonJS') // Get externals from package.json dependencies const dependencies = Object.keys(require('./package.json').dependencies).concat(['angular', 'moment'])...
import logger from "winston"; import HttpClientPushSensor from "./http/HttpClientPushSensor"; import HttpServerPullSensor from "./http/HttpServerPullSensor"; import UdpClientPushSensor from "./udp/UdpClientPushSensor"; import app from "../server/app"; import storage from "../storage"; import SensorMeta from "./Sensor...
/* * Name: LineChartImpl.js * Module: DataModel * Location: Norris/Main/DataModel * Date: 2015-04-12 * Version: v1.00 * * History: * * ================================================================================ * Version Date Programmer Changes * =========================================================...
'use strict'; const Node = require('../Node'); class TableAlias extends Node { constructor(ident) { super(); this.name = ident.name; } childNodes() { return []; } } module.exports = TableAlias;
search_result['1919']=["topic_00000000000004AA.html","BlobDirectory.CompanyProfile Property",""];
/*======================================================== console battlefield against the computer. -you have 3 ships you can add. 2 destoyers (sized 1x4) and 1 battleship (sized 1x5) -input is to be added in a 2 value format: [A-J][0-9]. -details regarding battlefield map: 0 - Empty / 1 - Occupied(Ship) / 2 - Hi...
// 1. start the dev server var server = require('../../build/dev-server.js') // 2. run the nightwatch test suite against it // to run in additional browsers: // 1. add an entry in test/e2e/nightwatch.conf.json under "test_settings" // 2. add it to the --env flag below // For more information on Nightwatch's conf...
'use strict'; require("./phone-item.component.scss"); var PhoneItemComponent = require("./phone-item.component"); angular.module('phoneItem', []) .component('phoneItem', PhoneItemComponent);
angular.module('super').controller('view_celda.controller', ['$scope','$http','$routeParams', function($scope, $http, $routeParams){ $scope.reverse = false; $scope.field = 'fecha'; $scope.onFiltro = function(field){ $scope.reverse = !$scope.reverse; $scope.field = field; } $scope.tod...
import * as React from "react" import { Link } from "gatsby" import Layout from "../components/layout" import InstrumentPage from "../utils/instrument-page" const CompilationHashPage = () => ( <Layout> <h1>Hi from Compilation Hash page</h1> <p>Used by integration/compilation-hash.js test</p> <p> <...
export default [ { path: '/index/', component: require('./pages/index.vue') }, { path: '/teamManage/', component: require('./pages/teamManage.vue') }, { path: '/businessServices/', component: require('./pages/businessServices.vue') }, { path: '/companyList/', ...
export default { read: false, static: true };
/** * parse cli-options and exec placeholder. * * @type {exports} */ var nopt = require("nopt"); exports.cli = function() { var path = require("path"); // var knownOpts = {}; // var shortHands = {}; var knownOpts = { "config" : path, "version" :...
test('.prototype.times()', 8, function () { // integer equal((new MathLib.Integer('+10000000')).times(new MathLib.Integer('+10')).toString(), '100000000'); equal((new MathLib.Integer('+10000000')).times(new MathLib.Integer('-10')).toString(), '-100000000'); equal((new MathLib.Integer('-10000000')).times(new MathLi...
var yo = require('yo-yo') var remixLib = require('remix-lib') var EventManager = remixLib.EventManager var Terminal = require('./terminal') var styles = require('./styles/editor-panel-styles') var cssTabs = styles.cssTabs var css = styles.css class EditorPanel { constructor (opts = {}) { var self = this se...
/* * File: TableTools.js * Version: 2.1.4 * Description: Tools and buttons for DataTables * Author: Allan Jardine (www.sprymedia.co.uk) * Language: Javascript * License: GPL v2 or BSD 3 point style * Project: DataTables * * Copyright 2009-2012 Allan Jardine, all rights reserved. * ...
var express = require('express'); var app = express(); var server = require('http').createServer(app); var io = require('socket.io')(server); var getData = require('./services.js'); var port = process.env.port || 3000; var path = require('path'); app.use(express.static(path.join(__dirname, 'public'))); io.on('conne...
const Util = require('util'); const AbstractIterator = require('abstract-leveldown').AbstractIterator; const fastFuture = require('fast-future'); function Iterator(db, options) { AbstractIterator.call(this, db); this.binding = db.binding.iterator(options); this.cache = null; this.finished = false; this.fast...
import ensureArray from 'ensure-array'; import * as parser from 'gcode-parser'; import _ from 'lodash'; import SerialConnection from '../../lib/SerialConnection'; import EventTrigger from '../../lib/EventTrigger'; import Feeder from '../../lib/Feeder'; import Sender, { SP_TYPE_CHAR_COUNTING } from '../../lib/Sender'; i...
var app = angular.module('testangular', []);
var app = new Vue({ el:'#app', data:{ indexUpdate: -1, isActive: false, newTipoDespesa:{ id:'', descricao:'' }, tiposDespesa:[] }, mounted:function(){ this.findAll(); }, methods: { findAll: function () { ...
#!/usr/bin/env node 'use strict'; var infix = require('..'); var exp = infix.generateExpression(require('./random_expression')(10, 1)); function explicitlyCompile(iterations) { var f = infix.compile(exp, infix.nativeNumberProvider); var x = 0; for (var i = 0; i < iterations; i++) { x += f(i); } return x; } ...
search_result['516']=["topic_00000000000000FB_props--.html","ApplicantController Properties",""];
(function (window, document, Math) { var rAF = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) { window.setTimeout(callback, 1000 / 60); }; var utils = (function () { ...
define(['Child'], function(Child) { //an "superclass" for any object that can occupy a space function SpaceOccupant(space) { Child.call(this, space); } SpaceOccupant.prototype = Object.create(Child.prototype); SpaceOccupant.prototype.constructor = SpaceOccupant; SpaceOccupant.prototype.setSpace = fu...
/** * Swiper 7.0.0-alpha.26 * Most modern mobile touch slider and framework with hardware accelerated transitions * https://swiperjs.com * * Copyright 2014-2021 Vladimir Kharlampidi * * Released under the MIT License * * Released on: August 12, 2021 */ import Swiper from './core/core.js'; export { default as...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['3453',"Tlece.WebApp.Controllers Namespace","topic_0000000000000013.html"],['3458',"ErrorController Class","topic_000000000000001A.html"],['3459',"ErrorController Constructor","topic_000000000000001B.html"]];
export const messages = { code: { empty: 'Secret code is required.', unverified: 'Invalid code. You can try {codeAttemptsRemainingCount} more time(s).', maxAttempts: 'You have exceeded the maximum allowable secret code attempts.', alreadyApplied: 'Your code has already been validated. Please use the f...
module.exports = { base_dir : __dirname, name : 'components_test_app', preload_components : [ 'log_router', 'outside_components/preload' ], components : { web_sockets : false, http : true, log_router : { routes : { console : { ...
// run as: "babel-node --stage 0 loadClients.js" import mongobless, {ObjectId} from 'mongobless'; import {Company, Person, Mission, Note} from '../../src/server/models'; import async from 'async'; import _ from 'lodash'; import params from '../../params'; mongobless.connect(params.db, (err) => { if(err) throw err;...
/*! * Native JavaScript for Bootstrap Carousel v3.0.14 (https://thednp.github.io/bootstrap.native/) * Copyright 2015-2020 © dnp_theme * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE) */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefin...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) : (global = global || self, factory(global.ReactBigCalendar = {}, ...
/** * @license Highcharts JS v9.2.2 (2021-08-24) * * Vector plot series module * * (c) 2010-2021 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = fa...
/* airbrake-js v1.3.0 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.Airbrake = {})); }(this, (function (exports) { 'use st...
/*! * inputmask.js * https://github.com/RobinHerbots/Inputmask * Copyright (c) 2010 - 2018 Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 4.0.1-beta.6 */ !function(factory) { "function" == typeof define && define.amd ? define([ "./dependencyLibs/input...
/*! UIkit 3.6.11 | 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('uikitslider_parallax', ['ui...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('./turn-order-c2bfc680.js'); require('immer'); require('lodash.isplainobject'); require('./reducer-77599f21.js'); var ai = require('./ai-7339b9e7.js'); exports.Bot = ai.Bot; exports.MCTSBot = ai.MCTSBot; exports.RandomBot = ai.Ran...
/*! * Module dependencies */ var MPromise = require('mpromise'); var util = require('util'); /** * Promise constructor. * * Promises are returned from executed queries. Example: * * var query = Candy.find({ bar: true }); * var promise = query.exec(); * * DEPRECATED. Mongoose 5.0 will use native prom...
var SerialPort = require("serialport").SerialPort var util = require('util') var EventEmitter = require('events').EventEmitter; util.inherits(SerialTransport, EventEmitter); function SerialTransport(device,baud){ var self = this self.serialport = new SerialPort(device, { baudrate: baud, parser: require("serialpo...
// PopUp.js // A popup modal containing extra info. // Can accept a title prop that will be display as header text at top of the popup text // Image source passed as image prop will be displayed in black region at the top of the popup // onClose is called when the Close button is clicked. Must be an arrow function that...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16.83 5L15 3H9L7.17 5H2v16h20V5h-5.17zM12 18c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-9l-1.25 2.75L8 13l2.75 1.25L12 17l1.25-2.75L16 13l-2.75-1.25z" /> , 'CameraEnhanceSharp');
// Copyright IBM Corp. 2013,2016. All Rights Reserved. // Node module: strong-remoting // This file is licensed under the Artistic License 2.0. // License text available at https://opensource.org/licenses/Artistic-2.0 var g = require('strong-globalize')(); /*! * Expose `SharedMethod`. */ module.exports = SharedMetho...
/* * Copyright (C) 2012 by CoNarrative */ glu.DataModel = glu.extend(glu.Viewmodel, { constructor : function(config) { glu.log.debug('BEGIN datamodel construction'); this._private = this._private || {}; config.recType = config.recType || config.model || config.modelType; if (config...
module.exports = { __depends__: [ require('diagram-js/lib/features/move') ], __init__: ['bpmnReplacePreview'], bpmnReplacePreview: [ 'type', require('./BpmnReplacePreview') ] };
const { ModuleFederationPlugin } = require("../../../../").container; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { chunkIds: "named", moduleIds: "named" }, output: { strictModuleExceptionHandling: true }, plugins: [ new ModuleFederationPlugin({ name: "container...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
var Dispatcher = require('flux').Dispatcher; var _ = require('lodash'); var dispatcher = _.extend(new Dispatcher(), { /** * A bridge function between the views and the dispatcher, marking the action * as a view action. Another variant here could be handleServerAction. * @param {object} action The data co...
'use strict'; var convert = require('./convert'), func = convert('dropRight', require('../dropRight')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2ZwL2Ryb3BSaWdo...
(function (subdivision) { 'use strict'; subdivision.systemPaths = { prefix: 'subdivision' }; subdivision.vent = subdivision.createEventBus(); //This will move to service file function buildServicesInternal() { if (_.isFunction(subdivision.buildServices)) { subdivisi...
/* * Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the * National Aeronautics and Space Administration. All rights reserved. * * The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file...
const colors = require(`./colors`).default module.exports = { colors, mobile: `(min-width: 400px)`, Mobile: `@media (min-width: 400px)`, phablet: `(min-width: 550px)`, Phablet: `@media (min-width: 550px)`, tablet: `(min-width: 750px)`, Tablet: `@media (min-width: 750px)`, desktop: `(min-width: 1000px)`...
'use strict'; module.exports = function generate__limit(it, $keyword) { var out = ' '; var $lvl = it.level; var $dataLvl = it.dataLevel; var $schema = it.schema[$keyword]; var $schemaPath = it.schemaPath + it.util.getProperty($keyword); var $errSchemaPath = it.errSchemaPath + '/' + $keyword; var $...
import { indexOfItemContainingTarget } from "../core/dom.js"; import ReactiveElement from "../core/ReactiveElement.js"; // eslint-disable-line no-unused-vars import { firstRender, raiseChangeEvents, render, setState, state, tap, } from "./internal.js"; /** * A tap/mousedown on a list item makes that item ...
import { actionTypes } from 'redux-resource'; import { normalize, schema } from 'normalizr'; import { includedResources } from '../../src'; describe('includedResources', function() { it('does nothing for non-successful reads', () => { const reducer = includedResources('books'); const state = { selecte...