text
stringlengths
2
1.04M
const ClassTagView = require('selector_manager/view/ClassTagView'); const Selectors = require('selector_manager/model/Selectors'); module.exports = { run() { describe('ClassTagView', () => { var obj; var fixtures; var testLabel; var coll; beforeEach(() => { c...
export People from "./People";
/* * @Author: your name * @Date: 2021-12-08 10:04:28 * @LastEditTime: 2021-12-15 15:19:01 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \ChinaMobile-app\src\routes\application\components\choice\inde...
import React from 'react'; import PropTypes from 'prop-types'; import ScrollToNext from '@components/ScrollToNext'; import './style.scss'; const AboutPage = (props, context) => { const { theme: { colorPrimary, colorHighlight, bgPrimary, textPrimary } } = context; return ( <div className="about-page" sty...
const ExtendableError = require("./ExtendableError"); class ComponentDestroyError extends ExtendableError { constructor(error) { super("Error destroying component.", error); } } module.exports = exports = ComponentDestroyError;
import { filter, find, split } from 'lodash' import accounting from 'accounting-js' import moment from 'moment' import { CURRENCIES, NAV_TITLES } from '../constants' export const calculateTotalPayments = (payments) => { return payments.reduce((sum, payment) => { return sum + payment.amount; ...
import React, { useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { loadStripe } from '@stripe/stripe-js'; import { useLazyQuery } from '@apollo/client'; import { QUERY_CHECKOUT } from '../../utils/queries'; import { idbPromise } from '../../utils/helpers'; import CartItem from '....
import React from "react"; import Layout from "../components/Layout"; import SelectiveBoats from "../components/SelectiveBoats"; import { graphql } from "gatsby"; import styles from "../styles/pages/naslovna.module.css"; import BoatFilter2 from "../components/BoatFilter2"; const CatamaranPage = ({ data }) => ( <Layo...
import React from "react"; import {assign} from "lodash"; import BaseComponent from "../base-component"; import WorkerList from "./workers"; import QueueList from "./queues"; import JesqueAdminClient from "../../tools/jesque-admin-client"; export default class HomeView extends BaseComponent { constructor(props) { ...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ import Vue from 'vue'; import router from './router'; import App from './components/App'; requi...
// For more comments about what's going on here, check out the `hello_world` // example. import('./webgl') .then(webgl => webgl.draw()) .catch(console.error);
import React, { Fragment, useEffect, useState } from 'react'; import { PropTypes } from 'prop-types'; import { computeResults } from '@sassoftware/restaflib/dist/restaflib.js'; /** * Display Spre log or list * @param {} props */ function LogList (props) { let { store, computeInfo, type} = props; let [ log...
var SummaryListing = function () { var handleOrders = function () { var grid = new Datatable(); grid.init({ src: $("#summaryTable"), onSuccess: function (grid) { // execute some code after table records loaded }, onError: function (gr...
let detail = { "id": 0, "name": "", // 菜谱名称 "img": "", // 图片描述 "times": 0, // 做过的次数 "评分": 0, // 吃完后对于菜的评分 "createTime": "", // 创建菜谱的时间 "modifyTime": "", // 菜谱更新时间 "material": [{ // 用料(包含做菜的所有原材料) "id": 0, "name": "", "unit": "", // 单位 "amount": "", "price": "" // 单价,可以根据选择的数量计算中总价 ...
let newsList = []; const apiKey = "2dc86bcdc7184b17b45b74b30858f75a" let page = 1; let pageSize = 6; let currentNewsNo = pageSize; let categoryList = {}; const loadNews = async(page) => { let url = `https://newsapi.org/v2/top-headlines?country=us&apiKey=${apiKey}&page=${page}&pageSize=${pageSize}`; let data = a...
import React, { Component } from 'react'; import TextField from '@material-ui/core/TextField'; import { Button } from '@material-ui/core'; const styles = { bar: { backgroundColor: '#fb8c00', color: 'white' } } class LoginForm extends Component { constructor(){ super() this....
/// Copyright (c) 2009 Microsoft Corporation /// /// 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 notice, this list of conditions and /// ...
// 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 agreed to in writing, software // distributed ...
const express = require('express'); const ejs = require('ejs') //Define the package we use to host da website const app = express(); //Create the application we are hosting app.get('/profileDemo', (req, res) => { ejs.renderFile('views/profile.ejs', {user:{username:'TestUsername'}, posts: [{title: 'This may not look...
/* * 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 agreed to in writing, software * distributed u...
var React = require('react'); class HelloComponent extends React.Component { constructor(props) { super(props); this.state = {wording: '你好呀, '}; } render() { return <div>{this.state.wording} {this.props.name}</div>; } } module.exports = HelloComponent;
'use strict'; var hasOwnProperty = Object.prototype.hasOwnProperty; var keywords = Object.create(null); var properties = Object.create(null); var HYPHENMINUS = 45; // '-'.charCodeAt() function isVariable(str, offset) { return str.charCodeAt(offset) === HYPHENMINUS && str.charCodeAt(offset + 1) === HYPH...
M.CondensedBillView = M.BaseView.extend({ className: 'condensed-bill list-group-item', templatePath: 'bills/condensed', tagName: 'a', attributes: function() { return { href: '/bills/' + this.model.get('id') }; }, events: { 'click': 'showBill' }, render: function() { this.$el.html(this.t...
const Database = require('./config') const initDb = { async init(){ const db = await Database() await db.exec(`CREATE TABLE profile ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, avatar TEXT, monthly_budget INT, days_per_week INT, ...
import { UniformsUtils, Vector2 } from '//cdn.skypack.dev/three@0.130.1/build/three.module.js'; import { sampleFunctions } from './mipSampleFunctions.js'; export function clone( shader ) { const newShader = { ...shader }; if ( 'defines' in shader ) { newShader.defines = { ...shader.defines }; } if ( 'uniform...
export default { 'loginTitle': '香香香', 'loginUsername': '用户名', 'loginPassword': '密码', 'loginForgetPasswd': '忘记密码 ?', 'loginSubmit': '登录', 'loginCompanyName': '香香香公司', 'loginCompanyLink': 'http://www.mastiff.com', }
const imprimirresultado = function(nota) { switch (Math.floor(nota)) { case 10: case 9: // suporta o bloco de código (case 9: {console.log("...")}) console.log("Quadro de honra!") break // necessário para quebrar a linha de acontecimentos. Caso não seja usado, a partir ...
// Smoothie export const SMOOTHIE = 'Smoothie'; // Active State export const SMOOTHIE_MACHINE_STATE_IDLE = 'Idle'; export const SMOOTHIE_MACHINE_STATE_RUN = 'Run'; export const SMOOTHIE_MACHINE_STATE_HOLD = 'Hold'; export const SMOOTHIE_MACHINE_STATE_DOOR = 'Door'; export const SMOOTHIE_MACHINE_STATE_HOME = 'Home'; ex...
export { default as sendMessage } from './message-sender.helper.js';
'use strict'; // modify User-Agent async function registerProxy(host) { await browser.runtime.sendMessage(['registerProxy', { host }]); } async function ncLoginFlow(domain) { await registerProxy(domain); // Nextcloud Login flow v2 // https://docs.nextcloud.com/server/latest/developer_manual/client_apis/Login...
var class_v_s_t_g_u_i_1_1_c_split_view = [ [ "ResizeMethod", "class_v_s_t_g_u_i_1_1_c_split_view.html#a7df5e03e40355a107ef2220b9b05f610", [ [ "kResizeFirstView", "class_v_s_t_g_u_i_1_1_c_split_view.html#a7df5e03e40355a107ef2220b9b05f610a23b9759159049adfbe27a4c1f2cbe013", null ], [ "kResizeSecondView", "...
/* * Copyright 2018 Coveros, Inc. * * This file is part of Gherkin Builder. * * Gherkin Builder is 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/L...
import { find } from 'lodash'; import { inactiveId } from '../constants'; export default { labelToggleState: state => (state.isShowingLabels ? 'on' : 'off'), isSidebarOpen: state => state.activeId !== inactiveId, isSwimlanesOn: state => { if (!gon?.features?.boardsWithSwimlanes && !gon?.features?.swimlanes) ...
$(function () { $(".change-devour").on("click", function (event) { var id = $(this).data("id"); var newDevour = $(this).data("newdevour"); var newDevourState = { devoured: newDevour, }; // Send the PUT request. $.ajax("/api/burgers/" + id, { type: "PUT", data: newDevourStat...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.traverse = traverse; var _debug = _interopRequireDefault(require("debug")); var _nodes = require("./nodes"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var debug = (0, _debug....
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("specialchar", "uk", { euro: "Знак євро", lsquo: "Ліві одинарні лапки", rsquo: "Праві одинарні лапки", ldquo: "Лі...
// @flow import React, { useState, useEffect } from "react"; import Config from "react-native-config"; import { StyleSheet, View } from "react-native"; import { useSelector, useDispatch } from "react-redux"; import SafeAreaView from "react-native-safe-area-view"; import { useTheme, useRoute, useNavigation } from "@rea...
import { Readable, Writable, Transform } from 'stream'; export default class testUtil { static generateReadableStream(data) { return new Readable({ objectMode: true, read() { for (const item of data) { this.push(item); } this.push(null); }, }); } stat...
import { FETCH_ARTICLES, SAVE_TERM } from "../actions/types"; //initial application level state const initialState = { articles: null, searchTerm: null }; //exported function with a switch statement to take in the action types and manipulate state accordingly. const articleReducer = (state = initialState, action...
"use strict"; // this file might look strange and you might be wondering what it's for // it's lets you import your source files by importing this entrypoint // as you would import it if it was built with preconstruct build // this file is slightly different to some others though // it has a require hook which compiles...
var sys = require('sys') var exec = require('child_process').exec; function puts(error, stdout, stderr) {sys.puts(stdout)} var child = exec("start.bat", puts); // redirects output child.stdout.pipe(process.stdout); child.stderr.pipe(process.stderr);
#!/usr/bin/env node var fs = require('fs'); var path = require('path'); /** * Root dir */ var projectDir = ''; var exampleSourceDir = path.join(__dirname, '../lib/examples'); /** * Controllers */ var controllerDir = path.join(projectDir, 'controllers'); var controllerExample = path.join(controllerDir, 'example...
/** * Search list product in stock * @param {Object:any} data - data from request * @returns {products} */ exports.refineOptions = (options) => { if (!options) return {} for (const [key, value] of Object.entries(options)) { if (!value) delete options[key] if (key === "where") { options[key] = valu...
'use strict'; module.exports = function(app, io){ app.get('/', function(req, res) { res.sendFile(app.get('cwd') + '/public/index.html'); }); var speak = io.of('/speak'); var spawn = require('child_process').spawn; speak.on('connection', function(sock) { var initMsg = ['Welcome to ...
/** * Description: 人员档案 */ import http from '@/utils/httpRequest' // api: https://github.com/axios/axios let headerUrl = '/spring-sysweb' // headerUrl = '' // ============================ 员工档案 start ====================== /** * 分页查询员工 * temporaryPersonAdd */ export function staffFileList (data) { return http.Get...
/** * @fileoverview added by tsickle * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @record */ export function INavAttributes() { } /** * @record */ export function INavWrapper() { } if (false) { /** @type {?} */ ...
/** * @license * Copyright 2015 Google Inc. 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 requir...
tinyMCE.addI18n('es.table_dlg',{ general_tab:"General", advanced_tab:"Avanzado", general_props:"Propiedades generales", advanced_props:"Propiedades avanzadas", rowtype:"Tipo de fila", title:"Insertar/Modificar tabla", width:"Ancho", height:"Alto", cols:"Cols", rows:"Filas", cellspacing:"Espaciado de celda", cellpadding...
$(document).ready(function() { //var city = $('#current-city').val(); $.get('http://api.openweathermap.org/data/2.5/weather?q=Tokyo&appid=a3d9eb01d4de82b9b8d0849ef604dbed&units=metric', function(data) { $('#current-temperature').text(data.main.temp); }); var thermostat = new Thermostat(); var status = t...
import Footer from "./Footer" import NavBar from "./Navbar" const Layout = ({ children }) => { return ( <div className="content"> <NavBar /> {children} <Footer /> </div> ); } export default Layout;
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
var webpack = require('webpack'); var path = require('path'); var libraryName = 'conditionals'; var outputFile = libraryName + '.js'; var config = { entry: __dirname + '/src/conditionals.js', devtool: false, output: { path: __dirname + '/lib', filename: outputFile, library: libraryN...
// @flow import React, { Component } from 'react' import type { Node } from 'react' import Drawer from 'react-native-drawer' import THEME from '../../../../theme/variables/airbitz' import ControlPanel from '../ControlPanel' export type Props = { open: Function, close: Function, children: Node, view: boolean ...
import React from "react"; import "./popup.css"; import { Card } from 'react-bootstrap'; function Popup(props) { return ( // <div className="container"> // <a href={props.link}><h3>{props.title}</h3></a> // <ul className="news"> // <li> // <strong>Content:</strong> {props.content} ...
/** * Copyright 2004-present Facebook. All Rights Reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ import React from 'react'; // DESING SYSTEM // import Card from '@symphony/design-system/compon...
import React from 'react'; export function audio(svg) { return ( <svg height={svg.height} width={svg.width} fill={svg.color} viewBox="0 0 55 80" xmlns="http://www.w3.org/2000/svg"> <g transform="matrix(1 0 0 -1 0 80)"> <rect width="10" height="20" rx="3"> <ani...
const gulp = require('gulp'); const imagemin = require('gulp-imagemin'); const imageminPngquant = require('imagemin-pngquant'); const imageminZopfli = require('imagemin-zopfli'); const imageminMozjpeg = require('imagemin-mozjpeg'); const imageminJpegRecompress = require('imagemin-jpeg-recompress'); function minImages(...
(window["wpJsonpIntlDateTime"] = window["wpJsonpIntlDateTime"] || []).push([["validation_locales/sr_Latin-json"],{ /***/ "./node_modules/vee-validate/dist/locale/sr_Latin.json": /*!*************************************************************!*\ !*** ./node_modules/vee-validate/dist/locale/sr_Latin.json ***! \****...
export { default as AuthUserProvider } from './AuthUserProvider'; export { default as CategoryContentProvider } from './CategoryContentProvider'; export { default as FirebaseProvider } from './FirebaseProvider'; export { default as OptFormEmailProvider } from './OptFormEmailProvider'; export { default as ProfileProvide...
import { Vec3Zero } from "./Vec3Zero"; export const ZERO = Vec3Zero();
/** * `OAuth2Error` error. * * @api public */ function OAuth2Error(message, code, uri, status) { Error.call(this); this.message = message; this.code = code || 'server_error'; this.uri = uri; this.status = status || 500; } /** * Inherit from `Error`. */ OAuth2Error.prototype.__proto__ = Error.prototype;...
const { DataTypes } = require("sequelize"); module.exports = sequelize => { sequelize.define("guildLogging", { modAction: { type: DataTypes.STRING, }, automod: { type: DataTypes.STRING, }, message: { type: DataTypes.STRING, }, role: { type: DataTypes.STRING, }, member: { type: DataTyp...
import Vue from 'vue' import Axios from 'axios' import App from './App.vue' import './registerServiceWorker' import router from './router' import store from './store' import vuetify from './plugins/vuetify' import Alert from './components/Alert' Vue.config.productionTip = false Vue.prototype.$http = Axios Vue.prototy...
/** * Copyright (c) 2017-present, Ephox, Inc. * * This source code is licensed under the Apache 2 license found in the * LICENSE file in the root directory of this source tree. * */ var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { ...
const DARK_CLASS_NAME = 'dark' const DARK_COLOR_THEME = 'dark' const LIGHT_CLASS_NAME = 'light' const LIGHT_COLOR_THEME = 'light' const HIDDEN_CLASS_NAME = 'hidden' module.exports = { DARK_CLASS_NAME, DARK_COLOR_THEME, LIGHT_CLASS_NAME, LIGHT_COLOR_THEME, HIDDEN_CLASS_NAME, }
function button1() { const img1=document.getElementById('img'); const sv="https://image.cnbcfm.com/api/v1/image/104819285-thor.jpg?v=1529476684"; img1.src=sv } function button2() { const img2=document.getElementById('img'); const sk="https://i.pinimg.com/originals/2a/02/68/2a026809d5a02d6526f086c...
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol....
/** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup UnaCore UNA Core * @{ */ function BxDolVoteReactions(oOptions) { BxDolVote.call(this, oOptions); this._sClassDoButton = 'bx-vote-do-vote'; } BxDolVoteReactions.prototype = Object.crea...
/** @returns Metacomponent */ export default ([name, value]) => ({ tag: 'input', attrs: { type: 'text', name, placeholder: value.placeholder, style: { padding: '5px 10px', borderRadius: '5px', border: 'none', }, }, events: { input(event) { this.triggerCustomEvent(...
/*! * Remark Material (http://getbootstrapadmin.com/remark) * Copyright 2017 amazingsurge * Licensed under the Themeforest Standard Licenses */
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'showblocks', 'bg', { toolbar: 'Показва блокове' } );
const assert = require('assert'); const ganache = require('ganache-cli'); const Web3 = require('web3'); const provider = ganache.provider(); const web3 = new Web3(provider); const { interface, bytecode } = require('../compile'); let accounts; let lottery; beforeEach(async () => { // Get a list of all accounts ...
var userInfo = {md5: ""}; //用户会话信息 var chunkSize = 5 * 1000 * 1024; //分块大小 var uniqueFileName = null; //文件唯一标识符 var folderId = -1; //文件夹id 根据当前所属文件夹来赋值 function getUrl(uri) { //测试用,根据不同类型的后端返回对应的请求地址 // return "http://127.0.0.1:11008/file/" + uri; return _GATE_URL + "chu...
import progress from "./index.vue"; export default progress;
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ function webpackJsonpCallback(data) { /******/ var chunkIds = data[0]; /******/ var moreModules = data[1]; /******/ var executeModules = data[2]; /******/ /******/ // add "moreModules" to the modu...
// var Car = function (make, model, year, owner, tag, renewDate) { // this.make = make; // this.model = model; // this.year = year; // this.owner = owner; // this.tag = tag; // this.renewDate = renewDate; // }; // Car.prototype = { // getMake: function () { // return this.make; // ...
export default { apiConfig: '/api/', };
const images = require.context("../images", true) const imagePath = (name) => images(name, true) require("trix") require("@rails/actiontext") require("turbolinks").start() import "core-js/stable" import "regenerator-runtime/runtime" import "@activeadmin/activeadmin" import "components/datepicker" import "components...
class View { constructor (p, Tone, Timer, params) { this.p = p this.params = params this.Tone = Tone this.Timer = Timer // timeout object for game timing this.randomID = p.random() } draw () { } windowResized(){ } } export default View
/* globals require */ require('../helpers/h-matchers');
import mongoose from 'mongoose'; import { ObjectId } from 'mongodb'; import config from '../config/index'; const _safeObjectId = s => (ObjectId.isValid(s) ? new ObjectId(s) : null); const ScoreLogSchema = mongoose.Schema({ user_id: { type: mongoose.Schema.Types.ObjectId, ref: 'users', require: true, }...
export default class LoginCounter { constructor() { this.userLoginAttempted = false; } }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.OutlinedPaperPlaneIconConfig = void 0; var _createIcon = _interopRequireDefault(require("../createIcon")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } /* ...
const expect = require('chai').expect; const readTestAsset = require('../test-helper').readTestAsset; const TikiWiki = require('../../src/scrapers/resolvers/TikiWiki'); let instance = new TikiWiki(); describe('TikiWiki', function () { it('should resolve html links', function () { // 1. ARRANGE let...
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.leng...
// upload picture /*$('#med_pic').on('input',function () { let fd = new FormData(), file = $(this)[0].files, _self =$(this)[0], fol = $('#fldr').val(); fd.append('file',file[0]); fd.append('folder',fol); ajaxCsrf(); $.ajax({ url: 'media/upload', type: 'post', ...
"use strict"; var couchbase = require('./lib/couchbase.js'), fs = require('fs'), util = require('util'); var assert = require('assert'); var configReady = false; var supportsN1ql = false; var config; var configFilename = 'config.json'; if (fs.existsSync(configFilename)) { config = JSON.parse(fs.readFileSync(c...
export function getWhetherType (value) { switch (value) { case true: return 'success' case 'true': return 'success' case false: return 'warning' case 'false': return 'warning' default: return 'info' } } export function getWhetherText (value) { switch (value) { ...
$(document).ready(function(){ $("input").focus(function() { $(this).attr("placeholder", "Type text to begin"); }) $("input").focusout(function() { $(this).attr("placeholder", ""); $(this).val(""); $("#toAppend").empty(); $("#toClear").empty(); $("#toClear").append("Click icon to begi...
var hypnoticBall, database; var position; function setup(){ database = firebase.database(); console.log(database); createCanvas(500,500); hypnoticBall = createSprite(250,250,10,10); hypnoticBall.shapeColor = "red"; var hypnoticBallPosition = database.ref('ball/position'); hypnoticBallPosition.on("val...
import React, { useState, useContext } from 'react'; import PropTypes from 'prop-types'; import CubePropType from 'proptypes/CubePropType'; import { Button, Card, CardHeader, CardBody, CardFooter, Col, Nav, Navbar, NavbarToggler, NavItem, NavLink, Row, UncontrolledAlert, UncontrolledCollaps...
import permutateWithoutRepetitions from '../permutateWithoutRepetitions'; import factorial from '../../../math/factorial/factorial'; describe('permutateWithoutRepetitions', () => { it('should permutate string', () => { const permutations0 = permutateWithoutRepetitions([]); expect(permutations0).toEqual([]); ...
import { inject, observer } from 'mobx-react' import { array, func } from 'prop-types' import React, { Component } from 'react' import CollectionsModal from './CollectionsModal' import SelectCollection from './components/SelectCollection' import CreateCollection from './components/CreateCollection' function storeMapp...
export const objectMap = (obj, cb, thisArg) => Object.entries(obj) .reduce((res, [key, value], index) => { res[key] = cb.bind(thisArg)([key, value], index, obj); return res; }, {}); export default objectMap;
import controller from './home-article.controller'; import templateUrl from './home-article.html'; export const HomeArticleComponent = { controller, bindings: { articleData: '<' }, templateUrl };
export const delimiters = { startDelimiter: '{', endDelimiter: '}' } export const delimit = (text) => { const { startDelimiter, endDelimiter } = delimiters return `${startDelimiter}${text}${endDelimiter}` } // const REQUIRED_UPLOAD_FIELDS = ['firstName', 'lastName', 'cell'] const TOP_LEVEL_UPLOAD_FIELDS = ['f...
Ember.TEMPLATES["test/fixtures/simple"] = Ember.HTMLBars.template((function() { return { isHTMLBars: true, revision: "Ember@1.12.2", blockParams: 0, cachedFragment: null, hasRendered: false, build: function build(dom) { var el0 = dom.createDocumentFragment(); var el1 = dom.createEl...
/******/ (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...
/** * 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...
var reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g;var reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var reFlags=/\w*$/;var reFuncName=/^\s*function[ \n\r\t]+\w/;var reHexPrefix=/^0[xX]/;var reHostCtor=/^\[object .+?Constructor\]$/;var reLatin1=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\x...