text
stringlengths
2
1.05M
// Test string concatenation of non-identifier strings and unsigned ints. y = "z =" if (Math.random()) { x = 4 } else { x = 5 } TAJS_dumpValue(y + x)
import React from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Row, Col, Card, Button } from 'reactstrap'; import GaugeChart from 'react-gauge-chart'; export default function LivePreviewExample() { return ( <> <Row> <Col xl="4"> <Card className="p-4...
import React, { useRef, useState, useEffect } from 'react'; import { useDispatch } from "react-redux"; import { sendToServer } from "../../features/post/postSlice"; export default function CreatePost() { const dispatch = useDispatch(); const title = useRef(); const text = useRef(); const button = use...
/* global describe, it, before, after */ var assert = require('assert'); var MongoClient = require('mongodb').MongoClient; var virgilio = require('./'); var async = require('async'); var testData = require('./testData.json'); var COLLECTION_NAME = 'virgilio-mongo-tests'; describe('I can perform updates on mongo', func...
export class Fab { constructor() { /** * If true, the fab will display on the edge of the header if * `vertical` is `"top"`, and on the edge of the footer if * it is `"bottom"`. Should be used with a `fixed` slot. */ this.edge = false; this.activat...
import { wrapRootElement as wrap } from "./src/components/wrap_root_element"; export const wrapRootElement = wrap;
/** * Created by guoshuyu on 2017/11/12. */ import React, {Component} from 'react'; import { Text, View, TextInput, TouchableOpacity, StyleSheet, ScrollView, TouchableHighlight } from 'react-native'; import PropTypes from 'prop-types'; import styles, {screenWidth, screenHeight} from "../.....
// @flow // Non-shallow reducer state example needs Immutable // import Debug from 'debug' import { Record } from 'immutable' import type { APIError } from 'src/helpers/api' // const log = Debug('my-app:redux:modules:profile') // ACTION TYPES export const GET_PROFILE = 'my-app/profile/GET_PROFILE' export const GET_P...
let nextTodoId = 0 export const addTodo = (text) => { return { type: 'ADD_TODO', id: nextTodoId++, text } } export const toggleTodo = (id) => { return { type: 'TOGGLE_TODO', id } } export const setVisibilityFilter = (filter) => { return{ type: 'SET_VISIBILITY_FILTER', filter } ...
import React from 'react' import { graphql } from 'gatsby' import Layout from '../components/layout' export const query = graphql` query($slug: String!) { markdownRemark(fields: { slug: { eq: $slug } }) { frontmatter { title date } html ...
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Un...
export const DEFAULT_FLAG_PROP_KEY = 'isFeatureEnabled'; export const DEFAULT_FLAGS_PROP_KEY = 'featureToggles'; export const ALL_FLAGS_PROP_KEY = '@flopflip/flags';
var lawgs = require('lawgs'); lawgs.config({ aws: { accessKeyId: settings.loggers.cloudwatch.accessKeyId, secretAccessKey: settings.loggers.cloudwatch.secretAccessKey, region: settings.loggers.cloudwatch.region } }); var logger = lawgs.getOrCreate(settings.loggers.cloudwatch.logGroup)...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIn = void 0; const base_string_validation_rule_1 = require("./base-string-validation-rule"); const n_defensive_1 = require("@nivinjoseph/n-defensive"); function isIn(values, ignoreCase) { return new StringIsIn(values, !!ignoreCas...
'use strict'; module.exports = { root: true, parser: 'babel-eslint', parserOptions: { ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { legacyDecorators: true, }, }, plugins: ['ember'], extends: [ 'eslint:recommended', 'plugin:ember/recommended', 'plugin:prettier/re...
/* * Copyright 2015 Telefónica I+D * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
(function($){ $.fn.powerSlide = function(options) { var opt = { 'width': 640, // Width and height of the images 'height': 340, 'position': 'bottom', // Position of the navigation 'bullets': false, // Show numbering navigation 'thumbs': true, // Show thumbnail navigation 'row': 10, //...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function get() { return _createStyles.default; } }); var _cre...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as tslib_1 from "tslib"; import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; /*...
module.exports = [ { path: '/test', method: 'get', functionName: 'testFunc' }, { path: '/testwithtemplate', method: 'get', functionName: 'testFuncWithTemplate' } ];
// eggWhites.js // // Copyright (c) 2016 Stefan Wirth // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _SvgContainer = require('./SvgContainer'); var _SvgContaine...
/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */ !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace...
/// BareSpecifier=prismjs/components/prism-javastacktrace.min Prism.languages.javastacktrace = { summary: { pattern: /^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m, inside: { keyword: { pattern: /^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m, lookbehind: !0 ...
const isBrowserTabFocused = () => !document.hidden; module.exports = isBrowserTabFocused;
import React from 'react'; import { shallow } from 'enzyme'; import { AddExpensePage } from '../../components/AddExpensePage'; import expenses from '../fixtures/expenses'; let addExpense, history, wrapper; beforeEach(() => { addExpense = jest.fn(); history = { push: jest.fn() }; wrapper = shallow(<AddExpensePag...
#!/usr/bin/env node const exec = require('child_process').exec const alert = require('./') if (process.argv.length !== 3) { console.log('You need to specify one argument') return } exec(alert(process.argv[2]))
/** * */ ; (function($, window, document, undefined) { var pluginName = "accessHistoryEditPane"; var defaults = { id : "", parent : "", entity : "", }; var EditPanel = function(element, options) { this.element = element; this.options = $.extend({ id : "", parent : "", entity : "", }, defau...
module.exports = (app)=>{ const mongoose = app.mongoose; const Schema = mongoose.Schema; const EmailSchema = new Schema({ emailAddress:{ type:String, unique:true, required:true }, info:{ type:String, }, replayStatus:{ ...
const path = require("path"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const CleanWebpackPlugin = require("clean-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const runtimeConfig = require("./webpack.runtime"); ...
/* @product.name@ JS v@product.version@ (@product.date@) (c) 2009-2014 Torstein Honsi License: www.highcharts.com/license @product.name@ JS v@product.version@ (@product.date@) Plugin for displaying a message when there is no data visible in chart. (c) 2010-2014 Highsoft AS Author: Oystein Moseng License: ww...
CKEDITOR.plugins.setLang( 'html5video', 'uz', { button: 'HTML5 video qo‘shing', title: 'HTML5 video', infoLabel: 'Video ma\'lumot', allowed: 'Ruxsat etilgan kengaytmalar: MP4, WebM, Ogv', urlMissing: 'Video\'ning URL manbasi topilmadi.', videoProperties: 'Video xususiyatlari', upload: 'Yukla...
/* * Copyright 2007-2009 by Tobia Conforto <tobia.conforto@gmail.com> * * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; either version 2 of the License, or (at your * option) any later versio...
/** * @file text-track.js */ import TextTrackCueList from './text-track-cue-list'; import * as Fn from '../utils/fn.js'; import {TextTrackKind, TextTrackMode} from './track-enums'; import log from '../utils/log.js'; import window from 'global/window'; import Track from './track.js'; import { isCrossOrigin } from '../...
import Nightmare from 'nightmare'; describe('Login', () => { let page; beforeEach(() => { page = Nightmare(); page .goto('http://localhost:8000/') .evaluate(() => { window.localStorage.setItem('antd-pro-authority', 'guest'); }) .goto('http://localhost:8000/#/user/login'); ...
import { merge } from "lodash-es"; export default { computed: { inheritPropsFrom() { return this.$options.shilp && this.$options.shilp.inheritPropsFrom; }, parentComponent() { return this.$parent.$options.name; }, propsWithParent() { const mergedProps = {}; return merge(me...
const path = require('path'); const express = require('express'); const webpack = require('webpack'); const internalIp = require('internal-ip'); const config = require('./webpack/webpack.config.dev'); const app = express(); const compiler = webpack(config); app.use(require('webpack-dev-middleware')(compiler, { noIn...
var i, len, modal, modals, options; BULMA.toggleModal = function(el, options) { if (!options.target) { throw new Error('Found [BULMA-MODAL] but there is no target defined!'); } el.addEventListener('click', function(e) { var backdrop, closeBtn, closeModal, modal; e.preventDefault(); e.stopPropagat...
function toTitle(val) { switch (Number.parseInt(val)) { case 0: return '未选择' case 1: return '更新托书' case 2: return '更新船期' case 3: return '重新订舱' case 4: return '其他变更' default: return val } } function toValue(val) { switch (val) { case '未选择': re...
/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool...
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,r){return void 0===r&&(r="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(r),r}:e(jQuery)}(function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevente...
import { router } from '../index' const API_URL = 'http://localhost:3000/' const LOGIN_URL = API_URL + 'sessions/create/' const SIGNUP_URL = API_URL + 'signup/' export default { user: { authenticated: false }, login(context, creds, redirect) { context.$http.post(LOGIN_URL, creds, (data) => { loc...
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
module.exports = function(sequelize: any, DataTypes: any) { const Company = sequelize.define('company', { name: { type: DataTypes.STRING, allowNull: false }, description: { type: DataTypes.TEXT, allowNull: false }, sector: { type: DataTypes.INTEGER, allowNull: false }, products: { type: DataTypes.STRI...
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.videojs=e()}(this,function(){function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(t,e){Ke(t).forEach(function(n){return e(t[n],n)})}function n(t,e){var n=argument...
burger.addEventListener("click", navToggle); window.addEventListener("mousemove", cursor); window.addEventListener("mouseover", activeCursor); window.addEventListener("scroll", HideCursor);
'use strict'; var gulp = require('gulp'), stripDebug = require('gulp-strip-debug'), gulpif = require('gulp-if'), $ = require('gulp-load-plugins')(), browserify = require('browserify'), watchify = require('watchify'), source = require('vinyl-source-stream'), connect = $.connectMulti, wir...
const prompt = require('inquirer').prompt const axios = require('axios') const qs = require('qs') const store = require('../utils/store') const colors = require('colors') const config = require('../config') const logger = require('../utils/logger') const authUser = function (user) { return axios.post(config.server...
// Copyright IBM Corp. 2018,2020. All Rights Reserved. // Node module: strong-globalize // This file is licensed under the Artistic License 2.0. // License text available at https://opensource.org/licenses/Artistic-2.0 'use strict'; var SG = require('../'); var helper = require('../lib/helper'); var loadMsgHelper = r...
import { graphql } from "gatsby" import React from "react" import Layout from "../components/layout" import ReactHtmlParser from "react-html-parser"; const PressReleaseDetail = ({ data }) => ( <Layout> <section className="grid-container"> <h2>{ data.nodePressRelease.title }</h2> { ReactHtmlParser(dat...
import React, { Component } from 'react'; import axios from 'axios'; export default class ApproveComment extends Component { constructor(props){ super(props); this.state = { comments_id: this.props.comments_id, comment: this.props.comment, artist: this.props.art...
import {RegularBall} from "./regularBall"; import TWEEN from "@tweenjs/tween.js"; export const x3Ball = 'x3'; export class X3Ball extends RegularBall { constructor(x, y, colorIdx, color, cellWidth, cellHeight, game) { super(x, y, colorIdx, color, cellWidth, cellHeight, game); this.opacity = 1; } getTyp...
Ext.define('RaxaEmr.Pharmacy.store.Persons', { extend: 'Ext.data.Store', model: 'RaxaEmr.Pharmacy.model.Person', proxy: { type: 'rest', url: HOST + '/ws/rest/v1/person', headers: Util.getBasicAuthHeaders(), reader: { type: 'json' }, writer: { ...
import { UNPAID_STATE, WIZARD_ENABLED } from '../../constants'; import { API_CUSTOM_ERROR_CODES } from '../../errors'; /* @ngInject */ function signupUserProcess( $location, AppModel, dispatchers, gettextCatalog, settingsApi, signupModel, authentication, lazyLoader, Address, $st...
module.exports = { siteName: 'From Design to Development Crash Course', homepage: 'https://fromdesignto.dev', authorName: 'Colby Fayock', authorUrl: 'https://twitter.com/colbyfayock', supportEmail: 'hello@colbyfayock.com' }
/* * Copyright © 2016-2019 The Thingsboard Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
describe("Utils", function(){ it("Utils.convBase", function(){ expect(Nehan.Utils.convBase(128, 10)).toEqual([1, 2, 8]); expect(Nehan.Utils.convBase(128, 16)).toEqual([8, 0]); }); it("Utils.trimHeadCRLF", function(){ expect(Nehan.Utils.trimHeadCRLF("\r\n\nhoge")).toBe("hoge"); }); it("Utils.trim...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable no-string-based-set-timeout exports.default = (ms = 1000) => { return new Promise(resolve => setTimeout(resolve, ms)); };
/** * BSD 3-Clause License * * Copyright (c) 2021, Avonni Labs, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright n...
(function() { const redirect = { to_protocol: "https", to_domain_path:"ryoyakawai.com/blog", replace_reg_exp: new RegExp("^" + document["domain"]), arr_to_URL: new Array(), str_to_URL: "" }; document["URL"].split('/').map( value => { if(value.match(redirect.replace_reg_exp, value) != null)...
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function(config) { config.uiColor = '#F5F5F5'; config.plugins = 'uploadwidget,a11yhelp,about,basicstyles,bidi,blockquote,button,clipboard,co...
import { run } from '@ember/runloop'; import { moduleFor, test } from 'ember-qunit'; import window, { reset } from 'ember-window-mock'; import sinon from 'sinon'; import mock from 'ember-metrics-adobe-dtm/test-support/mock'; let setDebugSpy; let pageBottomSpy; let trackSpy; moduleFor('metrics-adapter:adobe-dtm', 'ado...
/***************************************************************************** * Open MCT, Copyright (c) 2014-2022, United States Government * as represented by the Administrator of the National Aeronautics and Space * Administration. All rights reserved. * * Open MCT is licensed under the Apache License, Version ...
/* * @Author: doramart * @Date: 2019-06-20 18:55:40 * @Last Modified by: doramart * @Last Modified time: 2021-04-17 14:35:34 */ 'use strict'; const Controller = require('egg').Controller; const { adminResourceRule } = require('@validate'); const xss = require('xss'); const _ = require('lodash'); const { siteFunc ...
(function() { 'use strict'; /** * @ngdoc directive * @name mdCalendar * @module material.components.datepicker * * @param {Date} ng-model The component's model. Should be a Date object. * @param {Date=} md-min-date Expression representing the minimum date. * @param {Date=} md-max-date Expressi...
/*! For license information please see 2.2e3fc15f.chunk.js.LICENSE.txt */ (this.webpackJsonpfreecodingschool=this.webpackJsonpfreecodingschool||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(323)},function(e,t,n){"use strict";e.exports=n(331)},function(e,t,n){"use strict";function r(){return(r=Object.assign||f...
module.exports = { type: 'session', fields: [ { key: 'email', label: 'Email Address', type: 'string' }, { key: 'password', label: 'Password', type: 'password' } ], sessionConfig: { perform: (z, bundle) => { ...
/** * Created by elly on 2017/4/10. */ import React, {Component, PropTypes} from 'react'; import { Tooltip, Button, Table, Col } from '../../../src'; import Panel from './panel'; import {basic, trigger, api} from "../constants/tooltip"; export default class Main extends Component { constructor(pr...
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName)...
'use strict'; class LiteLifting { constructor(config) { const defaultConfig = { publicdir: global.__publicdir, schema: config.appName, port: process.env.ll_port || 8080, ip: process.env.ll_ip || "0.0.0.0", securePort: process.env.ll_securePort || 443, secureIp: process.env...
/** * Controller for choosing or creating a new dashboard */ (function () { 'use strict'; angular .module(HygieiaConfig.module) .controller('SiteController', SiteController); SiteController.$inject = ['$scope', '$q', '$uibModal', 'dashboardData', '$location', 'DashboardType', '...
var el = { name: 'el', el: { colorpicker: { confirm: 'Εντάξει', clear: 'Καθαρισμός', }, datepicker: { now: 'Τώρα', today: 'Σήμερα', cancel: 'Ακύρωση', clear: 'Καθαρισμός', confirm: 'Εντάξει', ...
require=function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return o(n?n:e)}...
'use strict'; function createSailsBackend($browser, $window, $injector, $q, $timeout){ if(!$window.io){ throw new Error('socket.io client not found') } if(!$window.io.sails){ throw new Error('sails.io client not found') } if(!$window.io.socket){ console.warn('no connec...
import Student from '../models/Student'; class StudentController { async store(req, res) { const studentExists = await Student.findOne({ where: { email: req.body.email }, }); if (studentExists) { return res.status(400).json({ error: 'User already exists.', }); } const st...
/* eslint-env mocha */ /* eslint no-new-wrappers: 0 */ import expect from 'expect'; import fString from '../../src/types/string.js'; describe('string', () => { context('.name', () => { it('is "string"', () => { expect(fString.name).toEqual('string'); }); }); context('.checker', () => { it('ac...
import Accessor from './Accessor'; import Parameter from './Parameter'; import Result from './Result'; export default class Initialize { constructor(type, value) { Object.assign(this, { type, value }); } getClassName() { return 'Initialize'; } analyze(context) { if (context.parentConstruct inst...
function solve(){ let text = document.getElementById('input').innerHTML; let sentences = text.split(".").map(s => s.trim()); let outputElement = document.getElementById('output'); let pCount = parseInt(sentences.length / 3); if(sentences.length % 3 != 0){ pCount++; } let index...
import React from "react"; import withStyles from "@material-ui/core/styles/withStyles"; import MaskedTextField from "./MaskedTextField"; const parseDigits = string => (string.match(/\d+/g) || []).join(""); const format = string => { if (string === undefined || string === null) return string; let digits = parseD...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
window.kudosAppLoader=window.kudosAppLoader||{},function(){var e={};function n(e){window.document.title=e||""}function o(e){document.write(e)}function a(e){return e?e.charAt(0).toUpperCase()+e.slice(1):null}function t(){var e=location.href.replace(location.origin,"/..");window.location.href="/blogs/roller-ui/login-redi...
import {EventAggregator} from 'aurelia-event-aggregator'; import {autoinject} from 'aurelia-framework'; import {customElement} from 'aurelia-framework'; @customElement('container') @autoinject() export class Container { name = 'Container'; overridableContext = ''; boundContext = ''; constructor() ...
const Discord = require('discord.js'); const { query } = require('../../mysql.js'); const methods = require('../../utils/methods.js'); const os = require('os'); module.exports = { name: 'eval', aliases: [''], description: 'Admin-only command.', hasArgs: true, requirePartner: false, w...
import React from "react"; import Badge from "react-bootstrap/Badge"; import { useDispatch, useSelector } from "react-redux"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { showModal } from "./modalSlice"; import TagPill from "./Tag...
export const AGENT_ID_KEY = 'AGENT_ID_KEY' export const AUTH_CODE_KEY = 'AUTH_CODE_KEY' export const ACCESS_TOKEN_KEY = 'ACCESS_TOKEN_KEY' export const REFRESH_TOKEN_KEY = 'REFRESH_TOKEN_KEY' export const ACCESS_TOKEN_TYPE_KEY = 'ACCESS_TOKEN_TYPE_KEY'
const R = require('ramda'); const { Given, When, Then, } = require('cucumber'); const Decimal = require('decimal.js'); const tk = require('timekeeper'); const moment = require('moment'); const taxYearLookup = { '2016/17': '2016-04-06', '2017/18': '2017-04-06', '2018/19': '2018-04-06', '2019/20': '2019-04...
import { applyCommon } from './common.js'; import { createFormEntity } from '../helpers/form-helper.js'; import { notificationHandler, notificationMessages } from './notification.js'; export async function registerHandler() { await applyCommon.call(this); this.partials.registerForm = await this.load('../../templates/...
export default function getAbi(contractEntry) { if (contractEntry.web3Contract) { return contractEntry.web3Contract.options.jsonInterface } else { return contractEntry.abi } }
/** * Copyright (c) 2013 Zhen, LLC. http://zhen.io * * MIT License * */ 'use strict'; var app = angular.module("angular-pages", []); app.directive("znPagesPage", ['znPageManager', 'Commons', function (znPageManager, Commons) { function process() { Commons.log(2, { "func": "znPagesPage.p...
const DigitTicker = (() => { let barrier, container_ref, el_container, el_peek, el_peek_box, el_mask, total_tick_count, contract_status, type, current_spot; let style_offset_correction = 5; let is_initialized = false; cons...
const path = require(`path`) const { createFilePath } = require(`gatsby-source-filesystem`) exports.onCreateWebpackConfig = ({ actions }) => { actions.setWebpackConfig({ resolve: { alias: { components: path.resolve(__dirname, 'src/components'), pages: path.resolve(__dirname, 'src/pages'), ...
import Vue from 'vue'; // Vue.config.silent = true /* eslint-disable global-require */ if (typeof window !== 'undefined') { global.window.resizeTo = (width, height) => { global.window.innerWidth = width || global.window.innerWidth; global.window.innerHeight = height || global.window.innerHeight; global.w...
var structoperations__research_1_1sat_1_1PresolveContext = [ [ "NewIntVar", "structoperations__research_1_1sat_1_1PresolveContext.html#a38e2f15d439243fcc447d48fe120624e", null ], [ "NewBoolVar", "structoperations__research_1_1sat_1_1PresolveContext.html#af3111a97c2700c885471fe682edfeee0", null ], [ "GetOrCr...
var assert = require('assert') var Buffer = require('safe-buffer').Buffer var getRawBody = require('..') var Readable = require('stream').Readable var run = Readable ? describe : describe.skip run('using native streams', function () { it('should read contents', function (done) { var stream = createStream(Buffer....
const { environment } = require('@rails/webpacker'); // Get the actual sass-loader config const sassLoader = environment.loaders.get('sass'); const sassLoaderConfig = sassLoader.use.find(function (element) { return element.loader == 'sass-loader'; }); // Use Dart-implementation of Sass (default is node-sass) const ...
// @flow strict import React from "react"; // $FlowExpectedError[cannot-resolve-module] import { persist } from "@cumcord/pluginData"; // $FlowExpectedError[cannot-resolve-module] import { useNest } from "@cumcord/utils"; // $FlowExpectedError[cannot-resolve-module] import { findByDisplayName } from "@cumcord/modules/...
import PropTypes from 'prop-types'; import React from 'react'; import map from 'lodash/map'; import Template from './Template.js'; import hasKey from 'lodash/has'; import cx from 'classnames'; class Hits extends React.Component { renderWithResults() { const renderedHits = map(this.props.hits, (hit, position) => ...
export { default } from './Home.vue';
'use strict'; var platform = require('../lib/platform.js'); var helper = require('./helper.js'); var path = require('path'); var grunt = require('grunt'); var async = require('async'); var globule = require('globule'); var fixturesbase = path.resolve(__dirname, 'fixtures'); // helpers function cleanUp() { ['add.js...
const staticServer = require('static-server'); var server = new staticServer({ rootPath : '.', port : 4242, templates : { index : 'index.html' } }); server.start(function (err) { if(err) { console.log(err); } console.log('server has been started!!'); });