text
stringlengths
2
1.04M
const Discord = require('discord.js'); modules.export = class CharacterClass { constructor() { } levelUp() { } increaseHitDice() { } checkProficiencyBonus() { } }
import { assert } from '@ember/debug'; import { later } from '@ember/runloop'; import EmberObject, { computed } from '@ember/object'; import EventedMixin from '@ember/object/evented'; import Promise from "ember-inspector/models/promise"; let arrayComputed = computed(function() { return []; }); let objectComputed = ...
var reg = /:([^\\/]+)/; console.log(reg.exec('/:abc(\d+)/'));
const fetch = require('node-fetch') const getHeaders = ({ token }) => { return { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}`, } } const getErrorMessage = async ({ response }) => { const contentType = response.headers.get('content-type') if (contentType && contentType.include...
import React from 'react'; import {BrowserRouter as Router,Switch, Route} from 'react-router-dom' import {render} from 'react-dom' import Play from './components/Play'; import practiceSettings from './components/practiceSettings' import battleBits from './components/battleBits' import Landing from './components/landing...
/** * @class Oskari.lupapiste.bundle.myplaces2.request.DeleteCategoryRequest * Requests a "my place" maplayer/category to be deleted * * Requests are build and sent through Oskari.mapframework.sandbox.Sandbox. * Oskari.mapframework.request.Request superclass documents how to send one. */ Oskari.clazz.define('Oska...
define([ "./scheme.html" ], function (schemeHtml) { const Window = OSjs.require('core/window'); const Application = OSjs.require('core/application'); class ApplicationProcessViewerWindow extends Window { constructor(app, metadata) { super('ApplicationProcessViewerWindow', { icon: metadata.icon, ...
define([ 'Core/ArcGISTiledElevationTerrainProvider', 'Core/DefaultProxy', 'Core/GeographicTilingScheme', 'Core/HeightmapTerrainData', 'Core/Math', 'Core/Request', 'Core/RequestScheduler', 'Core/Resource', 'Core/RuntimeError', 'Core/TerrainP...
'use strict'; const fs = require('fs-extra'); const { aws: { buildS3Uri, parseS3Uri, s3 }, stringUtils: { replace }, testUtils: { randomStringFromRegex } } = require('@cumulus/common'); const { thread } = require('@cumulus/common/util'); const path = require('path'); const cloneDeep = require('lodash.clonedeep')...
'use strict' // const assert = require('assert') describe('generic-nmi', () => { before(() => {}) })
import { APIRequest } from '.'; import { updatePersonalDetailSuccess, updatePersonalDetailFailure, } from '../reducers/user'; const UPDATE_PERSONALDETAIL = '/api/employee/updatePersonalDetails'; export function updatePersonalDetails(personalEmail, phone) { return dispatch => { const options = { method...
'use strict'; // Test a simple sum module using Mocha const sum = require('../tested/sum.js'); describe('abacus-mocha', () => { it('supports Chai expect assertions', () => { expect(sum.straight(1, 1)).to.equal(2); }); it('tests branch coverage', (done) => { expect(sum.cond(1, 1)).to.equal(2); expe...
(function(d){d['kn']=Object.assign(d['kn']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"‍‍ದಪ್ಪ",e:"Insert image or file",f:"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ",g:"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",h:"ಶೀರ್ಷಿಕೆ",i:"‍ಚಿತ್ರ ವಿಜೆಟ್",j:"‍ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು",k:"‍ಪೂರ್ಣ ‍‍ಅಳತೆಯ ಚಿತ್ರ",l:"‍ಪಕ್ಕದ ಚಿತ್ರ",m:"Left aligned image",n...
// **** Kitchen Sink Tests **** // // This app was developed to demonstrate // how to write tests in Cypress utilizing // all of the available commands // // Feel free to modify this spec in your // own application as a jumping off point // Please read our "Introduction to Cypress" // https://on.cypress.io/introductio...
import React from 'react'; import { mount } from 'enzyme'; import Row from '.'; describe('Row', () => { it('renders without crashing', () => { mount(<table><tbody><Row><td>Example</td></Row></tbody></table>); }); });
/** * @license * Copyright Google LLC 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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { global...
/* A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents a zero or one, with the least significant bit on the right. For example, the above binary watch reads "3:25". Given a non-negative integer n which represents the n...
import { asyncRouterMap, constantRouterMap } from 'src/router' import { fetchAll } from 'api/admin/menu/index'; /** * 通过authority判断是否与当前用户权限匹配 * @param menus * @param route */ function hasPermission(menus, route) { if (route.authority) { if (menus[route.authority] !== undefined) { return menus[route...
const statusCodes = require("./../constants/statusCodes"); const methodNotAllowed = (req, res) => { res.status(statusCodes.METHOD_NOT_ALLOWED).send({ success: false, message: 'Method Not Allowed', }); }; module.exports = { methodNotAllowed }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.magix = exports.mediaTypes = exports.timeout = exports.makeOptions = void 0; /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM...
/* *SPDX-License-Identifier: Apache-2.0 */ var Persist = require('./postgreSQL/Persist.js') class PersistenceFactory { static async create (db) { if (db === 'postgreSQL') { var persist = new Persist() await persist.initialize() return persist } throw ('Invalid Platform123') } } mod...
/*! * @preserve * * Readmore.js jQuery plugin * Author: @jed_foster * Project home: http://jedfoster.github.io/Readmore.js * Licensed under the MIT license * * Debounce function from http://davidwalsh.name/javascript-debounce-function */
const Like = { author: (parent, args, { db }, info) => db.author.findAll({ where: { id: parent.authorId } }) } const likes = { resolve: (parent, { postId }, { db }, info) => db.like.findAll({ where: { postId: postId } }) } module.exports = { Like, likes }
'use strict' var forEach = require('lodash/forEach') /** * A handler that implements a BPMN 2.0 property update * for business object lists which are not represented in the * diagram. * * This is useful in the context of the properties panel in * order to update child elements of elements visible in * the diag...
import React from 'react'; import { Box, Fab, Typography, Tooltip, Stack } from '@material-ui/core'; import FeatherIcon from 'feather-icons-react'; import BaseCard from '../../base-card/BaseCard'; const FabColorButtons = () => ( <BaseCard title="Color FAB"> <Box sx={{ display: 'flex', justi...
import React from 'react'; import classNames from 'classnames'; import styles from './index.less'; const StandardFormRow = ({ title, children, last, block, grid, ...rest }) => { const cls = classNames(styles.standardFormRow, { [styles.standardFormRowBlock]: block, [styles.standardFormRowLast]: last...
export default function capitalizeFirstSymbol(targetString) { return targetString.charAt(0).toUpperCase() + targetString.slice(1); }
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.11/esri/copyright.txt for details. //>>built define("require exports ../core/promiseUtils ./pe ./SpatialReference ./support/GeographicTransformation".split(" "),function(q,b,r,e,n,h){function k(c,f,a,d,b){voi...
// eslint-disable-next-line no-unused-vars module.exports = function middlewareBasicError(error, req, res, next) { if (error.code === 'INVALID_REQUEST_DATA') { res.status(400).json({ error: { message: 'invalid request data', requestPart: error.requestPart, ...
// # Themes API // RESTful API for Themes var debug = require('ghost-ignition').debug('api:themes'), Promise = require('bluebird'), fs = require('fs-extra'), localUtils = require('./utils'), common = require('../lib/common'), settingsModel = require('../models/settings').Settings, settingsCache ...
import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; export default Route.extend({ storageSvc: service('storage'), model () { return { form: this.storageSvc.getFormData(), list: this.store.findAll('campground'), } } });
import { getJobTemplate, getUpdatedProject, } from '../fixtures'; import { AWX_E2E_TIMEOUT_MEDIUM, } from '../settings'; const namespace = 'test-pagination'; module.exports = { before: (client, done) => { const resources = [getUpdatedProject(namespace)]; Promise.all(resources) ...
import React, { Component } from "react"; import logo from "./assets/images/react.png"; class App extends Component { render() { return ( <div> <div className="container"> <img src={logo} className="logo" /> <h1 className="text">Welcome to Codeigniter With Reactjs Bundle</h1> ...
const R = require('ramda'); describe('router.js contains a Profile Route', () => { let spy; before(() => { if (typeof router === 'undefined') { spy = { restore: () => { } }; } else { spy = sinon.spy(router, 'render'); } }); it('should contain the profile route @router-get...
function validacionForm() { event.preventDefault(); let c1 = document.forms["form-contacto"]["nombre"]; let c2 = document.forms["form-contacto"]["apellido"]; let c3 = document.forms["form-contacto"]["email"]; let c5 = document.forms["form-contacto"]["consulta"]; let campos = [c1, c2, c3, c5]; if (valida...
(function(f){f.fn.twittie=function(e,l){var p="function"===typeof e?e:l,c=f.extend({username:null,list:null,hashtag:null,count:10,hideReplies:!1,dateFormat:"%b/%d/%Y",template:"{{date}} - {{tweet}}",apiPath:"api/tweet.php"},e instanceof Object?e:{});c.list&&!c.username&&f.error("If you want to fetch tweets from a list,...
import React from 'react' import * as yup from 'yup' import { Formik, Field, Form } from 'formik' import { Button } from 'semantic-ui-react' import { withDeviceWidth } from '../DeviceWidth' import './SignIn.css' const SignInSchema = yup.object().shape({ email: yup.string() .required('Campo obrigatório') .email('...
const colors = require('tailwindcss/colors'); module.exports = { theme: { extend: { spacing: { 1: '0.3rem', 2: '0.6rem', // 标准上下padding 3: '0.8rem', 4: '1rem', 5: '1.5rem', 6: '2rem', ...
const db = require('../util/pghelper'); const Status = { Verified: "Verified", PreRelease: "Pre-Release", Preview: "Preview", Limited: "Limited", }; const SELECT_ALL = `SELECT pv.id, pv.sfid, pv.name, pv.version_number, pv.version_sort, pv.package_id, pv.release_date, pv.created_date, pv.status, pv.versio...
import React, { useEffect, useState } from 'react'; import { Link } from 'react-router-dom'; import { useDispatch, useSelector } from 'react-redux'; import { Row, Col, ListGroup, Image, Form, Button, Card, Container, Modal } from 'react-bootstrap'; import ErrorMessage from '../components/ErrorMessage'; import Loading f...
import { pascalCaseFilename } from "core/utils" const request = require.context(".", true, /\.jsx?$/) const allPlugins = {} request.keys().forEach( function( key ){ if( key === "./index.js" ) { return } // if( key.slice(2).indexOf("/") > -1) { // // skip files in subdirs // return // } let mo...
/* Umbrella JS 3.2.3 umbrellajs.com https://raw.githubusercontent.com/justingolden21/umbrella/master/umbrella.min.js */
/** * angular-strap * @version v2.0.0-rc.1 - 2014-01-28 * @link http://mgcrea.github.io/angular-strap * @author [object Object] * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.select', [ 'mgcrea.ngStrap.tooltip', 'mgcrea.ngStrap.helpers.parseOptio...
/* Language: MEL Description: Maya Embedded Language Author: Shuen-Huei Guan <drake.guan@gmail.com> Website: http://www.autodesk.com/products/autodesk-maya/overview Category: graphics */ function mel(hljs) { return { name: 'MEL', keywords: 'int float string vector matrix if else switch case default whi...
module.exports={A:{A:{"1":"D F E A B","2":"kB","8":"I"},B:{"1":"C O H P J K L M KB N R WB T"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB ZB G X I D F E A B C O H P J K L Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB NB FB GB HB IB JB Q LB EB V U TB OB PB QB RB SB MB M KB N jB R rB uB"},D:{"1":"0 1 2 3 4 5 6 7...
/* * * Loading actions * */ import { ADD_ITEM_TO_LOADING, REMOVE_ITEM_FROM_LOADING } from './constants'; export function addItemToLoading(item) { return { type: ADD_ITEM_TO_LOADING, item }; } export function removeItemFromLoading(item) { return { type: REMOVE_ITEM_FROM_LOADING, item }...
$(function () { //获取顶级菜单 function getAmenu() { function amenuCB(data) { var tpl = $('#J_tpl_Amenu').html(); var menu = juicer(tpl, data); $('#J_Amenu').html(menu); } requestUrl('/menu/top', 'GET', '', amenuCB) } getAmenu(); //获取二级菜单 var...
/* ------------------------------------------------------------------------------ * * # Editable component * * Specific JS code additions for form_editable.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * ---------------------------------------------------------------------------- */ $(function() { ...
// 元素类型是否是函数 export function isFunction (virtualDOM) { return virtualDOM && virtualDOM.type && typeof virtualDOM.type === 'function' } // 是否是函数式组件 export function isFunctionElement (virtualDOM) { if (!isFunction(virtualDOM)) { return false } return !(virtualDOM.type.prototype && virtualDOM.type...
'use strict'; const express = require('express'); const router = express.Router(); const Post = require('../models/Post'); //Get all the post router.get('/', async (req, res) => { try { const posts = await Post.find(); res.json(posts); } catch (err) { res.json({ message: err }); } }); //Specific po...
/*eslint-disable */ import React from 'react' import Zoom from 'react-reveal/Zoom'; import Fade from 'react-reveal/Fade'; import styled, { css } from 'react-emotion' import Card from '../../components/team/card.js' import Layout from '../../layouts'; import Helmet from '../../components/helmet'; import Img from 'gatsby...
/* */ "format cjs"; 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...
(function($) { "use strict"; function initialize() { var mapOptions = { zoom: 15, scrollwheel: false, center: new google.maps.LatLng(34.0313519, -118.2154304) }; var map = new google.maps.Map(document.getElementById('map')...
#!/usr/bin/env node const fs = require('fs-extra'), os = require('os'), parseArgs = require('minimist'), onExit = require('signal-exit'); const { error, info } = require('./log'); const { ACTIONS } = require('./constants'); const apps = require('./apps'), bootstrap = require('./bootstrap'), ...
const Sequelize = require('sequelize'); module.exports = function(sequelize, DataTypes) { return sequelize.define('OrderItem', { id: { autoIncrement: true, type: DataTypes.INTEGER, allowNull: true, primaryKey: true, field: 'Id' }, orderId: { type: DataTypes.INTEGER, ...
import React from 'react'; import { useStaticQuery, graphql } from 'gatsby'; import Img from 'gatsby-image'; const pageQuery = graphql` query AboutPageQuery { aboutYaml { whatWeDo whoWeAre details featuredImage { childImageSharp { fluid(maxWidth: 400) { ...Ga...
import { createStore } from "redux"; const INITIAL_STATE = { email: "", }; function reducer(state = INITIAL_STATE, action) { if (action.type === "Set_Email") { return { ...state, email: action.value }; } return state; } const store = createStore(reducer); export default store;
import React from 'react' import Link from 'gatsby-link' const IndexPage = () => ( <div> <form name="contact" method="POST" data-netlify="true" data-netlify-honeypot="bot-field" data-netlify-recaptcha="true"> <p> <label>Your Name: <input type="text" name="name" /></label> </p> <p> <label>Your Email:...
/** * Computes trigonometric functions using state-of-the-art algorithms */ var fastSin = function(th){ // taylor series if(th === 0) return 0; var pi = 3.141592653589793 var magnitude = Math.abs(th); var sign = th / magnitude; var magnitude = magnitude % (2*pi); var sin = 0; ...
import { StyleSheet } from 'react-native'; import Constants from 'expo-constants'; const styles = StyleSheet.create({ container: { flex: 1, paddingHorizontal: 24, paddingTop: Constants.statusBarHeight + 20 }, header: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'c...
// slick.js // General configuration and initiation of the 'slick' image carousel. $(document).ready(function() { $('.single-item').slick({ autoplay: false, autoplaySpeed: 5000, slidesToShow: 1, slidesToScroll: 1, dots: true, }); })
const { resolve } = require('path'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); module.exports = { optimization: { splitChunks: { chunks: 'all' } }...
(function(d){d['gu']=Object.assign(d['gu']||{},{a:"ફાઇલ અપલોડ ન થઇ શકી",b:"Image toolbar",c:"Table toolbar",d:"ઘાટુ - બોલ્ડ્",e:"ત્રાંસુ - ઇટલિક્",f:" વિચાર ટાંકો",g:"Insert image or file",h:"Choose heading",i:"Heading",j:"image widget",k:"Full size image",l:"Side image",m:"Left aligned image",n:"Centered image",o:"Rig...
import React from 'react'; var AnnounceSlide = function AnnounceSlide(_ref) { var message = _ref.message; var styles = { position: 'absolute', left: '-10000px', top: 'auto', width: '1px', height: '1px', overflow: 'hidden' }; return React.createElement("div", { "aria-live": "polite",...
const Command = require("../../base/Command.js"); const Discord = require("discord.js") const axios = require('axios') class Avatar extends Command { constructor(client) { super(client, { name: "avatar", usage: ".avatar [@user]", category: "Global", descriptio...
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory(mod.exports); global.undefined = mod.exports; } })(this, function...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'far'; var iconName = 'toolbox'; var width = 512; var height = 512; var ligatures = []; var unicode = 'f552'; var svgPathData = 'M512 237.25c0-8.49-3.37-16.62-9.37-22.63l-45.26-45.26c-6-6-14.14-9.37-22.63-9.37H384V80c0-26.51-21.49...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render( <App />, document.getElementById("root") );
/* eslint-env mocha */ /* eslint-disable import/no-named-as-default-member */ import { Readable, Writable } from 'stream'; import chai from 'chai'; import mock, { ReadableMock as RM, WritableMock as WM } from '../main'; import ReadableMock from '../main/readable-mock'; import WritableMock from '../main/writable-mock';...
//= require jquery.rating //= require spree/frontend //= require spree/frontend/spree_auth // Navigating to a page with ratings via TurboLinks shows the radio buttons $(document).on('page:load', function () { $('input[type=radio].star').rating(); });
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
const DomainResource = require('./DomainResource'); const Identifier = require('./Identifier'); const CodeableConcept = require('./CodeableConcept'); const Reference = require('./Reference'); const DocumentManifest_Content = require('./DocumentManifest_Content'); const DocumentManifest_Related = require('./DocumentMani...
'use strict' module.exports={ mailer:{ service:'Gmail', //host: 'smtp.gmail.com', // port: 465, // secure: true, auth:{ user:'updeshumrao@gmail.com', pass:'updesh1212' } }, dbConnectstring:'mongodb://127.0.0.1:27017/codeshare', ...
import Room from './Room'; import { LicodeEvent, RoomEvent, StreamEvent } from './Events'; import Stream from './Stream'; import Logger from './utils/Logger'; // eslint-disable-next-line require('expose-loader?adapter!../lib/adapter.js'); // eslint-disable-next-line require('script-loader!./utils/L.Resizer.js'); co...
import _ from 'lodash'; import React from 'react'; import { Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines'; function average(data) { return _.round(_.sum(data)/data.length); } export default (props) => { return ( <div> <Sparklines height={120} width={180} dat...
import React from 'react'; import {Card, Button} from 'react-bootstrap'; const Post = (props) => { return ( <div className="p-3"> <Card > <Card.Img variant="top" src="gatsby-cheers.jpg" /> <Card.Body> <Card.Title>{props.Title}</Card.Title> ...
// Let's define a console if none exist so those pesky debug statements don't // cause errors when Firebug is not open. if (!console) { var console = { log:function() {} }; } function openCallback(input) { console.log('openCallback: ', input); } function saveCallback() { console.log('saveCallback'); var txt...
const express = require('express'); const router = express.Router(); const app = express(); const BASE_PATH = 'v1_0-citizen/6-current-employment'; const ABS_BASE_PATH = `/${BASE_PATH}`; const NEXT_PATH = '/v1_0-citizen/7-previous-employment'; const MAX_PREVIOUS_JOBS = 4; // Redirect /current-employment to first ques...
/** * jBility * jBility is a free set of accessibility functions that uses JQuery. * By: Uriel Cairê Balan Calvi * Available on: https://github.com/urielcaire/jBility */ jQuery(document).ready(function( $ ){ /*=================================================================== * jBility uses JsCookie to manager cooki...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.6.2 (2020-12-08) */
'use strict'; exports.BattleAbilities = { /* Magic Healing This Pokemon heals 6% of their HP every turn. Ethereal Fist Punch Moves become Special and gain 1.2x damage (Same Moves effected as Iron Fist). Disperal Boosts Bullet Seed, Seed Bomb, and Seed Flare by 1.2x power, and Leech Seed deals 20% more damage and heal...
import PortMessage from "./validatable/string/port"; import Port from "./validatable/port"; export default function String(value, message = PortMessage) { return Port(value, message); } //# sourceMappingURL=string.js.map
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
StartTest(function (t) { //http://www.sencha.com/forum/showthread.php?268333-4.2.1-IE-quot-Focus-quot-method-can-break-on-destroyed-grid-views&p=982906#post982906 Ext.Component.override({ onDestroy : function () { if (this.focusTask) this.focusTask.cancel() this...
const { assertLogLength } = require('../../support/utils') const { stripIndent } = require('common-tags') const { _ } = Cypress const okResponse = { contents: 'contents', filePath: '/path/to/foo.json', } describe('src/cy/commands/files', () => { beforeEach(() => { // call through normally on everything ...
const express = require('express'); router = express.Router(); mongooseModel = require('../model/RegistrationModel'); multer = require('multer'); path = require('path') const { v4: uuidv4 } = require('uuid'); //storing our pdf file inside public folder const DIR = './public' const storage = multer.dis...
'use strict' var request = require('../index') var tape = require('tape') // Run a querystring test. `options` can have the following keys: // - suffix : a string to be added to the URL // - qs : an object to be passed to request's `qs` option // - qsParseOptions : an object ...
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
var jsc = require("jsverify"); const _ = require('lodash'); const mutil = require('../mock/mockutils.js'); const mapmov = require('../mock/mapmov.js'); const menv = require('../mock/mockenvironment.js'); const mt = require('mathjs'); const Stream = require("stream"); const streamers = require('../mock/streamers.js'); ...
export default class UserNewViewModel { constructor(ctx) { this.user = ctx.user } }
// // Component <h1></h1> // import React from 'react'; /* eslint-disable react/prefer-stateless-function */ export default class H1 extends React.Component { render() { return ( <h1>{this.props.title}</h1> ); } } H1.propTypes = { title: React.PropTypes.string.isRequired, };
export default { a: 1, };
const Math = artifacts.require('Math') const CategoricalEvent = artifacts.require('CategoricalEvent') const ScalarEvent = artifacts.require('ScalarEvent') const OutcomeToken = artifacts.require('OutcomeToken') const EventFactory = artifacts.require('EventFactory') module.exports = function (deployer) { deployer.li...
import { typeOf } from '@ember/utils'; import { A } from '@ember/array'; import DS from 'ember-data'; export default DS.JSONSerializer.extend({ /** * Invokes the new serializer API. * This should be removed in 2.0 */ isNewSerializerAPI: true, serializeHasMany: function(snapshot, json, relationship) { ...
const config = require("./config"); const bank_blocks = require("./bank_blocks"); module.exports = { config, bank_blocks };
// package metadata file for Meteor.js Package.describe({ name: 'materialize:materialize', // http://atmospherejs.com/materialize/materialize summary: 'Materialize (official): A modern responsive front-end framework based on Material Design', version: '0.99.0', git: 'https://github.com/Dogfalo/materialize.git...
import PiechartAjsModule from './piechartAjs' import PiechartAjsController from './piechartAjs.controller'; import PiechartAjsComponent from './piechartAjs.component'; import PiechartAjsTemplate from './piechartAjs.html'; describe('PiechartAjs', () => { let $rootScope, makeController; beforeEach(window.module(Pie...
(function ($) { "use strict"; var $document = $(document), $window = $(window), $body = $('body'), $html = $('html'), $ttPageContent = $('#tt-pageContent'), $ttFooter = $('footer'), $ttHeader = $('header'), $ttLeftColumnAside = $ttPageContent.find('.leftColumn.aside'), $ttFilterOptio...
const cmds = require('./cmds') module.exports.activate = (s) => { // Register subscriptions cmds.aux.reload() const disposable = cmds.aux.get_disposable() // Register commands const commands = cmds.commands() for(let i in commands) { disposable.add( atom.commands.add( 'atom-workspace', ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var MultichainLib = require("multichain-node"); var UtilLib = require("../Utils"); var HDKeyLib = require("../secure/HDKey"); var Error_1 = require("../base/Error"); var Multichain = /** @class */ (function () { function Multichain(address...