text
stringlengths
2
1.05M
/** * Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $Id: jquery.datePicker.js 15 2008-12-17 04:40:18Z kelvin.luck $ **/ (function($){ ...
(x = (() => { var _fooBrandCheck; return _fooBrandCheck = /*#__PURE__*/new WeakSet(), class { #foo = void _fooBrandCheck.add(this); test(other) { return _fooBrandCheck.has(other); } }; })()) => {};
/* Search engine optimization using pooling directly G. Hudman Aug 19, 2020 */ const {Pool} = require('pg'); const pool = new Pool({ user: 'ngdsdb', host: 'localhost', database: 'geothermal', password: '', port: 5432, max: 25 }); const connectionString = 'xxx'; pool.on('error', (err, client) => { co...
'use strict'; /** * Validate files with JSHint. * @type {Object} * * @see https://www.npmjs.org/package/grunt-contrib-jshint */ module.exports = { options : { jshintrc : '.jshintrc', // see http://www.jshint.com/docs/ reporter : require('jshint-stylish') }, // lint task files grun...
/* @flow */ import { schemaComposer, TypeComposer } from 'graphql-compose'; import { composeWithMongooseDiscriminators } from '../../composeWithMongooseDiscriminators'; import { getCharacterModels } from '../__mocks__/characterModels'; const DKeyFieldName = 'type'; const { CharacterModel, PersonModel } = getCharacter...
module.exports = { name: 'invite', description: 'NFT Showroom Discord invite link', execute(msg, args) { msg.channel.send('https://discord.com/invite/PuEeYuK'); }, };
import React from 'react'; import { View, StatusBar, Image, Text, TextInput} from 'react-native'; import PropTypes from 'prop-types'; import Button from '../../components/elements/Button'; import { connect } from 'react-redux'; import {userAccount} from '../../actions'; import Back from '../../../assets/svgs/Back'; imp...
/* * This file is part of the nivo project. * * Copyright 2016-present, Raphaël Benitte. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import PropTypes from 'prop-types' import { areaCurvePropType, stackOrderPropType, stackOffset...
/** * @license Angular v8.0.2 * (c) 2010-2019 Google LLC. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common')) : t...
import React from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' /** * COMPONENT */ export const UserHome = props => { const {email} = props return ( <div> <h3>Welcome, {email}</h3> <h4>Wooo fuck yea</h4> </div> ) } /** * CONTAINER */ const mapState = sta...
export default () => { return <> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6761584146432516" crossOrigin="anonymous"></script> <ins className="adsbygoogle" style={{display: "block"}} data-ad-client="ca-pub-6761584146432516" data-ad-slot="863889...
import angular from 'angular'; import workflowEditorModule from '../SVGEditor' import mainComponent from './Main.component'; export default angular.module('main', [workflowEditorModule.name]) .component('main', mainComponent);
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var PollOptions = require('../models/poll-options'); var Poll = new Schema({ user: { id: { type: mongoose.Schema.Types.ObjectId, ref: 'Twitter_users' } }, picture: String, question: String, options: [ { type: mong...
/* @adobe/react-spectrum-workflow (c) by Adobe @adobe/react-spectrum-workflow is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License. You should have received a copy of the license along with this work. If not, see <http://creativecommons.org/licenses/by-nd/4.0/>. */ import React fro...
/******/ (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...
import childProcess from 'child_process' export default class Converter { constructor(command, param) { this.command = command this.param = param } async convert(stdin) { return new Promise((resolve, reject) => { const p = childProcess.spawn(this.command, this.param) let stdout = '' ...
import test from 'ava'; import { splitPathToFolders, resolveFileName } from '../../src/core/util.js'; test('resolveFileName should return the file name of a path', (t) => { t.is(resolveFileName('.//.///peeter.js'), 'peeter'); }); test('splitPathToFolders should return an array of folder names', (t) => { t.deep...
(function ($) { "use strict"; var editor = new SimpleTableCellEditor("myTableId"); editor.SetEditableClass("editMe"); $('#myTableId').on("cell:edited", function (event) { console.log(`'${event.oldValue}' changed to '${event.newValue}'`); }); })(jQuery);
'use strict'; module.exports = function generate_not(it, $keyword) { var out = ' '; var $lvl = it.level; var $dataLvl = it.dataLevel; var $schema = it.schema[$keyword]; var $schemaPath = it.schemaPath + '.' + $keyword; var $errSchemaPath = it.errSchemaPath + '/' + $keyword; var $breakOnError = !it.opts.a...
import swaggerAutogen from 'swagger-autogen' const doc = { informações : { título : 'Final Project Paketa Academy' , descrição : 'Web Service for registration of troops, landing equipment', } , host : 'localhost: 3000' , esquemas : [ 'http' ] , } ; const outputFile = './src/swagger-outpu...
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org 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 th...
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v23.0.2 * @link http://www.ag-grid.com/ * @license MIT */ var __spreadArrays = (this && this.__spreadArrays) || function () { for (var s = 0, i = 0, il = arguments.length; i < i...
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); exports.onCreateWebpackConfig = ( { stage, actions }, { disable = false, devMode = false, ...options }, ) => { if (disable) return; if ((stage === 'develop' && devMode) || stage === 'build-javascript') { const defaultOptions ...
module.exports={A:{A:{"132":"M D H F A B mB"},B:{"2":"C E q L O I J","292":"K"},C:{"2":"0 1 2 3 4 5 8 9 jB AB G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB dB cB","3074":"BB","4100":"6 CB DB EB FB HB IB JB"},D:{"292":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J...
/************************************************ * AUTHOR: Alexandre Cazala * * CREATION_DATE: 08/11/16 * * EMAIL: alexandre.cazala@gmail.com * * LICENSE: Apache 2.0 * ***********************************************/ (function () { a...
/** * @author Dmitriy Yurchenko <evildev@evildev.ru> * @copyright Copyright (c) Dmitriy Yurchenko <evildev@evildev.ru>, 2015 * @license MIT */ 'use strict'; var Sequelize = Nyama.app().db.Sequelize; module.exports = { model: 'Users', columns: { id: { type: Sequelize.INTEGER, ...
export const timeAm = [ "8:00 am", "8:30 am", "9:00 am", "9:30 am", "10:00 am", "10:30 am", "11:00 am", "11:30 am", "12:00 am", "12:30 am", "1:00 pm", "1:30 pm", "2:00 pm", "2:30 pm", "3:00 pm", "3:30 pm", "4:00 pm", "4:30 pm", "5:00 pm", ]; export const timePm = [ "1:00 pm", "...
/** @jsx jsx */ import { jsx } from "@emotion/core" import { AvatarGroup, Box, Flex, Tooltip } from "@chakra-ui/core" import { Apple, Pencil, Inverted, Pear, Rectangle, Hourglass, } from "../icons/body-types" import { ColorList } from "../components/colors" const iconImgs = { IT: <Inverted width={20} />...
const mongoose = require('mongoose'); const ProfileSchema = new mongoose.Schema({ user: { type: mongoose.Schema.Types.ObjectId, ref: 'user' }, location: { type: String }, bio: { type: String, required: true }, hobbies: { type: [String], required: true }, ...
/// <summary> /// Contains a form to reset a user's password, assuming a valid reset token has been provided /// </summary> window.addEventListener("load", function() { setupResetForm(); }); /// <summary> /// Returns the valid state of this request /// /// Possible values: /// 1: Valid request /// 0: Request to...
import request from '../../../utils/fetch'; // add part export const addPart = ({ partSection, partName }) => request.post(`/parts/createPart`, { partSection, partName }) // fetch part export const loadPart = ({ query }) => request.post(`/parts/fetchPart`, { query }) // fetch part section export const fet...
var Scope_SIGNATURE = require('./oauth/Scope').SIGNATURE; var Scope_EXTENDED = require('./oauth/Scope').EXTENDED; var Scope_IMPERSONATION = require('./oauth/Scope').IMPERSONATION; var Scope_COMPANY_WRITE = require('./oauth/Scope').COMPANY_WRITE; var Scope_COMPANY_READ = require('./oauth/Scope').COMPANY_READ; var Scope_...
import React from 'react'; import { render } from 'react-dom'; import CurveExample from "./curve"; const example = ( <div> <h1>React-Leaflet-Curve Example</h1> <CurveExample /> </div> ) render(example, document.getElementById('app'));
/*! Bootstrap 4 styling wrapper for RowReorder * ©2018 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-zf', 'datatables.net-rowreorder'], function ( $ ) { return factory( $, window, document ...
#!/usr/bin/env node const spawn = require('cross-spawn'); const chalk = require('chalk'); const argv = require('minimist')(process.argv.slice(2)); const SlateConfig = require('@shopify/slate-config'); const slateEnv = require('@shopify/slate-env'); const packageJson = require('../package.json'); const script = process...
/* @flow */ export type PassProps = { children?: *, className?: string }
'use strict'; module.exports = (sequelize, DataTypes) => { const CatalogCategories = sequelize.import('./catalogcategory'); const CatalogItem = sequelize.define('CatalogItem', { name: { type: DataTypes.STRING(40), validate: { len: { args: [5,40], msg: "Name should have fro...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.draftjsToHtml = factory()); }(this, (function () { 'use strict'; /** * Utility function to execute callback for eack key->v...
[{"Owner":"Michael Ilyin","Date":"2017-02-09T08:24:18Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t_lt_p_gt_\n\tHello. I am using babylonjs with npm for build my application. But npm distribution does not contains packages for canvas2d extension. It there some way to use canvas2d extension with npm? Thanks.\n...
!function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
import styled from 'styled-components'; import { styles } from 'utils'; const leftImgMargin = 10; const rightImgMargin = leftImgMargin; export const TechWrapper = styled.div` display: flex; justify-content: center; margin: 0; .mobile-chips { display: flex; } @media (min-width: ${styles.breakpoints.md...
import { StyleSheet } from 'react-native'; import { compose } from 'recompose'; import styled from '@ui/styled'; import ProgressiveImage from '@ui/ProgressiveImage'; import { getIsLoading } from '@ui/isLoading'; const Image = compose( getIsLoading, styled({ ...StyleSheet.absoluteFillObject, height: '100%'...
import React, { Component } from 'react' import base from './base' class AdminCampanhas extends Component { constructor(props) { super(props) this.state = { campanhas: {} } this.renderCampanha = this.renderCampanha.bind(this) this.removeCampanha = this.removeCam...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Aritmetica = void 0; const Errores_1 = require("../../Ast/Errores"); const Nodo_1 = require("../../Ast/Nodo"); const Tipo_1 = require("../../TablaSimbolos/Tipo"); const Retorno_1 = require("../../G3D/Retorno"); class Aritmetica { c...
import React from 'react'; import { View, Text, Image, Platform, TouchableWithoutFeedback, StyleSheet, } from 'react-native'; import { withNavigation } from 'react-navigation'; import Touchable from 'react-native-platform-touchable'; import FadeIn from 'react-native-fade-in-image'; import Colors from '../co...
const createError = require('http-errors'); const router = require('express-promise-router')(); const db = require('../db'); const z3 = require('../z3'); router.param('postId', async (req, res, next, postId) => { const post = await db.getPost(postId); req.post = post; if (!z3.isLoggedIn(req)) { ...
const { oneLine } = require("common-tags"); const { Command } = require("discord.js-commando"); const request = require("request"); module.exports = class UrbanCommand extends Command { constructor(client) { super(client, { name: "urban", aliases: ["urbandict", "urbandictionary"], group: "fun",...
'use strict'; var test = require('tape'); var toPrimitive = require('../es5'); var is = require('object-is'); var forEach = require('foreach'); var functionName = require('function.prototype.name'); var debug = require('object-inspect'); var hasSymbols = require('has-symbols')(); test('function properties', function ...
YUI.add("series-pie",function(e,t){var n=e.config,r=n.doc,i=e.ClassNameManager.getClassName,s=i("seriesmarker");e.PieSeries=e.Base.create("pieSeries",e.SeriesBase,[e.Plots],{_map:null,_image:null,_setMap:function(){var e="pieHotSpotMapi_"+Math.round(1e5*Math.random()),t=this.get("graph"),n,i,s;t?i=t.get("contentBox"):(...
window._ = require("lodash"); /** * We'll load jQuery and the Bootstrap jQuery plugin which provides support * for JavaScript based Bootstrap features such as modals and tabs. This * code may be modified to fit the specific needs of your application. */ try { window.Popper = require("popper.js").default; ...
/* * @flow strict-local * Copyright (C) 2020 MetaBrainz Foundation * * This file is part of MusicBrainz, the open internet music database, * and is licensed under the GPL version 2, or (at your option) any * later version: http://www.gnu.org/licenses/gpl-2.0.txt */ import * as React from 'react'; import {Histo...
import React, { Component } from "react"; import styles from "./index.css"; import Image from "@/components/image/index"; export default class Index extends Component { render() { const { data, options } = this.props; const _data = Array.isArray(data)?data:data.data const { layout_style, go...
const fetchCountries = searchQuery => { return fetch(` https://restcountries.eu/rest/v2/name/${searchQuery}`) .then(response => { if (response.ok) return response.json(); throw new Error('Error fetching data'); }) .catch(error => { console.error('Error: ', error); }); }; export...
import baseRest from './_baseRest'; import isIterateeCall from './_isIterateeCall'; /** * Creates a function like `_.assign`. * * @private * @param {Function} assigner The function to assign values. * @returns {Function} Returns the new assigner function. */ function createAssigner(assigner) { return baseRest(...
/* * Backpack - Skyscanner's Design System * * Copyright 2016-2020 Skyscanner Ltd * * 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 * ...
const express = require('express'); const chalk = require('chalk'); const debug = require('debug')('app'); const bodyParser = require('body-parser'); const passport = require('passport'); const cookieParser = require('cookie-parser'); const session = require('express-session'); const app = express(); const port = pro...
const NamedTypedElement = require('./NamedTypedElement').NamedTypedElement; class Property extends NamedTypedElement { /** * @param {*} property * @param {Namespace} namespace * @constructor */ constructor(property, namespace) { super(property, namespace); } } exports.Property ...
import PropTypes from 'prop-types'; import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import styled from '@emotion/styled'; import { Waypoint } from 'react-waypoint'; import { Map } from 'immutable'; import { selectFields, selectInferedField, selectEntryThumbnail } from '../../../re...
/** * Created by Kupletsky Sergey on 16.09.14. * * Hierarchical timing * Add specific delay for CSS3-animation to elements. */ (function($) { var speed = 2000; var container = $('.display-animation'); container.each(function() { var elements = $(this).children(); elements.each(functio...
import 'phaser'; import archetypes from './archetypes' import { updatePlayerStats, isPlayerDead } from './player/player-stats' import { joinPlayer, destroyPlayer } from './player/player-create.js' import { addAnimations } from './animations.js' import Creature from './creature'; import Cursors from './player/player-mo...
const SqlString = require('./SqlString'); const filterStatement = require('./filterStatement'); const modules = `const dbmodules = { SqlString: ${SqlString}, filterStatement: ${filterStatement}, };`; module.exports = `${modules}`;
const seedUsers = require('./user-seeds'); const seedPosts = require('./post-seeds'); const seedComments = require('./comment-seeds'); const seedVotes = require('./vote-seeds'); const sequelize = require('../config/connection'); const seedAll = async () => { await sequelize.sync({ force: true }); console.log('\n-...
import getHash from '../utils/getHash'; import getData from '../utils/getData'; const Character = async () =>{ const id = getHash(); const character = await getData(id); const view = ` <div class='Character-inner'> <article class='Characters-card'> <img src='${character....
/*global define*/ define([ 'require', './DeveloperError' ], function( require, DeveloperError) { "use strict"; /*global CESIUM_BASE_URL*/ var baseUrl; function getCesiumBaseUrl() { if (typeof baseUrl !== 'undefined') { return baseUrl; } ...
var path = require('path'), url = require('url'), _ = require('underscore'), debug = require('debug')('keystone:core:options'), cloudinary = require('cloudinary'), mandrillapi = require('mandrill-api'), callerId = require('caller-id'), utils = require('keystone-utils'); function options() { var exports = {};...
{"project":["GnuMuncherWeb","Splash",[[0,false,true,true,true,true,true,true,true,false],[1,false,true,true,true,true,true,true,true,false],[4,false,false,false,false,false,false,false,false,false],[5,true,false,false,false,false,false,false,false,false],[6,true,false,false,false,false,false,false,false,false],[7,false...
const configObjectArg = require('../../src/caseGenerator/configObjectArg'); const configArgs = require('../../src/caseGenerator/configArgs'); describe('configObjectArg', () => { test('empty object', () => { expect(configObjectArg(configArgs())).toMatchSnapshot(); }); test('single property', () => { expe...
(window.webpackJsonpdemo_react_1=window.webpackJsonpdemo_react_1||[]).push([[0],{15:function(e,t,n){e.exports=n(38)},20:function(e,t,n){},38:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),c=n(13),o=n.n(c),u=(n(20),n(2)),i=function(e){var t=e.title;return r.a.createElement("h2",null,t)},l=function(e){var t=e.te...
import isDeleted from '../helper/isDeleted.js'; const INIT = { all: [], selected: {} }; export default (state = INIT, action) => { const responseData = isDeleted(action); return ({ TESTIMONIALS_ALL_FULFILLED: { ...state, all: responseData }, TESTIMONIALS_ONE_FULFILLED: { ...state, selected: responseData ...
'use strict'; module.exports = { constructor: Array, prototypeFunctions: { every: require('./every')(Array.prototype.every), fill: require('./fill')(Array.prototype.fill), find: require('./find')(Array.prototype.find), filter: require('./filter')(Array.prototype.filter), forEach: require('./forEach')(Arra...
$(function () { var navListItems = $('div.setup-panel div a'), allWells = $('.setup-content'), allNextBtn = $('.nextBtn'); allWells.hide(); navListItems.click(function (e) { e.preventDefault(); var $target = $($(this).attr('href')), $item = $(this); if ...
const external = require('externaltest'); console.log(external);
const itemName = document.getElementById("firstHeading"); const searchQuery = itemName.textContent; fetch(`https://tarkov-price-checker.glitch.me/get-info?q=${encodeURI(searchQuery)}`) .then(res => res.json()) .then(function (data) { const price = document.createElement("div"); const tra...
export default { key: 'Eb', suffix: 'm9', positions: [ { frets: '3524', fingers: '2413' }, { frets: '6668', fingers: '1113', barres: 6, capo: true }, { frets: 'ba98', fingers: '4321' }, { frets: 'aa99', fingers: '2211', ...
import React from "react"; import { withStyles } from "@material-ui/core/styles"; import TextField from '@material-ui/core/TextField'; import FormControl from "@material-ui/core/FormControl"; import FormLabel from "@material-ui/core/FormLabel"; import FormHelperText from "@material-ui/core/FormHelperText"; import Typo...
/** * Copyright (c) 2014 Intel Corporation * * 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 ...
import React from 'react'; import { Grid, Label, Segment, } from 'semantic-ui-react'; import SelectPlayerModal from './SelectPlayerModal'; function FieldBoard(props) { const { tactics, teams, loading, selectPlayer, handleSelectPlayerModal, handlePlayerSelection, } = props; return ( <div className='...
module.exports = new Date(2035, 7, 27)
'use strict'; var gulp = require('gulp'); var vulcanize = require('gulp-vulcanize'); var replace = require('gulp-replace'); var minifyHTML = require('gulp-minify-html'); var minifyInline = require('gulp-minify-inline'); var rename = require('gulp-rename'); var FILE = 'sweva-visualization-line-graph.html' gulp.task('pa...
import breweryData from '../data/breweries' class DataController { constructor() { this.breweryData = breweryData.breweries; }; /** * Return all brewery data * @returns Array */ getAllBreweries = () => { return this.breweryData; }; } export default new DataController(...
export default { 'en-us': { barText: 'Blog', postsTitle: 'All posts', list: [ { title: 'Soul learning (2) How does the Divide Plugin forward HTTP requests', author: 'jipeng', dateStr: '2021-1-17', desc: 'How does the Divide Plugin forward HTTP requests', link:...
/*! * screenfull * v5.1.0 - 2020-12-24 * (c) Sindre Sorhus; MIT License */ !(function () { "use strict"; var c = "undefined" != typeof window && void 0 !== window.document ? window.document : {}, e = "undefined" != typeof module && module.exports, s = (function () { for ( ...
import React from 'react'; import PropTypes from 'prop-types'; const UserImage = ({ userImage, username }) => ( <a href={`https://github.com/${username}`} target="_blank" rel="noopener noreferrer"> <img id="userImage" alt={`GitHub user: ${username}`} className="text-center rounded-full w-48 h-4...
import { ComponentDatatype } from "../Source/Cesium.js"; describe("Core/ComponentDatatype", function () { it("fromTypedArray works", function () { expect(ComponentDatatype.fromTypedArray(new Int8Array())).toBe( ComponentDatatype.BYTE ); expect(ComponentDatatype.fromTypedArray(new Uint8Array())).toB...
const path = require('path') module.exports = { "stories": [ "../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)" ], "addons": [ "@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-postcss" ], core: { builder: 'webpack5', }, webpackFinal: async (...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ 'use strict'; const ReactFlightDOMServerBrowser = require('./src/server/flight/ReactFlightDOMServerBrowser'); // TOD...
export default {"test-2":[{"type":"component","props":{"componentName":"usr.page.PageFrameWithDrawer","componentInstance":"pageFrameWithDrawer"},"events":[{"name":"onToggleDrawer","targets":[{"type":"userFunction","props":{"functionName":"usr.page.PageFrameWithDrawer.togglePageFrameDrawer"},"events":[{"name":"properti...
/** * Copyright (c) 2017 Intel Corporation * * 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 ...
import arrayFind from 'core-js/library/fn/array/find' import StyleSheet from './StyleSheet' export default class CSSStore { constructor (requestId) { this.requestId = requestId this.styleSheets = {} } add (cssStyleSheet) { let id = this.requestId.split('.') id = id[0] + '....
/** 这是用于生产环境的webpack配置文件 **/ const path = require('path'); const webpack = require('webpack'); // webpack核心 const ExtractTextPlugin = require('extract-text-webpack-plugin'); // 为了单独打包css const HtmlWebpackPlugin = require('html-webpack-plugin'); // 生成html const { CleanWebpackPlugin } = require('clean-webpack-plugin'); ...
import addTests from "./both-test"; addTests();
import React from 'react' import PropTypes from 'prop-types' import url from 'url' import ArticleMetaGhost from './ArticleMetaGhost' import ArticleMetaMD from './ArticleMetaMD' import WebsiteMeta from './WebsiteMeta' const MetaData = ({ data, type, title, description, image, fetchAuthorData, ...
/** * Created by Pedro on 3/29/2017. */ import Utils from './Utils' import axios from 'axios' import CryptoJS from 'crypto-js' import URL from 'url-parse'; const AWS_SHA_256 = 'AWS4-HMAC-SHA256'; const AWS4_REQUEST = 'aws4_request'; const AWS4 = 'AWS4'; const X_AMZ_DATE = 'x-amz-date'; const X_AMZ_SECURITY_TOKEN = '...
// import React from "react"; // const Messaging = () => <h1>Messaging</h1>; // export default Messaging;
/*! For license information please see main.1b0ef64c.js.LICENSE.txt */ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n...
#!/usr/bin/env node var orm = require('orm') var restify = require('restify') var config = require('./config') var apps = require('./apps') orm.settings.set('properties', config.orm.properties) orm.settings.set('instance', config.orm.instance) orm.settings.set('connection', config.orm.connection) restify.CORS.ALLOW_...
// TODO: Replace placeholder shaders by original ones (requires fixing projection matrix) import fetchScript from './utils/fetch-script.js' import PromiseCache from './utils/promise-cache.js' import fragmentShader from './shaders/fragment-placeholder.glsl' import vertexShader from './shaders/vertex-placeholder.glsl' /...
/* */ "format cjs"; /*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.4-master-75237c6 */ function getDirective(e){function i(e){function i(i,o,r){o.css("touch-action",r.mdSwipeTouchAction||"none");var c=e(r[t]);o.on(n,function(e){i.$applyAsync(function(){c(i,{$event:e})}...
if (!Date.prototype.toISOString) { Date.prototype.toISOString = function () { function pad(n) { return n < 10 ? '0' + n : n; } function ms(n) { return n < 10 ? '00'+ n : n < 100 ? '0' + n : n } return this.getFullYear() + '-' + pad(this.getMonth() + 1) + '-' + pad(thi...