text stringlengths 2 1.05M |
|---|
'use strict';
var path = require('path'),
fs = require('fs');
module.exports = {
mocha: function (user_file, ext) {
var file = user_file;
if (!user_file) {
var mocha = require.resolve('mocha');
var dir = path.dirname(mocha);
file = path.join(dir, 'mocha.' + ext);
}
return fs.readFileSync(fil... |
/**
* BibleForge
*
* @date 03-18-13
* @version alpha (α)
* @link http://BibleForge.com
* @license The MIT License (MIT)
*/
/*!
* The BibleForge motto:
*
* "all things whatsoever ye would that men should do to you, do ye even so to them."
* —Jesus (Matthew 7:12)
*/
/*!
* Copyright (C) 2021
*
*... |
const transform = version => {
if (!version) {
return;
}
if (!version.protocols || !Array.isArray(version.protocols)) {
return;
}
version.protocols.forEach(protocol => {
if (!protocol || !protocol['killing-method'] || !Array.isArray(protocol['killing-method'])) {
return;
}
if (protoc... |
/*
* GL support. See https://github.com/kripken/emscripten/wiki/OpenGL-support
* for current status.
*/
var LibraryGL = {
$GL__postset: 'var GLctx; GL.init()',
$GL: {
#if GL_DEBUG
debug: true,
#endif
counter: 1, // 0 is reserved as 'null' in gl
lastError: 0,
buffers: [],
programs: [],
f... |
const logger = require('logger');
function getUser(ctx) {
return ctx.req.loggedUser || ctx.state.user;
}
function hasUser(ctx) {
return ctx.header && ctx.header.authorization;
}
async function isLogged(ctx, next) {
logger.debug('Checking if user is logged');
if (hasUser(ctx)) {
await next();
... |
steal('can/util','can/util/string','can/util/object', function (can) {
// Get the URL from old Steal root, new Steal config or can.fixture.rootUrl
var getUrl = function(url) {
if(typeof steal !== 'undefined') {
if(can.isFunction(steal.config)) {
return steal.config().root.mapJoin(url).toString();
}
re... |
// Phantombuster configuration {
"phantombuster command: nodejs"
"phantombuster package: 5"
"phantombuster dependencies: lib-StoreUtilities.js, lib-Twitter.js"
const Buster = require("phantombuster")
const Nick = require("nickjs")
const { URL } = require("url")
const StoreUtilities = require("./lib-StoreUtilities")
co... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
/// <reference path="ms-appx://$(TargetFramework)/js/base.js" />
/// <reference path="ms-appx://$(TargetFramework)/js/en-us/base.strings.j... |
import { SHA256 } from 'meteor/sha';
import { Meteor } from 'meteor/meteor';
import { Accounts } from 'meteor/accounts-base';
import ldapEscape from 'ldap-escape';
import { slug, getLdapUsername, getLdapUserUniqueID, syncUserData, addLdapUser } from './sync';
import LDAP from './ldap';
import { settings } from '../../... |
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const packageJson = require.resolve('govuk-frontend/package.json');
const root = path.resolve(packageJson, '..', 'govuk');
const sass = path.resolve(root, 'all.scss');
const javascript = path.resolve(root, 'all.js');
const componen... |
//Auto generated index for searching.
w["eden"]="0,102";
w["edit"]="32,56,70,111,119";
w["ee"]="56";
w["ef"]="109";
w["effect"]="37,62,65,81,110,111";
w["egd"]="114";
w["egress"]="9,19,37,44,63,75,90,116";
w["either"]="9,20,34,43,44,70,77,90,116";
w["elect"]="20,50,56";
w["element"]="13,60,82,111";
w["elig"]="50";
w["e... |
import Taro from '@tarojs/taro'
import { call, put, take, fork } from 'redux-saga/effects'
import { userApi } from '../api'
import {
SET_LOGIN_INFO,
LOGIN_SUCCESS,
LOGIN,
LOGIN_ERROR,
SET_IS_OPENED,
} from '../constants'
/***************************** 登录逻辑开始 ************************************/
function* ... |
import React from 'react';
import { colors } from '@dhis2/ui-core';
const LaunchIcon = ({ className }) => (
<svg
className={className}
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
fill={colors.grey600}
viewBox="0 0 24 24"
>
<path ... |
import React from 'react'
import PropTypes from 'prop-types'
import { StaticQuery } from 'gatsby'
import Newsletter from './Newsletter/Newsletter'
import 'bootstrap/dist/css/bootstrap.min.css';
import './sass/footer.scss'
class Footer extends React.Component {
render() {
const { data } = this.props
const { f... |
/**
* Created by fanzhang on 6/9/15.
*/
function ETextObject(itemId) {
this.domE = '<div class="editText" ' +
// 'rows="5" cols="20" ' +
// 'onclick="enableEdit(event)" ' +
'contenteditable="true" ' +
'id="et' + itemId +
'"><p>Click to Edit</p></div>';
this.id = itemId;
... |
const Issue = require('../../utils').issues.Issue
const dateIsValid = require('date-fns/isValid')
const parseDate = require('date-fns/parse')
const checkAcqTimeFormat = function(rows, file, issues) {
const format = "yyyy-MM-dd'T'HH:mm:ss"
const header = rows[0].trim().split('\t')
const acqTimeColumn = header.ind... |
{"version":3,"sources":["select_product_preset.js"],"names":["BX","namespace","Sale","Admin","DiscountPreset","SelectProduct","parameters","this","tableId","emptyRowId","idPrefix","siteId","presetId","sectionCount","inputNameProduct","inputNameSection","container","productIds","products","i","hasOwnProperty","productAd... |
$.fn.vectorMap('addMap', 'world_mill_en',{"insets": [{"width": 900.0, "top": 0, "height": 440.7063107441331, "bbox": [{"y": -12671671.123330014, "x": -20004297.151525836}, {"y": 6930392.02513512, "x": 20026572.394749384}], "left": 0}], "paths": {"BD": {"path": "M652.71,228.85l-0.04,1.38l-0.46,-0.21l-0.42,0.3l0.05,0.65l... |
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Profile from '../views/Profile'
import NewRequest from "../views/NewRequest"
import UserView from "../views/UserView"
import RequestPage from "../views/RequestPage"
import LogIn from "../views/LogIn"
Vue.use(VueRouter)... |
/*
*
* 织梦版微信小程序
* author: 鹏厄
* 小镇故事66UI.com
*
*/
var Api = require('../../utils/api.js');
var util = require('../../utils/util.js');
var WxParse = require('../../wxParse/wxParse.js');
var wxApi = require('../../utils/wxApi.js')
var wxRequest = require('../../utils/wxRequest.js')
import config from '../../util... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[43],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/pages/admin/psychic/psychic-profile.vue?vue&type=script&lang=js&":
/*!****************************************************************************... |
/**
* 3x 3 Matrix specifically used for transformations
* <br>[ a c tx ]
* <br>[ b d ty ]
* <br>[ 0 0 1 ]
* <br>Exports: Constructor
* @module bento/math/transformmatrix
* @moduleName TransformMatrix
* @returns {Matrix} Returns a matrix object.
*/
bento.define('bento/math/transformmatrix', [
'bento/utils'... |
document.addEventListener('DOMContentLoaded', function() {
var url = '/search-js',
searchClass = '.search_js',
searchInput = searchClass + '__input',
searchChild = searchClass + '__child'
$(document).on('keyup', searchInput, function () {
var self = $(this),
query =... |
'use strict';
var connection = require('./index');
var bcrypt = require('bcryptjs');
var Schema = require('mongoose').Schema;
var schema = new Schema({
username: {
type: String,
unique: true,
trim: true,
validate: /^\S+$/
},
password: String
});
// May change if using multiple strategies for Pa... |
import OstRedeemableSkus from "./RedeemableSkus";
import OstRedeemableSkuDetails from "./RedeemableSkuDetails";
import OstRedemableCustomConfig from "./RedemableCustomConfig"
export { OstRedeemableSkus , OstRedeemableSkuDetails , OstRedemableCustomConfig} ; |
module.exports = function (grunt) {
var log = function (err, stdout, stderr, cb) {
if(stdout) {
grunt.log.writeln(stdout);
}
if(stderr) {
grunt.log.error(stderr);
}
cb();
};
grunt.initConfig({
shell: {
jekyllClean: {
... |
import React, { useState } from 'react';
import { FavourItemContainer, SubmitButton, SubmitButtonContainer } from './styledComponents';
import AwardSelectorModel from './awardSelector';
// ----------------------------------------------------------------------------------------------------------------------
const AddAw... |
import * as React from "react"
import Layout from "../../components/Layout"
import Seo from "../../components/Seo"
import LatestTemurin from "../../components/LatestTemurin"
const TemurinHome = () => (
<Layout>
<Seo title="Eclipse Temurin" />
<section className="py-5 text-center container">
<div classNa... |
(function() {var implementors = {};
implementors["webservice"] = [{"text":"impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for <a class=\"struct\" href=\"webservice/schema/photos/struct.table.html\" title=\"struct webservice::schema::photos::table\">table</a> <span class=\"where fmt-newline\">... |
import manifest from '../../package.json';
import debug from 'debug/browser';
import path from 'path';
import {app} from 'remote';
function namespaceOf(filename) {
const name = path.basename(filename, '.js');
return manifest.name + ':' + name;
}
export function debugLogger(filename) {
return debug(namespaceOf(f... |
function consulta() {
var peticion = new XMLHttpRequest();
peticion.open('GET', 'http://localhost:5500/proyectoFinal/proyecto_frontend_inicio/datos.json');
peticion.onload = function () {
if (peticion.status == 200) {
const datosJSON = JSON.parse(peticion.response);
const lis... |
//dummy products data
module.exports = [
{
name: 'Canon EOS 5D Mark IV DSLR Camera with 24-105mm f/4L II Lens',
description:
'30.4MP Full-Frame CMOS Sensor; DIGIC 6+ Image Processor; 3.2" 1.62m-Dot Touchscreen LCD Monitor;DCI 4K Video at 30 fps, 8.8MP Still Grab; 61-Point High Density Reticular AF; Expa... |
import { ethers } from "ethers";
import sdk from "./1-initialize-sdk.js";
// This is our governance contract.
const voteModule = sdk.getVoteModule(
"0x45e813629FB5a8F37546938A9dE285652890D2Bc",
);
// This is our ERC-20 contract.
const tokenModule = sdk.getTokenModule(
"0x8BB20FbB577A18CDD97f7b99a9D72BBE379aD069",... |
import Command from '../command'
export default class Delete extends Command {
exec (source) {
super(source)
}
}
|
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 appli... |
import { test, getTSParsers, getNonDefaultParsers, testFilePath } from '../utils';
import { RuleTester } from 'eslint';
import eslintPkg from 'eslint/package.json';
import semver from 'semver';
import flatMap from 'array.prototype.flatmap';
const ruleTester = new RuleTester();
const rule = require('rules/order');
fu... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
const storageProductRelDAO = require('../models/StorageProductRelDAO');
const storageProductRelDetailDAO = require('../models/StorageProductRelDetailDAO');
const serverLogger = require('../util/ServerLogger.js');
const sysConst = require('../util/SystemConst.js');
const moment = require('moment');
const resUtil = requ... |
const knex = require('knex');
const configOptions = require('../knexfile').development;
const db = knex(configOptions)
module.exports = db; |
/* eslint-env browser */
const { performance } = window
export const measureAsyncFnPerf = performance
? async (fn, name) => {
const perfMarkStartName = `${name}_start`
performance.mark(perfMarkStartName)
try {
const value = await fn()
return value
} finally {
perform... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconBase = void 0;
var tslib_1 = require("tslib");
var React = require("react");
var Icon_types_1 = require("./Icon.types");
var Image_1 = require("../Image/Image");
var Image_types_1 = require("../Image/Image.types");
var Utilities_1 ... |
Proj4js.defs["EPSG:4765"] = "+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs " |
import React from 'react';
import PropTypes from 'prop-types';
import {omit, propOr, type} from 'ramda';
import Markdown from 'react-markdown';
// eslint-disable-next-line valid-jsdoc
/**
* A component that renders Markdown text as specified by the
* GitHub Markdown spec. These component uses
* [react-markdown](htt... |
"use strict";
const app=require("../main");
const PORT=3000;
//라우팅
const home = require("../src/routes/home/main");//상대적으로 명시해주어야 함(여기가 기준)
app.use("/",home);//use-> 미들 웨어를 등록해주는 메서드.(미들 웨어는 추후에 학습하기). '대충 "/(root)"경로로 들어오면 home디렉터리로 가라 라는 뜻인 것 같음'
app.listen(PORT,()=>{
console.log('서버 가동');
});//여기서 node실행 시켜야됨 |
import CMS from 'netlify-cms-app'
import uploadcare from 'netlify-cms-media-library-uploadcare'
import cloudinary from 'netlify-cms-media-library-cloudinary'
import AboutPagePreview from './preview-templates/AboutPagePreview'
import BlogPostPreview from './preview-templates/BlogPostPreview'
import ProductPagePreview f... |
(function(x){"object"===typeof exports&&"undefined"!==typeof module?module.exports=x():"function"===typeof define&&define.amd?define([],x):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).jsmediatags=x()})(function(){return function f(n,q,g){function m(c,a){if(... |
import Phaser from 'phaser'
import WebFont from 'webfontloader'
export default class extends Phaser.State {
init () {
this.stage.background = '#EDEEC9'
this.fontsReady = false
this.fontsLoaded = this.fontsLoaded.bind(this)
}
preload () {
WebFont.load({
google: {
families: ['Bangers... |
import React, {Component} from 'react';
import {View} from 'react-native';
import Modal from "react-native-modal";
class Overlay extends Component{
render(){
const {visible}=this.props;
if (visible)
return (
<View style={[styles.container,this.props.style]}>
{this.props.children}
</View>
)
el... |
const charactersArr = [
'https://firebasestorage.googleapis.com/v0/b/exquisite-comics.appspot.com/o/templates%2FMarvel%2F1.svg?alt=media&token=2d63f998-e53f-43d3-a32b-2a6e950f13b0',
'https://firebasestorage.googleapis.com/v0/b/exquisite-comics.appspot.com/o/templates%2FMarvel%2F2.svg?alt=media&token=baf3cce1-9a27-4... |
import coreModule from "../../CoreModule";
import moment from "moment";
describe('Time Counter Directive', () => {
let $compile;
let $rootScope;
beforeEach(() => {
angular.mock.module(coreModule.name);
inject((_$rootScope_, _$compile_) => {
$rootScope = _$rootScope_;
... |
/*!
* OpenUI5
* (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(["sap/m/library", "sap/ui/core/Core", "sap/ui/Device"],
function(library, Core, Device) {
"use strict";
// shortcut for sap.m.CarouselArrowsPlacement... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcar... |
const blue = '#1890ff';
const blueHover = '#40a9ff';
const blueActive = '#096dd9';
const green = '#00F281';
const greenHover = '#55EAA5';
const greenActive = '#00C368';
const Constants = {
colors: {
backgroundGradient: 'linear-gradient(62deg, #001358, #125ac4);',
},
buttons:{
primary:{
green: {
... |
'use strict';
/**
* User Model
*/
var crypto = require('crypto');
/**
* A Validation function for local strategy properties
*/
var validateLocalStrategyProperty = function(property) {
if (((this.provider !== 'local' && !this.updated) || property.length !== 0) === false) {
throw new Error('Local strategy fa... |
import { parseString } from 'xml2js';
import d3 from './d3v3';
(function () {
var d3_layout_phylotree_event_id = "d3.layout.phylotree.event",
d3_layout_phylotree_context_menu_id = "d3_layout_phylotree_context_menu";
/**
* Parses a Newick string into an equivalent JSON representation that is
* suitable fo... |
/**
* 包含所有action type的常量字符串
*/
export const INCREMENT = 'INCREMENT'
export const DECREMENT = 'DECREMENT' |
// Info about configuration https://nuxtjs.org/guide/configuration/
const StyleLintPlugin = require('stylelint-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const env = require(`./environments/${process.env.NODE_ENV}`);
console.log(`Environment: ${process.env.NODE_ENV}... |
Ext.define('Ext.locale.fi.field.Number', {
override: 'Ext.field.Number',
decimalsText: 'Suurin desimaaliluku on (0)',
minValueText: 'Tämän kentän pienin sallittu arvo on {0}',
maxValueText: 'Tämän kentän suurin sallittu arvo on {0}',
badFormatMessage: '{0} ei ole numero'
});
|
/**
* Created by IntelliJ IDEA.
* User: qinan
* Date: 8/11/11
* Time: 4:44 PM
* To change this template use File | Settings | File Templates.
*/
ZaManualProvConfigDialog = function(parent, w, h, title) {
if (arguments.length == 0) return;
this._standardButtons = [DwtDialog.OK_BUTTON, DwtDialog.CANCEL_BU... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm0 12.5c-2.49 0-4.5-2.01-4.5-4.5S9.51 7.5 12 7.5s4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z" opacity=".3" /><path d="M12 2C6.48 2 2 6.... |
const CustomError = require("../extensions/custom-error");
module.exports = function createDreamTeam(nameArr) {
return Array.isArray(nameArr)?nameArr.filter((a)=>typeof a==="string").map((a)=>a.trim().slice(0,1).toUpperCase()).sort().join(''):0
} |
import * as types from '@/store/mutation-types'
import router from '@/router'
import api from '@/services/api/signup'
import { buildSuccess, handleError } from '@/utils/utils.js'
const actions = {
userSignUp({ commit }, payload) {
console.log(payload)
return new Promise((resolve, reject) => {
commit(ty... |
import React from 'react';
import { Input } from 'semantic-ui-react';
export default function PollOptionInput(props){
return(
<Input {...props}
label={{ basic: true, content: props.number }}
labelPosition='left'
placeholder='Enter option...'
... |
/* eslint-disable quotes, camelcase */
const tealium = ({
account = '',
profile = '',
env = '',
utag_data = {},
url,
}) => ({
componentWillMount: () => {
if (typeof document !== 'undefined') {
window.utag_data = { ...utag_data }
}
},
componentDidMount: () => {
if (typeof document !== ... |
/* */
"format amd";
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery","../jquery.validate"], factory );
} else if (typeof module === "object" && module.exports) {
module.exports = factory( require( "jquery" ) );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
*... |
const loginFormHandler = async (event) => {
event.preventDefault();
const email = document.querySelector('#email-login').value.trim();
const password = document.querySelector('#password-login').value.trim();
if (email && password) {
const response = await fetch('/api/users/login', {
method: 'POST',
... |
const mongoose = require("mongoose");
// Creamos un esquema para proteger la información que guardamos
const bookingSchema = new mongoose.Schema(
{
// arriveDate: { type: Date, required: true },
// departureDate: { type: Date, required: true },
// amount: { type: Number },
user: { type: mongoose.Sche... |
!function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__e... |
const activityRegistRouters = [
/**活动报名 */
{
path: '/activityregist',
name: 'ActivityRegist',
component: resolve => {
require(['@/pages/activity-regist/ActivityRegistIndex.vue'], resolve)
}
},
/**添加活动 */
{
path: '/activityregist/addactivity',
... |
/**
* Comment.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
*/
module.exports = {
attributes: {
text : {
type : 'text',
required : true
},
story : {
model : 'story',
required : true
},
likes : {
collectio... |
import * as React from 'react';
import AppBar from '@material-ui/core/AppBar';
import Button from '@material-ui/core/Button';
import CameraIcon from '@material-ui/icons/PhotoCamera';
//import Card from '@material-ui/core/Card';
import CardActions from '@material-ui/core/CardActions';
import CardContent from '@material-... |
import React from 'react';
// import { Col, Row } from 'react-bootstrap';
import Note from './Note';
export default {
component: Note,
title: 'Note',
decorators: [
(story) => (
<section>
<div className="ptn">{story()}</div>
</section>
),
],
};
// eslint-disable-next-line react/jsx... |
const hexToBase64 = require('./challenge1').hexToBase64
const CHALLENGE1_HEX = '49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d'
console.log('------ Challenge1 ------')
console.log(hexToBase64(CHALLENGE1_HEX))
|
var searchData=
[
['peakfinder_2ecs',['PeakFinder.cs',['../_peak_finder_8cs.html',1,'']]],
['peakinformation_2ecs',['PeakInformation.cs',['../_peak_information_8cs.html',1,'']]],
['peakset_2ecs',['PeakSet.cs',['../_peak_set_8cs.html',1,'']]],
['plotview_2ecs',['PlotView.cs',['../_plot_view_8cs.html',1,'']]],
... |
module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.007214,"10":0,"11":0.007214,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.043284,"23":0.007214,"24":0,"25":0.007214,"26":0.028856,"27":0,"28":0,"29":0.165922,"30":0,"31":0,"32":0,"33":0,"34":0.043284,"35":0,"36":0.007214,"37":0,"38":0... |
module.exports = {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
variants: {
borderWidth: ["responsive", "hover", "focus"],
},
theme: {
extend: {},
},
plugins: [],
};
|
/*
CryptoJS v3.0
code.google.com/p/crypto-js
(c) 2009-2012 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
var CryptoJS=CryptoJS||function(l,q){var g={},i=g.lib={},p=i.Base=function(){function a(){}return{extend:function(f){a.prototype=this;var c=new a;f&&c.mixIn(f);c.$super=this;return c... |
export * as matches from './matches';
export * as players from './players';
export * as heroes from './heroes';
export * as sync from './sync';
export * as stats from './stats';
|
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var path_1 = require('path');
var seed_config_1 ... |
enyo.kind({
name: "mochi.sample.CheckboxSample",
classes: "mochi mochi-sample enyo-fit",
kind: "FittableRows",
components: [
{kind: "enyo.Scroller", fit: true, components:[
{kind: "mochi.Subheader", content: "Checkbox: Default"},
{classes: "mochi-sample-tools", components: [
{kind: "mochi.Checkbox", onc... |
var _ = require('lodash'),
Promise = require('bluebird'),
cheerio = require('cheerio'),
crypto = require('crypto'),
downsize = require('downsize'),
RSS = require('rss'),
url = require('url'),
config = require('../../../config'),
api = require('../../../api'),
... |
import styled from 'styled-components';
const Wrapper = styled.div`
padding: 0;
margin: 0;
width: 95%;
margin: 0 auto;
background-color: #a66664;
border: 5px solid #faa353;
border-radius: 3px;
overflow: hidden;
`;
export default Wrapper;
|
import React from 'react';
const Rank = ({ name, entries }) => {
return (
<div className="rank-text">
{`${name}'s entry count is `}
<span className="entry">{entries}</span>
<span className="image-link-text">
{'Detect faces in your pictures. Try it.'}
</span>
</div>
);
};
ex... |
var ERI_TOPO = {"type":"Topology","objects":{"eri":{"type":"GeometryCollection","geometries":[{"type":"MultiPolygon","properties":{"name":null},"id":"-99","arcs":[[[0]],[[1]],[[2]],[[3]],[[4]],[[5]],[[6]]]},{"type":"Polygon","properties":{"name":"Gash Barka"},"id":"ER.GB","arcs":[[7,8,9,10]]},{"type":"Polygon","propert... |
export default {
compileStringTemplate: function compileStringTemplate(template, replacementText){
return template.replace('{{}}', replacementText);
}
} |
(function (localStorage) {
/**
* ALL the services in the application are in here.
*/
angular.module('knlServices', [])
/**
* Handles saving and restoring config of the Kentico instance. Is also able to disconnect from the instance.
*/
.factory('knlTargetConfigService', func... |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var fs = _interopDefault(require('fs'));
var path = _interopDefault(require('path'));
var util = require('util');
var util__default = _interopDefault(util);
var crypto = _interopDefault(req... |
import React, { Component } from 'react';
import { withAPI } from '../../../../services/api';
import Students from '../../../../components/Home/Admin/Students';
class StudentsContainer extends Component {
state = { students: [], isProcessing: false, selectedStudentId: '' };
componentDidMount() {
this.getStud... |
var JSZip = null
if (typeof require === 'function') {
JSZip = require('node-zip');
}
//----------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
// Released under the Microsoft Office Extensible File License
// https://raw.github.com/stephen-hardy/xlsx.js/... |
exports.config = {
allScriptsTimeout: 11000,
specs: [
'e2e/*.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'http://localhost:8080/app/',
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};
|
webpackJsonp([9],{
/***/ 461:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserPageModule", function() { return UserPageModule; });... |
import { createOAuthAppAuth } from "@octokit/auth-oauth-app";
import { Octokit } from '@octokit/rest';
let instance;
export default () => {
if (instance) {
return instance;
}
instance = new Octokit({
userAgent: 'visgit/v1.0.0',
authStrategy: createOAuthAppAuth,
auth: {
type: 'oauth-app',
... |
/*!
* VerbalExpressions JavaScript Library v0.1.2
* https://github.com/VerbalExpressions/JSVerbalExpressions
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Date: 2013-07-19
*
*/
// Define the collection class.
(function(){
var root = this;
// I am the constructor functio... |
var searchData=
[
['saved_5fblossom_0',['saved_blossom',['../structoperations__research_1_1_blossom_graph_1_1_node.html#aa5998e93c946a8c5ec1626dee2915555',1,'operations_research::BlossomGraph::Node']]],
['saved_5fdual_1',['saved_dual',['../structoperations__research_1_1_blossom_graph_1_1_node.html#ae812ee39507ef5bd... |
"use strict";
//IMPORTS
const http = require("http");
const open = require("open");
const { URL } = require("url");
const ls = require('node-localstorage');
const EventEmitter = require('events');
const eventsEmitter = new EventEmitter()
const { cAuth, sDomain, reDirUrl } = require ('./zAuthUrl.js');
//PARAMS
const P... |
/******/ (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 FireShader from './FireShader.js';
/**
* see: mattatz / http://github.com/mattatz
* Ray tracing based real-time procedural volumetric fire object for three.js
*/
// THREE.Fire = function ( fireTex, color ) {
export default class Fire {
constructor() {
// super();
}
init() {
var... |
var SLDS="object"==typeof SLDS?SLDS:{};SLDS["__internal/chunked/showcase/./ui/components/split-view/base/example.jsx.js"]=function(e){function l(l){for(var s,o,r=l[0],c=l[1],i=l[2],m=0,u=[];m<r.length;m++)o=r[m],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(s in c)Object.prototype.hasOwnPr... |
//usamos moment
const moment = require('moment');
//fecha actual
const now = moment(new Date());
//fecha utc
const utc = moment(new Date()).utc();
//Muestro ambas fechas
console.log(now.format('DD MM YYYY hh:mm:ss'));
console.log(utc.format('DD MM YYYY hh:mm:ss'));
var duration = moment(utc.diff(now));
... |
import intent from './intent';
import model from './model';
import view from './view';
function Restaurant(sources) {
let props$ = sources.props;
let action$ = intent(sources.DOM);
let state$ = model(props$, action$);
let vtree$ = view(state$);
return {
DOM: vtree$,
action: action$,
}
}
export de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.