text
stringlengths
2
1.04M
import { expect } from 'chai' import { inverseCaptchaNext, inverseCaptchaHalfwayAround, parseInput } from '../src/inverse-captcha' describe('Day1', () => { describe('parseInput', () => { it('Should implement a parseInput method', () => { expect(parseInput).to.be.a('function') }) it('Sh...
import Icon from '../components/Icon.vue' Icon.register({"shopping-basket":{"width":2048,"height":1792,"paths":[{"d":"M1920 768q53 0 90.5 37.5t37.5 90.5-37.5 90.5-90.5 37.5h-15l-115 662q-8 46-44 76t-82 30h-1280q-46 0-82-30t-44-76l-115-662h-15q-53 0-90.5-37.5t-37.5-90.5 37.5-90.5 90.5-37.5h1792zM485 1568q26-2 43.5-22.5...
const initialState = []; export default function users(state = initialState, action) { switch (action.type) { case 'SET_USERS': return action.payload; case 'ADD_USER': return [ ...state, action.payload ]; case 'UPDATE_USER': return state.map(item => { if (item._id === action.payload._id) { ...
'use strict' /* global emit */ let views = module.exports = {} views.articles = { map: function (doc) { if (doc.type === 'article') emit(doc._id, doc) } }
// Format a Solidus route so it can be used by the router module.exports.formatRouteForExpress = function(route) { return route.replace(/{([a-z_-]*)}/ig, ':$1'); // replace dynamic bits }; // Expand variables like {this} in the string with the params values module.exports.expandVariables = function(string, params) {...
class LoadTime{ constructor(startDT, endDT, curDT=new Date()){ this.startPoint = startDT; this.endPoint = endDT; this.curPoint = curDT; } updateElapsed(){ this.curPoint = new Date(); return this.getElapsed(); } getElapsed(){ return Math.abs(this.curP...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function tsconfigMappingGenerator(args) { return async (projects, context) => { }; } exports.tsconfigMappingGenerator = tsconfigMappingGenerator; //# sourceMappingURL=typescript.js.map
/* * This is a basic func test for a UseCase application. */ YUI({ useConsoleOutput: true, useBrowserConsole: true, logInclude: { TestRunner: true } }).use('node', 'node-event-simulate', 'test', 'console', function (Y) { var suite = new Y.Test.Suite("Simple: part1"); suite.add(new Y...
import GridironAdapter from './gridiron'; import Ember from "ember"; import Inflector from 'ember-inflector'; export default GridironAdapter.extend({ pathForType: function(type) { const underscored = Ember.String.underscore(type); return Inflector.inflector.pluralize(underscored); } });
import React from 'react'; import { render } from '@testing-library/react'; import { MemoryRouter } from 'react-router-dom'; import GroupsListLastMenu from './GroupsListLastMenu'; const renderGroupsListLastMenu = () => render( <GroupsListLastMenu />, { wrapper: MemoryRouter }, ); describe('GroupsListLastMenu', (...
import DICTIONARY from "../dictionary.js"; import utils from "../../utils.js"; /** * Gets the DND5E weapontype (simpleM, martialR etc.) as string * Supported Types only: Simple/Martial Melee/Ranged and Ammunition (Firearms in D&DBeyond) * @param {obj} data item data */ let getWeaponType = (data) => { const weapo...
function flowerShop(input) { let numChrysanthemums = Number(input.shift()); let numRoses = Number(input.shift()); let numTulips = Number(input.shift()); let season = input.shift(); let totalFlowers = numChrysanthemums + numRoses + numTulips; let holiday = input.shift(); let price = 0; if (seaso...
#!/usr/bin/env node const path = require('path'); const fs = require('fs-extra'); const NamedRegExp = require('named-regexp-groups'); const download = require('download-file'); const request = require('sync-request'); const csso = require('csso'); const ROOT_DIR = __dirname const CHECK_DIRS = ['themes', 'assets', 'as...
import { read_file_sync } from './snippets/dnt-wasm-2cfe58fb53074cc7/helpers.js'; let wasm; let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); cachedTextDecoder.decode(); let cachegetUint8Memory0 = null; function getUint8Memory0() { if (cachegetUint8Memory0 === null || cachegetU...
/** * @license * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris) * * This sofware is provided under multiple licenses. Please see below for * links to appropriate usage. * * Free amCharts linkware license. Details and conditions: * https://github.com/amcharts/amcharts4/blob/master/LICENSE *...
/** * Created by developer on 5/16/2016. */ yii.allowAction = function ($e) { var message = $e.data('confirm'); return message === undefined || yii.confirm(message, $e); }; yii.confirm = function (message, ok, cancel) { bootbox.confirm({ title: false, message: 'Are you sure you want to del...
/* eslint no-shadow:0 */ "use strict"; var assert = require("better-assert"), query = require("mithril-query"), out = {}; describe("Crucible", () => { before(() => require("./lib/rollup")("./src/types/lib/label.js", out)); describe("/types/lib/label", () => { var label; ...
/* * Copyright 2015-2017 WorldWind Contributors * * 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 l...
/* * Copyright (C) 2014 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* global describe, it, expect */ import {normalize} from 'path' import {getPageEntries, createEntry} from '../../dist/server/build/webpack/utils' describe('createEntry', () => { it('Should turn a path into a page entry', () => { const entry = createEntry('pages/index.js') expect(entry.name).toBe(normalize(...
/*! * Copyright 2013 Justinmind. All rights reserved. */ (function(window, undefined) { var $simulation = jQuery("#simulation"), dragZIndex = 3; function parseSVG(svg, $target, args){ $target = $("#" + $target.attr('id')); var id = $target.prop("id"); var overlay = $target.attr("overlay"); if...
let data = { "body": "<path d=\"M20 19h-7v3h-2v-3H4v-6h7v-2H7V5h4V2h2v3h4v6h-4v2h7v6z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; export default data;
/* * angucomplete-alt * Autocomplete directive for AngularJS * This is a fork of Daryl Rowland's angucomplete with some extra features. * By Hidenari Nozaki */ /*! Copyright (c) 2014 Hidenari Nozaki and contributors | Licensed under the MIT license */ (function(root, factory) { 'use strict'; if (typeof modul...
import {app} from './app'; import logger from './util/logger'; import dotenv from 'dotenv'; import {loadConfig} from '../config'; logger.info(" _____ _ _ _ _ _ _ _ _ "); logger.info("| | |_|___| | | |_| |_|_|"); logger.info("| --| | | | | | | | '_| |"); logger.info("|_____|_|...
// 使用 jsdoc 描述一个构造器(ES5) /** * 定义一个人 * * @constructor * @property {string} 姓名 * @property {number} 年龄 * @property {string} 性别 */ function Person(name, age, sex) { this.name = name; this.age = age; /** * @default 'unknown' */ this.sex = sex || 'unknown'; } /** * 定义一个方法 * * @alias Person.sayHell...
/** * Created by UC8456 on 18.01.2018. */ angular.module('myApp.view1') .controller('ListenerView2Ctrl', [ "ListenerService" , function(ListenerService) { ListenerService.listenCuttingDirection().then( function (answer) { // Set CuttingAngleDataRaw of Parent IndexableMill...
export const ADD_PUBLISHER_SUCCESS = 'ADD_PUBLISHER_SUCCESS'; export const ADD_PUBLISHER_FAILURE = 'ADD_PUBLISHER_FAILURE'; const initialState = { addPublisherError: false, addPublisherErrorMessage: '', }; export default (state = initialState, action) => { switch (action.type) { case ADD_PUBLISHER_FAILURE: ...
'use strict'; const EventEmitter = require('events'); class Logger extends EventEmitter { log (message) { console.log(message); //Raise an event this.emit('messageLogged', { id: 1, url: 'http://' }); } } module.exports = Logger;
import {SafeAreaView, Button, View, Alert} from 'react-native'; import style from './style.js'; import getFact from '../../services/factsservice.js' export default function GetFactButton() { async function handleGetFactAlert() { Alert.alert( "Your Fact", await getFact() + '', ...
import express from 'express'; import bodyParser from 'body-parser'; import expressWinston from 'express-winston'; import passport from 'passport'; import routes from '../app/routes'; import error from '../middleware/error'; import APIError from '../helpers/APIError'; import logger from '../helpers/logger'; import con...
import React from 'react'; import styled from 'styled-components'; import AbilityScore from './AbilityScore'; const Container = styled.div` display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 1vw 0 0; `; const VerticalAbilityBlock = ({ character, className }) => (...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2019 Am...
import PropTypes from 'prop-types'; import ImagePropTypes from 'common/proptypes/ImagePropTypes'; const ResourcePropTypes = PropTypes.shape({ image: ImagePropTypes, id: PropTypes.number, title: PropTypes.string, priority: PropTypes.number, description: PropTypes.string, }); export default ResourcePropTypes...
/* IMPORT */ import {describe} from 'ava-spec'; import {lighten} from '../../dist'; /* LIGHTEN */ describe ( 'lighten', it => { it ( 'increases the lightness channel of the color', t => { const tests = [ [['hsl(0, 0%, 0%)', 0], 'hsl(0, 0%, 0%)'], [['hsl(0, 0%, 0%)', 50], 'hsl(0, 0%, 50%)'], ...
import React from 'react'; const Footer = () => ( <footer className=" mx-auto bg-indigo-100 mb-1 text-gray-800 "> <div className="flex "> <p className='text-center mx-auto text-xs ' >© דקלה אורן 2021 | design & development by mkillner.com </p> </div> </footer> ); export default Foo...
/** * Copyright 2018 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
const express = require('express'); const verifyOAuth = require('../helpers').verifyOAuth; const config = require('../config'); const Shop = require('../models/Shop'); const router = express.Router(); /* GET home page. */ router.get('/', (req, res, next) => { const query = Object.keys(req.query).map((key) => `${key...
import { Polygon } from "../render/shapes"; /** * Node on the graph * @typedef {object} Node * @property {number} x - node X position * @property {number} y - node Y position */ /** * Edge on the graph * @typedef {object} Edge * @property {Node} start - First node * @property {Node} end - Second node *...
'use strict'; var path = require('path'); var url = require('url'); var fs = require('fs'); var util = require('util'); var cid = require('multiformats/cid'); var readerBrowser = require('../lib/reader-browser.js'); var writerBrowser = require('../lib/writer-browser.js'); var verifyStoreReader = require('./verify-stor...
<<<<<<< HEAD (function($) { /** * Generate an indented list of links from a nav. Meant for use with panel(). * @return {jQuery} jQuery object. */ $.fn.navList = function() { var $this = $(this); $a = $this.find('a'), b = []; $a.each(function() { var $this = $(this), indent = Math.max(0, $th...
import 'normalize.css' import './global.css'
/* * grunt-chown * https://github.com/eamonsisk/grunt-chown * * Copyright (c) 2013 Eamon Sisk * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jshint: { all: [ 'Gruntfile.js', 'tasks/*.js', '...
/* These are the game scripts for Gamebook. All games should have one function to place their content into the division #game_inner on the note page and run the game for the first time. All games should automatically restart. Go to the bottom of this file for a list of games. */ /* Touch Swipe */ function swiped...
import React from 'react' const AuthContext = React.createContext() export const AuthProvider = AuthContext.Provider export const AuthConsumer = AuthContext.Consumer export default AuthContext
const HelpAction = require("./HelpAction"); const AuthAction = require("./AuthAction"); const LatestAction = require("./LatestAction"); const LogoutAction = require("./LogoutAction"); const SearchAction = require("./SearchAction"); const ViewAction = require("./ViewAction"); const ReadAction = require("./ReadAction"); ...
import Vue from 'vue'; import Router from 'vue-router'; import Page from '@/components/Page'; Vue.use(Router); export default new Router({ routes: [ { path: '/', name: 'Page', component: Page, }, ], });
function extractEmails(text) { var emails, regex = /[\w\.]+@+[\w\.]+[\w]/g; emails = text.match(regex); return emails; } var text = 'My email is not sweety99@gmail.com, but his is cool_boy@gmail.com or sk8er.bad@abv.bg.'; console.log(extractEmails(text));
define([ ],function( ){ "use strict"; function S3MCreateVertexJob(){ this.context = undefined; this.model = undefined; this.index = undefined; } S3MCreateVertexJob.prototype.set = function(context, model, index) { this.context = context; this.model = model; ...
var express = require('express'); var mongoose = require('mongoose'); var bodyParser = require('body-parser'); var router = require('./routes/router.js'); var mailRoute = require('./routes/mailRoute.js'); var compression = require('compression'); var helmet = require('helmet'); // initialize api and configure to get...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
'use strict'; const defaultsDeep = require('lodash.defaultsdeep'); const toBemjson = require('mdast-util-to-bemjson'); const createExport = require('./exports'); const defaults = require('./defaults'); /** * remark bemjson compiler plugin * * @param {Object} options - plugin options * @param {ExportType} [option...
/*! For license information please see authoring.js.LICENSE.txt */
import { delay } from 'redux-saga'; import { takeLatest, call, put, select } from 'redux-saga/effects'; import * as campaignActions from "../actions/campaignAction"; import AppConfig from "../config/app"; import EnvConfig from "../config/env"; import * as campaignServices from "../services/campaignService" const getCa...
const mongoose = require("mongoose"); const APP_KEYS = require("./keys"); const db = APP_KEYS.mongoURI; // "mongodb://localhost:27017/gandum" const connecDB = async () => { try { await mongoose.connect(db, { useNewUrlParser: true, useCreateIndex: true, useFindAndModify: false, useUnifiedTo...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Template = require("./template"); exports.Template = Template; const Types = require("./types"); exports.Types = Types; /** Data type in memory */ var DataType; (function (DataType) { /** String data type, stored as string */ Dat...
export const VOUCHER_CODE_ENUM = { 400: 'TOO_MANY_ATTEMPT', 403: 'NO_LONGER_VALID', 404: 'INVALID', }; export default { VOUCHER_CODE_ENUM, };
function tcl(e){return{name:"Tcl",aliases:["tk"], keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file filee...
define(["require", "exports", "tslib", "../../Styling", "./MessageBar.types"], function (require, exports, tslib_1, Styling_1, MessageBar_types_1) { "use strict"; var _a, _b, _c; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = void 0; var GlobalClassNames = { ...
(function () { "use strict"; var componentConfig = { bindings: { barcode: "<", onCancelClicked: "&", onAddCompleted: "&", serviceProviders: "<", onEditOpCompleted: "&", isForEdit: "<", editedSchedule: "<" }, controller: [ "$scope", "$rootScope", ...
"use strict"; /* * 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 dif...
export { default as HeaderNav } from './HeaderNav' export { default as Sidebar } from './Sidebar' export { default as AppMain } from './AppMain'
import DOM from "./dom"; import "./modal.css"; function Modal(contentForm) { let closeButton = DOM.createElement("button", { className: "modal-button modal-close", innerHTML: "&times;" }); closeButton.addEventListener("click", this.hide.bind(this)); this.root = DOM.createElement("div", {className:"overlay hidd...
// 4.4.1 (2016-07-26)
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } require('fs'); var __chunk_2 = require('./chunk-85179bc3.js'); require('stream'); var __chunk_3 = require('./chunk-a4170a86.js'); var zlib = _interopDefault(require('zlib')); var writeMeth...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
'use strict'; export const SINE = 'sine'; export const SAWTOOTH = 'sawtooth'; export const TRIANGLE = 'triangle'; export const SQUARE = 'square'; export const CUSTOM = 'custom';
'use strict'; var config = browser.params; var UserModel = require(config.serverConfig.root + '/server/api/user/user.model').default; describe('Signup View', function() { var page; var loadPage = function() { browser.manage().deleteAllCookies() let promise = browser.get(config.baseUrl + '/signup'); p...
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/index/index"],{ /***/ "./node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib/index.js!./src/pages/index/index.tsx": /*!****************************************************************************************************!*\ !*** ./node_modules/@...
import sdk from './1-initialize-sdk.js'; const tokenModule = sdk.getTokenModule( '0x8dfB84319B055aeC5ff1E26c62E1ecE674f11bD3' ); (async () => { try { // Log the current roles. console.log( '👀 Roles that exist right now:', await tokenModule.getAllRoleMembers() ); // Revoke all the superpowers your wa...
/* * MultiSelect v0.9.5 * Copyright (c) 2012 Louis Cuny * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. ...
"use strict"; const mongoose = require('mongoose'); let ChatHourStatistics; let chatHourStatisticsSchema = mongoose.Schema({ chatId: { type: Number, required: true, }, userId: { type: Number, required: true, }, moduleName: { type: String, required: ...
/** * RadioManager * RadioManager * * OpenAPI spec version: 2.0 * Contact: support@pluxbox.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.3.0 * * Do not edit the class manually. * */ (fu...
import axios from "axios"; const getToken = () => { return new Promise((resolve) => { resolve(`Bearer ${localStorage.getItem("token") || null}`); }); }; const api = axios.create({ baseURL: process.env.NODE_ENV === "production" ? "https://motorcycles-shop.herokuapp.com/api" : "https://motorcy...
var kapheinJsTypeTrait = require("kaphein-js-type-trait"); var isDefinedAndNotNull = kapheinJsTypeTrait.isDefinedAndNotNull; var isArrayLike = kapheinJsTypeTrait.isArrayLike; var isFunction = kapheinJsTypeTrait.isFunction; var isIterable = kapheinJsTypeTrait.isIterable; module.exports = (function () { /** * ...
$(document).ready(function(){ //global vars var form = $("#customForm"); var name = $("#r_input_name_complete"); var nameInfo = $("#nameInfo"); var email = $("#r_input_email"); var emailInfo = $("#emailInfo"); var pass1 = $("#r_input_password"); var pass1Info = $("#pass1Info"); var...
import React, {Component, Fragment} from 'react'; import {Button} from 'reactstrap'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import { Row, Col, Card, CardBody, CardTitle, } from 'reactstrap'; class BadgesExamples extends Component { render() { return ( ...
import Vue from 'vue' import Router from 'vue-router' Vue.use(Router); import Layout from '../views/layout/Layout' import store from "../store"; export let constantRouterMap = [ {path: '/login', component: () => import('@/views/login/index'), hidden: true}, {path: '/register', component: () => import('@/vie...
var _24 = { elem: 'svg', attrs: { xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 32 32', width: 24, height: 24, }, content: [ { elem: 'path', attrs: { d: 'M6.76 6l.45.89L7.76 8H12v5H4V6h2.76m.62-2H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-...
Dropzone.autoDiscover = false; function getExtention(fname) { return fname.slice((fname.lastIndexOf(".") - 1 >>> 0) + 2); } function pathJoin(parts, sep) { var separator = sep || '/'; var replace = new RegExp(separator + '{1,}', 'g'); return parts.join(separator).replace(replace, separator); } function getQu...
import api from '@api'; export const getAllCategoryInfos = async (categoryIds) => { const categoryPromises = categoryIds.map((categoryId) => { return api.categories.get(categoryId); }); const categorySnapshots = await Promise.all(categoryPromises); const categoryInfos = []; for (const categorySnapshot ...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.dialog.add("specialchar",function(k){var e,n=k.lang.specialchar,m=function(c){var b;c=c.data?c.data.getTarget():new CKEDITOR.dom.element(c);"a"==c...
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict"; define(['./DvtToolkit', './DvtBaseTreeView'], function(dvt) { // Internal use only. All APIs and functionality are subject to change at any time. // Map the D namespace to dvt, w...
const STATIC_FOLDER = `${__dirname}/../../dist`; const restify = require('restify'); const logger = require('winston'); class StaticRouter { constructor(app) { this._config = app.config; app.server.get( /.*\.(gif|png|css|js|jpg|eot|woff|html|ttf|woff2|svg)/, restify.serveStatic({ directory: STATIC_FOLD...
import Icon from './icon'; import icons from '../dist/icons.json'; export default Object.keys(icons) .map(key => new Icon(key, icons[key])) .reduce((object, icon) => { object[icon.name] = icon; return object; }, {});
import React, { Component } from "react"; import { Link } from "react-router-dom"; import { Redirect } from "react-router"; import routes from "../constants/routes"; import { printOrders, resetPrintState } from "../actions/orders"; import { Modal, DatePicker, Button, Card, Form, Input, Tooltip, Icon, ...
import React, { Component } from 'react'; export default class App extends Component { render() { return ( <div>API Docs</div> ); } }
const Shorlink = require('../shortlinks') class ShortlinkController { async index(req, res) { const data = await Shorlink.parse(req.query.link) if (data.error) { res.status(500).json({ status: 500, message: data.message }) } else { ...
import moment from 'moment' import { browserHistory } from 'react-router' import { serverConfig } from '../../config/localConfig' export function pushPath(path, query = false) { if (query && browserHistory) { browserHistory.push({ pathname: path, query: query }) } else { if (browserHistory) { ...
* Vue.js v2.2.1 * (c) 2014-2017 Evan You * Released under the MIT License. */
var fs = require('fs'); function loadCategories(){ var dirPath = 'blogs/'; var result = []; //this is going to contain paths fs.readdir(__dirname + dirPath, function (err, filesPath) { if (err) throw err; result = filesPath.map(function (filePath) { console.log(dirPath + '/' + filePath) ...
// $.validate({ // modules : 'security', // onModulesLoaded : function() { // var optionalConfig = { // fontSize: '12pt', // padding: '4px', // bad : 'Very weak', // weak : 'Weak', // good : 'Good', // strong : 'Strong' // }; // $('input[name="password"]').displayPa...
import './index.scss' import { userAgent } from 'utils/helpers' /** * 构建移动端菜单 */ function buildMobileMenu() { const el = $(`<div>`).addClass('mobile-menu') $('#left-side') .clone() .appendTo(el) $('#sideBar') .clone() .appendTo(el) $('body').append(el) $('.mobil...
var searchData= [ ['getmaxlengthdec_551',['GetMaxLengthDec',['../structino_1_1_out_stream_1_1_get_max_length_dec.html',1,'ino::OutStream']]] ];
const { GraphQLNonNull, GraphQLEnumType, GraphQLList, GraphQLUnionType, GraphQLString, GraphQLObjectType, } = require('graphql'); const IdScalar = require('../scalars/id.scalar.js'); const UriScalar = require('../scalars/uri.scalar.js'); const CodeScalar = require('../scalars/code.scalar.js'); /** * @name expor...
(function() { __ant_icon_load({ name: 'trophy', theme: 'outline', icon: '<svg viewBox="64 64 896 896"><path d="M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 ...
import { mount, config } from '@vue/test-utils' import CustomerApp from '@r/customer/ts/components/CustomerApp.vue' config.stubs['router-view'] = '<div />'; describe('CustomerApp', () => { const wrapper = mount(CustomerApp); // it('funny test ', () => { // let text = wrapper.text(), // includes = text...
/** * @license AngularJS v1.3.9 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function (window, angular, undefined) { 'use strict'; /** * @ngdoc object * @name angular.mock * @description * * Namespace from 'angular-mocks.js' which contains testing related ...
import {module, test} from "qunit"; import hbs from "htmlbars-inline-precompile"; import {render} from "@ember/test-helpers"; import {setupRenderingTest} from "ember-qunit"; module("Integration | Component | definitions/snippet/snippet-modal", function( hooks ) { setupRenderingTest(hooks); test("it renders", async...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ // Reach styles need to come before any component styles. // This makes overridding the styles simpler. import '@reach...
/* * Copyright (c) 2011-2012, Yahoo! Inc. All rights reserved. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ /*jslint anon:true, sloppy:true, nomen:true*/ /*global YUI*/ /** * This object is responsible for running mojits. * @class MojitoDispatcher * @con...