text
stringlengths
2
1.05M
export default ` area[name="Bordeaux"][admin_level="8"]; rel(pivot); // print results out body geom; `
'use strict'; /** * Returns a function that establishes the first prototype passed to it * as the "source of truth" and patches its methods on subsequent invocations, * also patching current and previous prototypes to forward calls to it. */ module.exports = function makeAssimilatePrototype() { var storedPrototy...
import styled from "styled-components"; export const ClockContainer = styled.div` display: none; @media (min-width: 28rem) { font-family: "Roboto", sans-serif; cursor: default; display: flex; align-items: center; text-align: center; justify-content: center; ...
import Base from 'ember-validations/validators/base'; import ibantools from 'npm:ibantools'; import _ from 'lodash/lodash'; export default Base.extend( { call: function(){ if( !_.isEmpty( this.model.get( this.property ) ) && !ibantools.isValidIBAN( this.model.get( this.property ) ) ){ this.erro...
import axios from 'axios'; import qs from 'qs'; import { Message } from '@alifd/next'; import { browserHistory } from 'react-router'; import { isPlainObject } from './nacosutil'; // import { SUCCESS_RESULT_CODE } from '../constants'; const API_GENERAL_ERROR_MESSAGE = 'Request error, please try again later!'; function...
'use strict'; let assert = require('assert'); let utils = require('../utility/testUtils'); let _ = require('lodash'); describe('Test workshop endpoints', function () { beforeEach(function (done) { // Start the node server utils.startServer(true, function () { done(); }); }); it('should succe...
(function () { var touchScreen = (function () { var result = null; if ('maxTouchPoints' in navigator) { result = navigator.maxTouchPoints > 0; } else if ( window.matchMedia && window.matchMedia('(any-pointer:coarse),(any-pointer:fi...
import Pagination from '../vc-pagination/locale/pt_BR' import DatePicker from '../date-picker/locale/pt_BR' import TimePicker from '../time-picker/locale/pt_BR' import Calendar from '../calendar/locale/pt_BR' export default { locale: 'pt-br', Pagination, DatePicker, TimePicker, Calendar, Table: { filte...
describe("HTMLMediaElement", function() { var player; var element; var parentNode; var domElem; var NETWORK_EMPTY = 0, NETWORK_IDLE = 1, NETWORK_LOADING = 2, NETWORK_NO_SOURCE = 3; var HAVE_NOTHING = 0, HAVE_METADATA = 1, HAVE_CURRENT_DATA = 2, HAVE_FUTURE_DATA = 3, HAVE_ENOUGH_DATA = 4; var METADATA_TIME...
/* globals KonchatNotification */ Blaze.registerHelper('pathFor', function(path, kw) { return FlowRouter.path(path, kw.hash); }); BlazeLayout.setRoot('body'); FlowRouter.subscriptions = function() { Tracker.autorun(() => { if (Meteor.userId()) { this.register('userData', Meteor.subscribe('userData')); this...
/* jQWidgets v4.5.2 (2017-May) Copyright (c) 2011-2017 jQWidgets. License: http://jqwidgets.com/license/ */ !function(a){a.jqx.jqxWidget("jqxResponsivePanel","",{}),a.extend(a.jqx._jqxResponsivePanel.prototype,{defineInstance:function(){var b={width:null,height:null,collapseBreakpoint:1e3,collapseWidth:null,toggleButto...
'use strict'; const ZongJi = require("zongji"); const ls = require('leo-streams'); const moment = require("moment"); const logger = require("leo-logger")("mysql").sub("binloglistener"); logger.configure(/mysql\.binloglistener/, { info: true }); let typeMap = { writerows: 'update', updaterows: 'update', deleterows...
(function () { 'use strict'; angular .module('packs') .run(menuConfig); menuConfig.$inject = ['menuService']; function menuConfig(menuService) { // Set top bar menu items /*menuService.addMenuItem('topbar', { title: 'Packs', state: 'packs', type: 'dropdown', roles: ['a...
Search.setIndex({docnames:["assembly-1","assembly-2","data/binning/index","data/qc-assembly/index","data/viral/index","index","mag","virify"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domai...
var structa4l__range = [ [ "flags", "structa4l__range.html#a7504ba2a31c4c0dabd67f5f7a8b660b3", null ], [ "max", "structa4l__range.html#ae6ae7be4195c43f3f56b312dd46c55a1", null ], [ "min", "structa4l__range.html#a81c139fc8dda69559c9a4d2e4a9a3465", null ] ];
import Ember from 'ember'; export default Ember.Component.extend(Ember.Evented, { layoutName: 'components/bs-modal', classNames: ['modal'], classNameBindings: ['fade', 'isVis:in'], attributeBindings: ['role', 'aria-labelledby', 'isAriaHidden:aria-hidden', "ariaLabelledBy:aria-labelledby"], isAriaH...
import React from "react" import Layout from '../components/layout' import Pic from '../images/profile_pic.jpeg' export default function Home() { return ( <Layout> {/* <p>Hello World</p> */} {/* <img src={Pic}alt="Profile Pic"></img> */} <div> </div> </Layout> ) }
var searchData= [ ['calctrl_2eh',['calctrl.h',['../calctrl_8h.html',1,'']]], ['caret_2eh',['caret.h',['../caret_8h.html',1,'']]], ['cat_5fclasses_2eh',['cat_classes.h',['../cat__classes_8h.html',1,'']]], ['changes_5fsince28_2eh',['changes_since28.h',['../changes__since28_8h.html',1,'']]], ['chartype_2eh',['ch...
import { value } from 'ember-cli-page-object'; export default { scope: '.contact-info', email: value('input[name=email]') };
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: 'parityshift-site', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine...
/* YUI 3.8.0pr1 (build 140) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("datatype-xml-parse",function(e,t){var n=e.Lang;e.mix(e.namespace("XML"),{parse:function(e){var t=null;if(n.isString(e))try{n.isUndefined(ActiveXObject)||(t=new ActiveXOb...
// See http://brunch.io for documentation. exports.files = { javascripts: { joinTo: { 'vendor.js': /^(?!app)/, 'app.js': /^app/ } }, stylesheets: {joinTo: 'app.css'} }; exports.npm = { enabled: true, styles: { purecss: ['build/pure-min.css'] } }; exports.plugins = { babel: { ...
// $FlowIssue this is what mapbox/rehype-prism uses under the hood const refract = require("refractor"); // NOTE: This highlights template-strings as strings of CSS const styledHighlight = { "styled-template-string": { pattern: /(styled(\.\w+|\([^\)]*\))(\.\w+(\([^\)]*\))*)*|css|injectGlobal|createGlobalStyle|ke...
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6XX":function(t,e,r){var n=r("y1pI");t.exports=function(t){return n(this.__data__,t)>-1}},"/9aa":function(t,e,r){var n=r("NykK"),i=r("ExA7");t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},"/e88":function(t,e){t.exports="\t\n\v\f...
'use strict'; // Production specific configuration // ================================= module.exports = { // Server IP ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined, // Server port port: process.env.OPENSHIFT_NODEJS_PORT || process.env.PORT |...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @file 双向链表节点类实现 * @author silverbulletlee */ const ListNode_1 = require("../LinkedList/ListNode"); class DoublyListNode extends ListNode_1.ListNode { constructor(val) { super(val); this.prev = null; this.next = null...
"use strict"; /* author:jimages * date:jun 27 2013 * it is for login. */ //remove the label when the input focus. $("#username").focus(function() { $("#login label:first").css("display","none"); }); $("#password").focus(function() { $("#login label:last").css("display","none"); }); $(document).ready(toggle_label...
var currentDate = new Date(); var day = currentDate.getDate(); var month = currentDate.getMonth() + 1; var monthName; var hours = currentDate.getHours(); var mins = currentDate.getMinutes(); var secs = currentDate.getSeconds(); var strToAppend; if (hours >12 ) { hours1 = "0" + (hours - 12); strToAppend = "PM"; } ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[61],{ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.js": /*!**********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.js ***! \***********************...
webpackJsonp([25],{"SG+P":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o,a,s,u,c,d,f,l,g,h,p,m,v,b,k,C,_,y=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval(function(){return t._checkIfIdle()},3e4),this._lastUsedTime=0,thi...
import React, {Component} from 'react'; import KeyboardEventHandler from 'react-keyboard-event-handler'; import music from '../Music/music.mp3'; import onehour from '../Music/onehour.wav'; import itch from '../Music/itch.wav'; import testsubjects from '../Music/testsubjects.wav'; import difficult from '../Music/diffic...
import { html } from 'lit-htm' import Document from '../components/Document.js' import Head from '../components/Head.js' export default function Home() { const head = html`<${Head}> <title>Page title</title> <meta name="description" content="Page description" /> <!-- Any tags --> <//>` return html`...
let url = "https://coolors.co/573ced-7b9fe9-e349c5-feb870-9aece0"; let pallete = []; let cells, cols, rows; let offset, margin; let w, h; let graphics, bc; let pfc = -1; function setup() { createCanvas(800, 800); colorMode(HSB, 360, 100, 100, 100); angleMode(DEGREES); randomSeed(random(10000)); } function draw()...
export {default} from './note'
define({ root: ({ addDistance: "Add Length Unit", addArea: "Add Area Unit", label: "Label", abbr: "Abbreviation", conversion: "Conversion", actions: "Actions", areaUnits: "Area Units", distanceUnits: "Length Units", kilometers: "Kilometers", miles: "Miles", meters: "Meters"...
(function() { var CA, CAattrs, CAextensions, Forge, Promise, ServerAttrs, ServerExtensions, _, asterisksRe, fs, generateKeyPairAsync, ipAddressRe, path, pki; _ = require("lodash"); fs = require("fs-extra"); path = require("path"); Forge = require("node-forge"); Promise = require("bluebird"); fs = Pr...
import React from 'react' import { mount } from 'enzyme' import Avatar from '..' import mountTest from '../../../../tests/shared/mountTest' describe('Avatar Render', () => { mountTest(Avatar) let originOffsetWidth beforeAll(() => { // Mock offsetHeight originOffsetWidth = Object.getOwnPropertyDescriptor...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/App/pages/contact.vue?vue&type=script&lang=js&": /*!***********************************************************************************************...
function Dataset (options) { this.name = options.name; this.rs = {}; return this; } Dataset.prototype.loadMeta = function () { // includes details of available recordsets var dataset = this; d3.json(dataset.name+'/meta.json',function(error,json){ if (error) return console.warn(error); dataset.meta ...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2013 Matthew Christopher Kastor-Inare III, Atropa Inc. Intl * All rights reserved. * * Contributed to Ajax.org under the BSD license. * * Redistribution and use in source and binary forms, with or without * modification, ...
import isObservable from 'is-observable' import {type ComponentStyleType} from '../types' const isObject = value => typeof value === 'object' && value !== null && !Array.isArray(value) const separateStyles = (styles: Object): { dynamicStyle?: ComponentStyleType, staticStyle?: ComponentStyleType } => { const ...
module.exports = { siteMetadata: { title: `Julian Garcia`, description: `Julian Garcia. Monash University. Computer Science. Cooperation.`, author: `@gatsbyjs`, }, plugins: [ `gatsby-plugin-react-helmet`, `gatsby-plugin-netlify-cms`, { resolve: `gatsby-source-filesystem`, optio...
/* *@lhgcore - JavaScript Library v1.0.0 - Date : 2009-7-14 *@Copyright lhgcore.js (c) 2009 By LiHuiGang Reserved */ (function(){var g=window.lhgcore=window.J=function(a,d){return g.ret.init(a,d)};g.ret=g.prototype={init:function(a,d){a=(a=='body')?document.body:(a=='doc')?document:a;if('string'==typeof(a)){if(a.in...
/*! * Copyright 2020, 2021 Visulate LLC. 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
import { Text, Guid, _SPKillSwitch, Validate } from '@microsoft/sp-core-library'; import TraceLogger from '../Trace/TraceLogger'; import QosLogger from './QosLogger'; import EngagementLogger from '../Engagement/EngagementLogger'; import DiagnosticsSettingsManager from '../../DiagnosticsSettingsManager'; var QosMon...
// Copyright (c) 2020, Battelle Memorial Institute // All rights reserved. // 1. Battelle Memorial Institute (hereinafter Battelle) hereby grants // permission to any person or entity lawfully obtaining a copy of this // software and associated documentation files (hereinafter "the Software") // to redist...
/*! * bcoin.js - a javascript bitcoin library. * Copyright (c) 2014-2015, Fedor Indutny (MIT License). * Copyright (c) 2014-2017, Christopher Jeffrey (MIT License). * https://github.com/bcoin-org/bcoin */ /* eslint prefer-arrow-callback: "off" */ 'use strict'; /** * A bcoin "environment" which exposes all * c...
const initialViewState = { questionText: '', showOptions: false, noOfAnswers: 0, options: [], answered:[], }; export const showQuestion = (data, currentQuestion) => { viewState.questionText = data.questions[currentQuestion].question; viewState.noOfAnswers = data.questions[currentQuestion].answers.length,...
import Navbar from './components/Navbar'; import './App.css'; import { BrowserRouter as Router, Switch, Route, Redirect } from 'react-router-dom'; import axios from 'axios'; import useAuth from './hooks/auth'; import Home from './pages/Home'; import Signup from './pages/Signup'; import Login from './pages/Login'; fun...
let config = { port: 3000, host: 'localhost', session: { secret: 'huangxinzheng', resave: true, //即使 session 没有被修改,也保存 session 值,默认为 true(!不添加报错,下同) saveUninitialized: false, // 设置为 false,强制创建一个 session,即使用户未登录 cookie: { maxAge: 1000 * 60 * 60 * 24 // 过期时间...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const readLines_1 = __importDefault(require("../readLines")); const path_1 = __importDefault(require("pa...
"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 = R...
const vote = require('../../controllers/Listing/vote'); const voteListing = async (req, res, next) => { const username = req.session.user.username; const { id, type } = req.params; if (type !=='up' && type !=='down') { return next(); } try { await vote(id, username, type); r...
import Spell from '../../models/Spell'; import Token from '../tokens'; import C from '../../models/Constants'; class StoneHeart extends Spell { constructor(level) { super({ name: 'Stone Heart', code: 'stoneHeart', type: C.HealSpell, tier: C.Advanced, element: C.Earth, heal: 27...
import request from '@/utils/request' /* 权限管理相关的API请求函数 */ const api_name = '/admin/acl/permission' export default { /* 获取权限(菜单/功能)列表 */ getPermissionList() { return request({ url: `${api_name}`, method: 'get' }) }, /* 删除一个权限项 */ removePermission(id) { return request...
/*! Parser-Lib Copyright (c) 2009-2016 Nicholas C. Zakas. All rights reserved. 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...
import { actionEnums } from '../admin-action-enum' import { getSectionsServices, postSectionServices, deleteSectionsServices, getfindIDServies, updateSectionServices, /**SUBJECT */ getSubjectFindIdServies, getSubjectServies } from '../../services/admin/section.services' const sectionRequest = () => { ...
import React from 'react' import { graphql } from 'gatsby' import Img from 'gatsby-image' import Layout from '../components/layout' const ProductTemplate = ({ data: { contentfulProduct }, location }) => ( <Layout> <div style={{ marginLeft: '0 auto', width: '100%', textAlign: 'cente...
export default (function CrappyStyleSheets() { const prototype = {}; function property(name, value) { return [name, ':', value, ';'].join(''); } [ 'accelerator', 'animation', 'azimuth', 'background', 'background-attachment', 'background-color', ...
const Actions = { days: document.getElementById("days"), painter: document.getElementById("painter"), scholl: document.getElementById("scholl"), painterTwo: document.getElementById("painter2"), schollTwo: document.getElementById("scholl2"), redeemValues(){ return { days: this.days.valu...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = fac...
setTimeout(function () { $("#bigSlider").owlCarousel({ autoplay: true, autoPlaySpeed: 2000, autoPlayTimeout: 1000, autoplayHoverPause: false, responsive: { // breakpoint from 0 up 0: { autoWidth: false, items: 2, ...
/* ****************************************************************** *********************************** *** Natural: A remote desktop for embed systems. *** By Alejandro Linarez Rangel. *** Pure desktop event manager. *********************************** ****************************************************************...
import React from "react"; import PropTypes from "prop-types"; import styles, { _reviewTextStyle } from "./StarReview.style"; import { View, Text } from "react-native"; import NumberFormat from "react-number-format"; import Icon from "react-native-dynamic-vector-icons"; const StarReview = props => { container = []; ...
import React from "react" import PropTypes from "prop-types" import { Select } from "antd" const Option = Select.Option const Cascader = props => { return ( <div> <label>{props.label}</label> <Select showArrow allowClear style={props.style} placeholder={props.placehol...
const pi = Math.PI; module.exports = { diameter(radius) { return 2 * radius; }, circumference(radius) { return pi * 2 * radius; }, area(radius) { return pi * radius * radius; } }; console.log(module);
const middlewareObj = {}; const TASK = require('../models/task'); const USER = require('../models/user'); const DB = require('../models'); middlewareObj.checkTaskOwner = (req, res, next) => { DB.TASK.findById(req.params.taskID) .then((task) => { if(req.isAuthenticated() && task.author.id.equals(req...
/*==== result-chart =====*/ var ctx = document.getElementById('line-chart'); Chart.defaults.global.defaultFontFamily = 'Cabin'; Chart.defaults.global.defaultFontSize = 14; Chart.defaults.global.defaultFontStyle = '500'; Chart.defaults.global.defaultFontColor = '#808996'; var chart = new Chart(ctx, { // The type of...
import React, { Component } from 'react'; import { Redirect } from 'react-router-dom' class ClickableComponent extends React.Component { constructor(props) { super(props); this.state = {}; this.handleOnClick = this.handleOnClick.bind(this); // tells JavaScript to make the "this" variable within handl...
/** * @type App.ExWindow */ const exWindow = window; const canShowSaveDialog = () => exWindow.showSaveDialog !== undefined; const canShowOpenDialog = () => exWindow.showOpenDialog !== undefined; /** * Displays a modal Open Dialog box. * * This function is not available in server mode. * * @see https://www.electr...
const Versions = require("../api/APIVersions.json"); const fs = require("fs"); const deprecatedVersions = Versions.deprecatedVersions || []; const ValidateAPIVersion = (req, res, next) => { try { const checkVersion = fs.readdirSync(`./src/api/versions/v${req.params.version}`) || null; if (chec...
module.exports = function toReadable(number) { //function toReadable(number) { const ranks = ['zero', 'thousand', 'million', 'billion', 'trillion', 'quadrillion', 'quintillion', 'sextillion', 'septillion']; // Available digits var result = []; numberWithSpaces(number).reverse().forEach((element, index...
const chai = require("chai"); const expect = chai.expect; const chaiAsPromised = require("chai-as-promised"); chai.use(chaiAsPromised); const Client = require("../../src/us_extract/Client"); const Lookup = require("../../src/us_extract/Lookup"); const Result = require("../../src/us_extract/Result"); const MockSender = ...
const RobinhoodAPI = require('robinhood-api'); export default class { constructor() { this.api = new RobinhoodAPI(); this.context = this; } async connect(username, password, mfaCode) { try { if (typeof this.api.token === 'undefined' || this.api.token == null) { if (mfaCode === '') { ...
// Copyright 2018 Google LLC // // 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 // // Unless required by applicable law or agreed to in ...
/*! * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ // jQuery to collapse the navbar on scroll // function collapseNavbar() { // // if ($(".navbar").offset().top > 50) { //...
import { GammaEncoding, LinearEncoding, RGBEEncoding, RGBM7Encoding, RGBM16Encoding, RGBDEncoding, sRGBEncoding } from '../../../../build/three.module.js'; import { TempNode } from '../core/TempNode.js'; import { ConstNode } from '../core/ConstNode.js'; import { FloatNode } from '../inputs/FloatNode.js'; import...
import { describe, PropTypes } from 'react-desc'; import { getAvailableAtBadge, themeDocUtils } from '../../utils'; export const doc = MaskedInput => { const DocumentedMaskedInput = describe(MaskedInput) .availableAt(getAvailableAtBadge('MaskedInput')) .description('An input field with formalized syntax.') ...
const HtmlWebpackPlugin = require('html-webpack-plugin'); const path = require('path'); const webpack = require('webpack'); const webpackBaseConfig = require('../../webpackBaseConfig'); module.exports = { ...webpackBaseConfig, entry: path.resolve(__dirname, 'index.js'), mode: process.env.NODE_ENV || 'development...
/*! For license information please see 741.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[741],{54:(t,e,n)=>{"use strict";n.d(e,{Z:()=>Lr});var i=Object.freeze({});function r(t){return null==t}function o(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==t...
/* * Copyright 2018 ThoughtWorks, Inc. * * 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...
'use strict'; /* global Promise */ var PromiseA; try { PromiseA = require('bluebird'); } catch(e) { PromiseA = Promise; } var util = require('util'); if (!util.promisify) { util.promisify = PromiseA.promisify; } function promisifyAll(obj) { var aobj = {}; Object.keys(obj).forEach(function (key) { aobj[ke...
'use strict'; module.exports = (sequelize, DataTypes) => { var posts = sequelize.define('posts', { img_link: DataTypes.STRING, description: DataTypes.STRING, tags: DataTypes.STRING, userId: DataTypes.INTEGER }, { classMethods: { associate: function(models) { // associations can be ...
var config = require('../config') var webpack = require('webpack') var merge = require('webpack-merge') var utils = require('./utils') var baseWebpackConfig = require('./webpack.base.conf') var HtmlWebpackPlugin = require('html-webpack-plugin') // add hot-reload related code to entry chunks Object.keys(baseWebpackConf...
module.exports = require("./lib/redirect");
import merge from 'lodash.merge'; import * as types from '../constants/ActionTypes'; const initialState = { grouplist: [], users: [], }; export default function entities(state = initialState, action) { let index = -1; let group = null; switch (action.type) { case types.LOGOUT: return { ...initial...
const Notifications = () => import('../pages/Index.vue'); export default { name: 'core.notifications.index', path: '/core/notifications/index', component: Notifications, meta: { breadcrumb: 'notifications', title: 'Notifications', }, };
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
// Generated by CoffeeScript 1.4.0 (function() { var Teacup, doctypes, elements, merge_elements, tagName, _fn, _fn1, _fn2, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, __slice = [].slice, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] ...
export default { html: `[]`, async test({ assert, component, target }) { await component.go(); assert.htmlEqual(target.innerHTML, `[42]`); } };
socket.emit('join', 'your name'); // <-- Update let mouseX, mouseY; document.addEventListener('mousemove', (event) => { mouseX = event.pageX; mouseY = event.pageY; }); class MouseFollower extends Component { update() { super.update(); this.gameObject.x = mouseX; this.gameObject.y = mouseY; } } const go =...
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { 'use strict'; return "#ifdef INSTANCED\n\ attribute vec2 direction;\n\ #endif\n\ attribute vec4 positionHighAndScale;\n\ attribute vec4 positionLowAndRotation;\n\ attribute vec4 compressedAttribute0;\n\ attri...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
// @flow import * as React from "react"; import styled, { css } from "styled-components"; import defaultTheme from "../defaultTheme"; import Button from "../Button"; import ButtonLink from "../ButtonLink"; import FormLabel from "../FormLabel"; import FormFeedback from "../FormFeedback"; import Attachment from "../icon...
module.exports = function index(app) { "use strict"; require('./server')(app); require('./express')(app); };
"use strict"; if (process.env.NODE_ENV === 'development') { const electronHot = require('electron-hot-loader'); electronHot.install({higherOrderFunctions: ['connect']}); electronHot.watchJsx(['src/**/*.jsx']); electronHot.watchCss(['src/assets/**/*.css']); } require('./index.jsx');
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h(h.f, null, h("path", { d: "M20 6H4l8 5zM4 8v10h16V8l-8 5z", opacity: ".3" }), h("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 2l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10...
import { observable, action, runInAction } from 'mobx'; import Api from '../../models/Api'; class PostsStore { @observable posts = []; @observable postInputMessage; @observable isPosting = false; constructor(store, client) { this.store = store; this.api = new Api('api/posts', client); } @action.b...
/*global require, applicationContext*/ //////////////////////////////////////////////////////////////////////////////// /// @brief A Foxx.Controller to show all Foxx Applications /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2013 triagens GmbH, Cologne, Germany /// /// Licensed under the Apache License, Vers...
export default ({ route }) => { if (process.browser) { // https://zz.bdstatic.com/linksubmit/push.js const r = `${window.location.origin}${route.path}`; const t = document.referrer; const i = new Image(); let o = 'https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif'; ...