text
stringlengths
2
1.04M
import { Accounts } from "meteor/accounts-base"; Accounts.ui.config({ passwordSignupFields: "USERNAME_ONLY", });
//import logo from "./logo.svg"; import "./App.css"; import "bootstrap/dist/css/bootstrap.min.css"; import { Container } from "react-bootstrap"; import Home from "./components/home"; import Products from "./components/products"; import Header from "./components/common/header"; import Footer from "./components/common/fo...
import test from '../../..'; test('test title', t => { t.snapshot({foo: 'bar'}); t.snapshot({answer: 42}); }); test('another test', t => { t.snapshot(new Map()); });
macDetailCallback("601970000000/24",[{"d":"2015-01-06","t":"add","a":"Room -611, TianAn High-Tech Plaza II , Futian District, Shenzhen, China\nShenzhen Guangdong 518040\n\n","c":"CHINA","o":"HUIZHOU QIAOXING ELECTRONICS TECHNOLOGY CO., LTD."},{"d":"2015-08-27","t":"change","a":"Room -611, TianAn High-Tech Plaza II , Fu...
import { ERROR_TYPES } from "./errors.js"; export const isAvailableTeamName = (name) => { if (!name || name.length < 2) { throw ERROR_TYPES.NOT_VALIDATE_TEAM_NAME; } }; export const isAvailableUserName = (name) => { if (!name || name.length < 2) { throw ERROR_TYPES.NOT_VALIDATE_USER_NAME; } };
define(['shared/js/gesture_detector'], function() { 'use strict'; var GestureDetector = window.GestureDetector; /** * Style tag to put in the header of the body. We currently only support inline * styles in general, so these are primarily overrides and defaults. */ var DEFAULT_STYLE_TAG = '<style type="text/cs...
module.exports = (file, api) => { const j = api.jscodeshift; const root = j(file.source); root .find(j.AssignmentExpression, { left: { type: 'MemberExpression', object: { name: 'module' }, property: { name: 'exports' }, }, }) .forEach((path) => path.value.right.prop...
import { getAllRecipes, getRecipeComments, postCommentToRecipe, deleteComment, addRecipes } from '../../data/crud.utils'; import { generateIngredientKeywords } from '../../data/data.utils'; import RecipesActionTypes from './recipe.types'; export const updateRecipesAsync = () => { return dispatch => { dispa...
var data = { "body": "<path d=\"M21 11l2-2c-3.73-3.73-8.87-5.15-13.7-4.31l2.58 2.58c3.3-.02 6.61 1.22 9.12 3.73zM9 17l3 3l3-3a4.237 4.237 0 0 0-6 0zm10-4a9.895 9.895 0 0 0-3.72-2.33l3.02 3.02l.7-.69zM3.41 1.64L2 3.05L5.05 6.1C3.59 6.83 2.22 7.79 1 9l2 2c1.23-1.23 2.65-2.16 4.17-2.78l2.24 2.24A9.823 9.823 0 0 0 5 13l2 ...
var Palette = new Class({ map:null, initialize:function(map, els, keys){ this.map = map; this.els = els; this.els.each(function(el, i){ var brush_key = keys[i] || el.get('brush'), brush = new Brush(brush_key); this.map.brush_adopt(brush); el.store('brush', brush); ...
export function isNullOrEmpty(data) { if (data === null || data === undefined || data === '') { return true; } else { return false; } } export function isValidTcNo(tcNo) { if (isNullOrEmpty(tcNo)) { return false; } if (tcNo.substr(0, 1) == 0 || tcNo.length != 11) { ...
chrome.storage.sync.get( { tags: [] }, function(items) { hideIgnoredTags(items.tags); } ); function hideIgnoredTags(tags) { let blockedItems = []; tags.forEach(tag => { var tagElements = Array.from( document.querySelectorAll(`.single-article .tags a[href='/t/${tag}']`) ); tagElem...
module.exports = { entry: './lib/multi_resizer/multisizeImageLoader.js', output: { path: __dirname + '/public/js', filename: 'rvg-loader.js' }, module: { rules: [{ test: /\.js$/, exclude: /node_modules/, use: "babel-loader" }] } }
import Vuex from "vuex"; import { mount, createLocalVue } from "@vue/test-utils"; import DatasetInformation from "./DatasetInformation"; import datasetResponse from "./testData/datasetResponse"; import flushPromises from "flush-promises"; import createCache from "vuex-cache"; import moment from "moment"; const HDA_ID ...
import { PureComponent, createElement } from 'react'; import Proptypes from 'prop-types'; import { deburrUpper } from 'utils/utils'; import remove from 'lodash/remove'; import MultiSelectComponent from './multiselect-component'; export { default as component } from './multiselect-component'; export { default as style...
var a = require("access-policy"); var statements = '`;console.log(123);//'; data = {}; a.encode(statements,data)
import htmlChecker from './htmlChecker' import reuseChecker from './reuseChecker' export default function (React, ReactDOM, options = {}) { class WastageTesterMounting extends React.Component { componentDidMount () { htmlChecker(this._reactInternalInstance.constructor.prototype, this.props.options) ...
function on_page_show() { if (console != undefined) console.log("on_page_show"); //setup_motif_input(); } function show_db_upload() { var value = document.getElementById('target_db').value; if (value == 'upload') { show_hide('db_upload_div', ''); } else { show_hide('', 'db_upload_div'); } } //...
Object.getPrototypeOf = function getPrototypeOf(object) { if (object !== Object(object)) { throw new TypeError('Object.getPrototypeOf called on non-object'); } return object.constructor ? object.constructor.prototype : null; };
import { expect } from 'chai'; import React from 'react'; import * as Logic from '../logic'; describe('logic', () => { describe('isEnded', () => { it('should return false when there is status and it\'s equal to open in contract info', () => { const contract_info = { "status...
var class_plane_polygon = [ [ "AccessVRAM", "class_plane_polygon.html#a88e476aa4b627d7242dc4f1b5eccf889", null ], [ "CreateIndex", "class_plane_polygon.html#a55840ace8bfa216c37f94e963b3fa5e3", null ], [ "CreateMaterial", "class_plane_polygon.html#a4539899c78a222ddc651e45943a7f55b", null ], [ "CreateVert...
import { Meteor } from 'meteor/meteor'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { hasPermission } from 'meteor/rocketchat:authorization'; import { Users, Subscriptions, Rooms } from 'meteor/rocketchat:models'; import { settings } from 'meteor/rocketchat:settings'; import { roomTypes } from 'met...
/* krpano Embedding Script krpano 1.18.2 (build 2014-12-18) */ /* krpano HTML5 Viewer krpano 1.18.2 (build 2014-12-18) */ var krpanoJS={version:"1.18.2",build:"2014-12-18"}; function embedpanoJS(e){eval(function(d){var e=String.fromCharCode,n=1,k=d.length,b=null,g=null,a=0,h=0,m=0,c=0,j=0,l=0,f=0;try{e.apply(null,...
// Brunch automatically concatenates all files in your // watched paths. Those paths can be configured at // config.paths.watched in "brunch-config.js". // // However, those files will only be executed if // explicitly imported. The only exception are files // in vendor, which are never wrapped in imports and // theref...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; import ErrorMessage from './ErrorMessage'; window.gm_authFailure = () => { ReactDOM.render(<ErrorMessage/>, document.getElementById('root')); } ReactDOM.render(...
var CanvasKitInit = (function() { var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; return ( function(CanvasKitInit) { CanvasKitInit = CanvasKitInit || {}; var f;f||(f=typeof CanvasKitInit !== 'undefined' ? CanvasKitInit : {}); (function(a){a.yt=...
'use strict'; const JDate = require('./JDate.js'); const CacheSpaceOnJDate = require('./CacheSpaceOnJDate'); /** * JDateRepository * * JDateRepository 用于扩展储藏 JDate 组件计算的数值,便于获取并避免重复运算。 * 天文算法中经常用到儒略世纪与儒略千年相关的指数计算,重复计算此类数值将消耗系统大量运算量, * 此处引入该组件则是为了避免这种情况的发生。 * * @author 董 三碗 <qianxing@yeah.net> * @version 1.0....
dll.contextmenu = {}; dll.contextmenu.Menu = class extends dll.window.Window { constructor(origin, options = {}, offset = { x: 0, y: 0 }) { super(4, [], false); this.options = options; this.window.style.top = `${(origin.clientY - 40) + offset.y}px`; this.window.style.left = `${origin.clientX + offset.x}px`;...
import 'aurelia-polyfills'; import {json} from '../src/util'; describe('util', () => { describe('json', () => { it('creates JSON blobs', (done) => { let data = { test: 'data' }; let blob = json(data); expect(blob.type).toEqual('application/json'); let reader = new FileReader(); re...
define([ 'lodash' ], function (_) { 'use strict'; function SqlQueryBuilder(target) { this.target = target; } function renderTagCondition (tag, index) { var str = ""; var operator = tag.operator; var value = tag.value; if (index > 0) { str = (tag.condition || 'AND') + ' '; } ...
export * from './tahminler';
/** * @fileoverview Test for LineTypeSeriesBase. * @author NHN Ent. * FE Development Lab <dl_javascript@nhnent.com> */ import raphaelRenderUtil from '../../src/js/plugins/raphaelRenderUtil'; import raphael from 'raphael'; describe('RaphaelLineTypeBase', () => { describe('renderText()', () => { ...
/* * Kendo UI v2014.3.1223 (http://www.telerik.com/kendo-ui) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial lice...
onmessage = function(m){ postMessage({status:"info", data:"culling initiated"}); var words = [] var common = {"the":"the", "be":"be", "to":"to", "of":"of", "and":"and", "a":"a", "in":"in", "that":"that", "have":"have", "i":"i", "it":"it", "for":"for", "not":"not", "on":"on", "with":"with", "he":"he", ...
(function () { angular .module('aerialAnalysis', ['ui.router']) .run(($rootScope, $location, AuthService) =>{ $rootScope.$on('$routeChangeStart', function (event, next, current) { if (next.authorize) { if (!AuthService.getToken()) { /...
const TokenTypes = require('./token-type'); const SourceTag = Symbol('SourceTag'); class Token { constructor(type, source) { this.$type = type; if (source) { this[SourceTag] = source; } } toJSON() { return `*${this.$type}*`; } toString() { return `*${this.$type}*`; } } class Wrapp...
import 'babel-polyfill' import {newStore} from 'state/store' import {workerInit, streams} from 'utils/workers' import * as workers from 'state/workers' import createLogger, {logStream} from 'utils/logging' import initLinter from 'sagas/linter' import initTestRunner from 'sagas/test-runner' import initTranspiler from 's...
const genders = [ { namespace: 'PartyGender', strings: { name: { en: 'Male' } }, }, { namespace: 'PartyGender', strings: { name: { en: 'Female' } }, }, { namespace: 'PartyGender', strings: { name: { en: 'Unknown' } }, booleans: { default: true }, }, ]; export default genders;
function calc() { function rep() { if (n < f) { while (n <= f) { res.innerHTML += `${n}, ` n += int } } else if (n > f) { while (n >= f) { res.innerHTML += `${n}, ` n -= int } } el...
/** * Created by Maple on 9/4/15. */ var SkillInfo = ModelBase.extend({ ctor: function (id) { // 定义model结构 this._defineScheme({ id: [ "number", 0 ], // id name: [ "string", null ], // 名称 property: [function (val) { return typeof val == "num...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.trimFileName = void 0; var path = require("path"); var slashRegex = /[\\/]/g; function trimFileName(fileName, cwd, platform) { var _a; if (cwd === void 0) { cwd = process.cwd(); } // This allows tests to run regardless of c...
angular.module('authService', []) .factory('Auth', function($http, $q, AuthToken, $window) { var authFactory = {}; authFactory.login = function(email, password) { return $http.post('/api/users/authenticate', { email : email, password : password }) .success(function(data) { Au...
import path from 'node:path' import {PassThrough} from 'node:stream' import test from 'tape' import {engine} from '../index.js' import {noop} from './util/noop-processor.js' import {spy} from './util/spy.js' const fixtures = path.join('test', 'fixtures') test('file-path', (t) => { t.plan(2) t.test('should throw ...
//# sourceMappingURL=component---src-pages-index-js-9e84bb990599ce71e99e.js.map
/** * OneDrive */ const { URL } = require('url') const protocol = 'onedrive' const DEFAULT_ROOT_ID = 'root' const UPLOAD_PART_SIZE = 4 * 1024 * 1024 const support_zone = { GLOBAL: ['https://login.microsoftonline.com', 'https://graph.microsoft.com', '国际版'], CN: ['https://login.chinacloudapi.cn', 'https://micr...
import gulp from 'gulp'; import sass from 'gulp-sass'; import postcss from 'gulp-postcss'; import autoprefixer from 'gulp-autoprefixer'; import hash from 'gulp-hash'; import concat from 'gulp-concat'; import purgecss from 'gulp-purgecss'; import sourcemaps from 'gulp-sourcemaps'; //import notify from 'gulp-notify'; //i...
const fs = require('fs'); const { resolveIfOkapiSays } = require('../okapi/okapi-utils'); module.exports = class PermissionService { constructor(okapiRepository, context) { this.okapi = okapiRepository; this.context = context; } _loadPackageJson() { let packageJson; try { packageJson = req...
function newNodesAnnouncements() { const MODULE_NAME = 'Nodes Announcements' const logger = newWebDebugLog() let thisObject = { onRecordChange: onRecordChange, initialize: initialize, finalize: finalize } let hiriarchyMap return thisObject function finalize() ...
let e, t = getApp(); Page({ data: { defaultSize: "default", primarySize: "default", warnSize: "default", disabled: !1, plain: !1, loading: !1, done: { name: "付款金额", price: "7520.00" }, doneList: [ { title: "...
var searchData= [ ['num_5fcells_4584',['NUM_CELLS',['../_pac_man_8h.html#a4e0a9a72c12d3d6f6648b55b5f714583',1,'PacMan.h']]] ];
/* * jsPlumb * * Title:jsPlumb 1.4.0 * * Provides a way to visually connect elements on an HTML page, using either SVG, Canvas * elements, or VML. * * This file contains the VML renderers. * * Copyright (c) 2010 - 2013 Simon Porritt (http://jsplumb.org) * * http://jsplumb.org * http://github.com/spor...
const bcrypt = require('bcrypt'); const ModelBase = require('../ModelBase'); const getModels = require('../all'); // const { info } = require('../utils/logger')('api:model:user'); class User extends ModelBase { static get tableName() { return 'users'; } static get modelName() { return 'User'; } static get tabl...
'use strict'; const _ = require('lodash'); const findFilledFormat = require('./transforms/findFilledFormat'); const activeTransform = require('./transforms/activeFormat'); const validAccessUpdater = require('./validator/validAccessUpdater'); const factoryValid = require('core/libs/factoryValid'); const DBRepository =...
import React from 'react' import { shallow, configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import Search from '../Components/Organisation/Search'; configure({ adapter: new Adapter() }); describe('Search Component', () => { it('Should render without crashing', () => { const wrapp...
const AppConfig = require('./appconfig/AppConfig'); const AuthReadByUserServiceFilter = require('./filters/AuthReadByUserServiceFilter'); const UserService = require('./moduleservices/UserService'); module.exports = { AppConfig, AuthReadByUserServiceFilter, UserService, }
import { createStore, applyMiddleware, compose } from 'redux' import promise from 'redux-promise' import reducer from '../reducers' export default function configureStore (initialState) { const finalCreateStore = compose( applyMiddleware(promise), window.devToolsExtension ? window.devToolsExtension() : f => ...
let multiplo = undefined function multiplicar(multiplo) { for (let i = 1; i < 10; i++) { document.write("<p>" + multiplo + " x " + i + ":" + multiplo * i + "</p>") }} document.write("<h4> " + "Tabla del 11" + " </h4>") multiplicar(11); document.write("<h4> " + "Tabla del 10" + " </h4>") multiplicar(10); do...
/** * Create By Dika Ardnt. * Contact Me on wa.me/6288292024190 * Follow https://github.com/DikaArdnt */ require('./config') const { default: makeWASocket, BufferJSON, WA_DEFAULT_EPHEMERAL, generateWAMessageFromContent, downloadContentFromMessage, downloadHistory, proto, getMessage, generateWAMessageContent, ...
deepmacDetailCallback("d8270c000000/24",[{"d":"2013-07-09","t":"add","a":"4F., No.529, Zhongzheng Rd., Xindian Dist.\nNew Taipei City 231\n\n","c":"TAIWAN, PROVINCE OF CHINA","o":"MaxTronic International Co., Ltd."},{"d":"2015-08-27","t":"change","a":"4F., No.529, Zhongzheng Rd., Xindian Dist. New Taipei City Taiwan T...
import React, { Component } from "react"; import { ReactiveBase, SingleList, } from "@appbaseio/reactivesearch"; import { ReactiveGoogleMap } from '@appbaseio/reactivemaps'; import { Img } from "./Img.js"; import historyPin from "./placeholder.png"; export default class ReactiveGoogleMapDefault extends Component {...
/* globals afterEach, describe, it */ import {apiUri} from '../../config.js' import configureStore from 'redux-mock-store' import expect from 'expect' import nock from 'nock' import thunk from 'redux-thunk' import { dashboardFailure, dashboardRequest, dashboardSuccess, deleteDashboard, FAILURE, default as ...
import config from 'config' const extendComponents = (config['pubsweet-component-xpub-formbuilder'] || {}) .components const textfield = { component: 'TextField', } const orderfield = { component: 'TextField', } const optionfield = { component: 'OptionsField', } const editorfield = { component: 'Abstract...
/* eslint global-require: off */ /** * This module executes inside of electron's main process. You can start * electron renderer process from here and communicate with the other processes * through IPC. * * When running `yarn build` or `yarn build-main`, this file is compiled to * `./app/main.prod.js` using webp...
var React = require('react'); var ReactDOM = require('react-dom'); var RcCard = require('./js/card').RcCard; var BasicConfirmModal = require('./js/modal').BasicConfirmModal; var RcFooter = require('./js/nav').RcFooter; var TestButtons = React.createClass({ getInitialState: function() { return { basicConfi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.register = register; var _global = require('global'); var _addons = require('@storybook/addons'); var _addons2 = _interopRequireDefault(_addons); var _ = require('./'); function _interopRequireDefault(obj) { return obj && obj._...
var libcash = require('libcash'); libcash.P2P = require('./lib'); module.exports = libcash.P2P;
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */
define(["require", "exports", "react", "../../../Foundation", "./StackItem.styles"], function (require, exports, React, Foundation_1, StackItem_styles_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var StackItemView = function (props) { var children = props.childre...
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
/** * @file this file is loaded on application start and initializes the application * @link https://github.com/datarhei/restreamer * @copyright 2015 datarhei.org * @license Apache-2.0 */ 'use strict'; const path = require('path'); global.__src = __dirname; global.__base = path.join(__dirname, '..'); global.__pub...
var solanaWeb3 = (function (exports) { 'use strict'; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } ...
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder */ /** * Class: mxEventSource * * Base class for objects that dispatch named events. To create a subclass that * inherits from mxEventSource, the following code is used. * * (code) * function MyClass() { }; * * MyClass.protot...
import { o, join, adjust, toUpper } from 'ramda'; /** * Capitalize first letter. * * @func * @category String * * @example * * R_.toUpperFirst('hello world') // 'Hello world' * * @sig String -> String */ const toUpperFirst = o(join(''), adjust(toUpper, 0)); export default toUpperFirst;
import React from 'react'; import Table from '../table/hold_table'; import { Responsive_Column_Filter } from '../../util/responsive_view'; class HoldTable extends React.Component { constructor(props) { super(props); this.state = { hold_table: new Map(), clearence_table: new Map(), isupdate...
/** @jsx jsx */ import { documentToReactComponents } from '@contentful/rich-text-react-renderer'; import styled from '@emotion/styled'; import { graphql } from 'gatsby'; import { jsx, useThemeUI } from 'theme-ui'; import { Banner } from '../../components/banner'; import Hero from '../../components/hero'; import Layout ...
import axios from 'axios'; import { API_HOST } from '../../../constants'; export const recieveProducts = ({ login }) => axios.get(`${API_HOST}/get_products.php`, { params: { login, }, });
'use strict'; class Node { constructor(value) { this.value = value; this.left = null; this.right = null; } } class BinaryTree { constructor() { this.root = null; } preOrder() { const results = []; const preOrderTraversal = (node) => { re...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { fetchWeather } from '../actions/index'; class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; // "this", doesn't mean the se...
const EventEmitter = require('events') const deepequal = require('deep-equal') class TestFunction extends EventEmitter { command (txHash, expectedValue) { const browser = this.api const logs = {} const setLog = (index, value) => { logs[Object.keys(logs)[index]] = value } browser.waitForElementVisibl...
/*! X-editable - v1.5.1 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
Keyboards['zh-Hans-Pinyin'] = { label: 'Chinese - Simplified - Pinyin', shortLabel: '拼', menuLabel: '拼音', needsCandidatePanel: true, imEngine: 'jspinyin', types: ['text', 'url', 'email'], lang: 'zh-Hans', pages: [ { // basic page for pinyin alphabets needsCommaKey: true, width: 10, textLayou...
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/string",["./_base/kernel","./_base/lang"],function(_1,_2){ _2.getObject("string",true,_1); _1.string....
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const userSchema = new Schema({ first_name: { type: String }, last_name: { type: String }, email: { type: String }, phone: { type: String }, password: { type: String } }...
module.exports = function(path) { let {homeDir} = platform.systemInfo; if ( homeDir && homeDir !== "/" && (path === homeDir || path.startsWith(homeDir + platform.path.sep)) ) { return "~" + path.substr(homeDir.length); } return path; }
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { Layout, Hero, About, Jobs, Featured, Projects, Contact } from '@components'; const StyledMainContainer = styled.main` counter-reset: section; `; const IndexPage = ({ location }) => ( <Layout location={l...
/** * @module ol/interaction/DragRotateAndZoom */ import PointerInteraction from './Pointer.js'; import {mouseOnly, shiftKeyOnly} from '../events/condition.js'; /** * @typedef {Object} Options * @property {import("../events/condition.js").Condition} [condition] A function that * takes an {@link module:ol/MapBrows...
var plugins = [{ plugin: require('C:/Users/Toby/code/zellmer_FinalExam/node_modules/gatsby-plugin-react-helmet/gatsby-ssr.js'), options: {"plugins":[]}, },{ plugin: require('C:/Users/Toby/code/zellmer_FinalExam/gatsby-ssr.js'), options: {"plugins":[]}, }] // During bootstrap, we write re...
/* ======================================================================== * Ratchet: push.js v2.0.2 * http://goratchet.com/components#push * ======================================================================== * inspired by @defunkt's jquery.pjax.js * Copyright 2014 Connor Sears * Licensed under MIT (https:...
import Noty from 'noty'; const Notify = function(type, message, timeout) { type = type === 'danger' ? 'error' : type; let icon = 'fa-info-circle'; switch ( type ) { case 'success': icon = 'fa-check'; break; case 'info': icon = 'fa-info-circle'; ...
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import { FormattedMessage } from 'react-intl'; import { Header } from '../../components/Header/Header'; import { intl } from '../../../../util/react-intl-test-helper'; const intlProp = { ...intl, enabledLang...
import git from 'nodegit' import stringify from 'json-stringify-pretty-compact' import log from './logger' const { Repository, Clone, Reset, Cred } = git const buildCallbacks = ({ pubKey, privKey }) => ({ certificateCheck: () => 1, credentials: (repoUrl, username) => Cred.sshKeyMemoryNew(username, pubKey, pri...
const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); module.exports = { context: path.join(__dirname, 'src'), mode: 'development', devtool: 'eval', entry: './index.j...
layui.define(["form", "jquery"], function (exports) { var form = layui.form, $ = layui.jquery; var config = { baseUrl: 'http://dongximgr.zhuzhida.vip/api' } var api = { baseUrl:`${config.baseUrl}`, deposetListApi: `${config.baseUrl}`+ '/account/erp/pledge/list', b...
/* Do not modify this file directly. It is compiled from other files. */ /* global WPCOM_sharing_counts, grecaptcha */
const locations = [ { name: "Melbourne", description: "Melbourne City", camera: { position: { x: 16136282.377, y: -4555000.549, z: 489.713, spatialReference: { wkid: 3857, latestWkid: 3857 }, }, heading: 14.089, tilt: 64....
/* eslint-disable */ /** * Implement Gatsby's Browser APIs in this file. * * See: https://www.gatsbyjs.org/docs/browser-apis/ */ // You can delete this file if you're not using it let locationScrollTops = []; const onPreRouteUpdate = ({ location, prevLocation }) => { try { let scrollTop = document.querySel...
(window.webpackJsonp=window.webpackJsonp||[]).push([[166],{311:function(t,e,n){"use strict";n.r(e);var i=n(41),a={layout:"basic",metaInfo:function(){return{title:this.$t("home")}},data:function(){return{title:window.config.appName}},computed:Object(i.b)({authenticated:"auth/check"})},s=n(11),r=n.n(s),o=n(359),l=n.n(o),...
'use strict'; angular.module('rocketBoardApp').service('UserRepository', function($http, GithubApi) { this.find = function(){ var url = GithubApi.getUrl() + '/user'; return $http.get(url); }; });
/*! * # Vanilla Semantic UI - Site * https://github.com/morganbarrett/Vanilla-Semantic-UI/ * * Released under the MIT license * http://opensource.org/licenses/MIT * */ /*$.site = $.fn.site = function(parameters) { var time = new Date().getTime(), performance = [], query = ar...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement("g", null, React.createElement("path", { fillOpacity: ".3", d: "M2 22h20V2z" }), React.createElement("path", { d: "M14 10L2 22h12z" })), 'SignalCellular2Bar');