code
stringlengths
2
1.05M
var verjson = require('verjson'); var patcher = new verjson.Patcher({ formats: { '1.5.0': [ { type: 'create', keys: { cycles: [], settings: {}, 'settings.gameplay': {}, 'settings.performance': {}, 'settings.engine': {}, 'settings.engine.altKey': 'ALT', 'settings.engine....
(function start() { var graphic = buildComposite(); simpleCpu.setup(graphic); graphic.update(); graphic.update(); graphic.update(); graphic.update(); graphic.update(); graphic.render(simpleCpu.context); function buildComposite(){ var Wire = simpleCpu.Wire , Lever = simpleCpu.Lever , Lamp = simpleC...
'use strict'; const tasks = (grunt) => { // load task configuration grunt.initConfig(require('./grunt')); // load grunt tasks grunt.loadNpmTasks('grunt-eslint'); // register tasks grunt.registerTask('default', ['eslint']); }; // end grunt wrapper // export as commonjs module module.exports = tasks;
import React from 'react'; import { View, ScrollView } from 'react-native'; import { RkStyleSheet, RkText } from 'react-native-ui-kitten'; import {Avatar} from '../../components'; import {Gallery} from '../../components'; import {GradientButton} from '../../components'; import {data} from '../../data'; import f...
/** * Tabbar Icon * <TabIcon icon={'search'} selected={false} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from 'react-native-elements'; import { AppColors } from '@theme/'; /* Componen...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var React = require('react'); var searchView_1 = require('./se...
//CommonJS package format alert('store/store.js loaded');
if (!localStorage._id) { localStorage._id = Date.now(); } gyro.startTracking(function(o) { var b = document.getElementById('example'), f = document.getElementById('features'); f.innerHTML = gyro.getFeatures(); b.innerHTML = "<p> x = " + o.x.toFixed(2) + "</p>" + "<p> y = " + o.y + "</...
Subs = new SubsManager();
import _ from 'lodash' import chai from 'chai' import { expect } from 'chai' import chaiAsPromised from 'chai-as-promised' chai.use(chaiAsPromised) import mangonel from '../../lib/mangonel' describe('mangonel', () => { xit('should throw an error if the settings object is empty', async () => { let asdf = await ...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'mathjax', 'km', { title: 'គណិត​វិទ្យា​ក្នុង TeX', button: 'គណិត', dialogInput: 'សរសេរ TeX របស់​អ្នក​នៅ​ទីនេះ', docUrl: 'http://en.wikibook...
version https://git-lfs.github.com/spec/v1 oid sha256:f666881f19c1920a9283e1652a3d23f3c68a0bf70bc932b172f327f9e24ab949 size 3342
// Internationalization Service var _ = require('lodash'), fs = require('fs'), path = require('path'), yaml = require('js-yaml'), util = require('util'); function I18nService(bot) { this.bot = bot; this.dicts = {}; this.bot.events.on('moduleLoaded', this.loadModule.bind(this)); } I18nSer...
var arr = [1, 2, 3]; var i = 0; for (let i = 0; i < arr.length; i++) { arr[i]; i[i]; }
resource_groups = { "azurerm_resource_group": 0, "azurerm_app_service": 1, "azurerm_app_service_plan": 1, "azurerm_role_assignment": 2, "azurerm_role_definition": 2, "azurerm_automation_account": 3, "azurerm_automation_credential": 3, "azurerm_automation_runbook": 3, "azurerm_automat...
"use strict"; angular .module('app') .factory('AlbumModel', [ 'TrackModel', function (TrackModel) { function AlbumModel(data) { angular.forEach(data, function(value, key) { if (key === 'tracks') { value = TrackModel.createList(value); } this[key] = va...
const spur = require('spur-ioc'); const spurCommon = require('spur-common'); const spurWeb = require('spur-web'); const registerConfig = require('spur-common/registerConfig'); const localInjector = require('../../src/injector'); const path = require('path'); module.exports = function () { const ioc = spur.create('te...
var webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { module: { strictThisContextOnImports: true }, plugins: [new webpack.optimize.ModuleConcatenationPlugin()] };
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M6.4 9.2h.2c.77 0 1.4.63 1.4 1.4v7c0 .77-.63 1.4-1.4 1.4h-.2c-.77 0-1.4-.63-1.4-1.4v-7c0-.77.63-1.4 1.4-1.4zM12 5c.77 0 1.4.63 1.4 1.4v11.2c0 .77-.63 1.4-1.4 1.4-.77 0-1.4-.63-1.4-1.4V6.4c0-.77.6...
define({ "button.strong.tooltip": "Forte", "button.em.tooltip": "Destacar", "button.b.tooltip": "Negrito", "button.i.tooltip": "Itálico", "button.u.tooltip": "Sublinhado", "button.cite.tooltip": "Citar", "button.q.tooltip": "Dica", "button.code.tooltip": "Código", "button.abbr.tooltip": "Abreviação", "but...
"use strict"; /** * Renderer * @class Renderer */ class Renderer { /** @constructor */ constructor() { /** * DOM container * @type {Object} */ this.fpsContainer = document.querySelector("#fps"); /** * DOM container * @type {Object} */ this.neuronContainer = docum...
/** * Based on https://github.com/mrdoob/three.js/blob/a72347515fa34e892f7a9bfa66a34fdc0df55954/examples/js/exporters/STLExporter.js * Tested on r68 and r70 * @author jcarletto / https://github.com/jcarletto27 * @author kjlubick / https://github.com/kjlubick * @author kovacsv / http://kovacsv.hu/ * @author mrdoob...
#!/usr/bin/env node /** * Tmplify prototype. */ 'use strict' process.chdir(`${__dirname}/..`) const path = require('path') const fs = require('fs') const { runTasks } = require('ape-tasking') const tmplconv = require('tmplconv') const scff = require('../lib') let demo = path.dirname(require.resolve('apeman-demo...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const commands_1 = require("./commands"); class LanguageServer { constructor(configuration) { this.configuration = configuration; this.listening = false; } start() { return new Promise((resolve, rej...
/*! * verb <https://github.com/assemble/verb> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; /** * Module dependencies */ var fs = require('fs'); var path = require('path'); var diff = require('diff'); var vfs = require('vinyl-fs'); var chalk = require('chalk')...
// process_title exports.hook_init_master = function (next, server) { server.notes.pt_connections = 0; server.notes.pt_concurrent = 0; server.notes.pt_cps_diff = 0; server.notes.pt_cps_max = 0; server.notes.pt_messages = 0; server.notes.pt_mps_diff = 0; server.notes.pt_mps_max = 0; var ...
// Copyright 2016 Intel 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.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
'use strict'; angular.module('core').controller('HomeController', ['$scope', '$location', 'Authentication', function($scope, $location, Authentication) { // This provides Authentication context. $scope.authentication = Authentication; $scope.search = function() { $location.pat...
/* * Parsing of numeric literals (E5 Sections 7.8.3, B.1.1). */ /*--- { "skip": true } ---*/ /* * Optional octal syntax, E5 Section B.1.1. */ /*=== 1036956 ===*/ try { print(03751234); } catch (e) { print(e.name); } /* FIXME: test 088, 099 */ /*=== 1 true ===*/ /* Fraction period not necessarily...
/* sbcs.js (C) 2013-2014 SheetJS -- http://sheetjs.com */ /*jshint -W100 */ var cptable = {}; cptable[37] = (function(){ var d = "\u0000\u0001\u0002\u0003œ\t†—Ž\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013…\b‡\u0018\u0019’\u001c\u001d\u001e\u001f€‚ƒ„\n\u0017\u001bˆ‰Š‹Œ\u0005\u0006\u0007‘\u0016“”•–\u0004˜™š›\u001...
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var ImageCollections = React.createClass({ displayName: 'ImageCollections', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M22 16V4c0-1.1-.9-2...
'use strict'; angular.module('angular-express-mongoose-seed') .controller('homeController', ['$scope', function($scope) { } ]);
/* */ 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-column-rule', v); }, get: function () { return this.getPropertyValue('-webkit-column-rule'); }, enumerable: true, configurable: true };
define(['./isNumber'], function (isNumber) { /** * Check if value is NaN for realz */ function isNaN(val){ // based on the fact that NaN !== NaN // need to check if it's a number to avoid conflicts with host objects // also need to coerce ToNumber to avoid edge case `n...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S9.7_A2.2; * @section: 9.7, 11.7.3; * @assertion: Compute result modulo 2^16; * @description: For testing use String.fromCharCode(Number).charCodeAt(0) construction; */ ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * A 16 color CGA inspired palette by [Arne](http://androidarts.com/palette/16pal.htm) * * @name Phaser.Create.Palettes.CGA * @since 3.0....
/* eslint-env jest */ const passport = jest.genMockFromModule('passport') passport.authenticate = (strategy, callback) => { switch (strategy) { case 'local': return req => { if (!req.body.email || !req.body.password) { callback(require('../errors/codes').AUTH_WRONG_PASSWORD, null) ...
version https://git-lfs.github.com/spec/v1 oid sha256:ba3ad9c319975d2e210bb4820f67e2a8c19ff563c8ac409f3577cfa86a8f918e size 4922
define("7263c7d0-1d6a-45ec-8d85-d4d1d234171b_1.11.0", ["@microsoft/sp-lodash-subset","resx-strings"], function(__WEBPACK_EXTERNAL_MODULE_Pk8u__, __WEBPACK_EXTERNAL_MODULE_vpy3__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /*****...
import { Platform, PixelRatio } from "react-native"; import pickerTheme from "./Picker"; import variable from "./../variables/platform"; export default (variables = variable) => { const platform = variables.platform; const selectedStyle = { "NativeBase.Text": { color: variables.listItemSelected }, ...
/** * term.js - an xterm emulator * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) * https://github.com/chjj/term.js * * 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 witho...
// Manage directories angular.module('cosmic.controllers').controller('ManageDirectoriesCtrl', function($scope,deviceFS,cosmicDB,$cordovaToast,cosmicConfig, $ionicModal, fileFactory, $localstorage,$ionicListDelegate) { $scope.directories = $localstorage.getArray('music_directories'); for (var i=0; i<$scope.dir...
import FixedGrid from 'layout-bin-packer/fixed-grid'; import { formatPixelStyle } from '../utils/style-generators'; export default class Grid { constructor(cellWidth, cellHeight) { this.length = 0; this.bin = new FixedGrid(this, cellWidth, cellHeight); } contentSize(clientWidth/*, clientHeight*/) { ...
const DrawCard = require('../../drawcard.js'); const AbilityDsl = require('../../abilitydsl'); const { TargetModes } = require('../../Constants'); class BackhandedCompliment extends DrawCard { setupCardAbilities() { this.action({ title: 'Select a player to lose an honor and draw a card', ...
if(typeof exports === 'object') { var assert = require("assert"); var alasql = require('..'); } else { __dirname = '.'; }; describe('Test 303 SEARCH over JSON', function() { it('0. Create database ',function(done){ var res = alasql('CREATE DATABASE test303;USE test303'); done(); }); it('1. Simple S...
/** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /*jshint browser:true jquery:true*/ /*global alert*/ define( [ 'mageUtils', 'Magento_Payment/js/model/credit-card-validation/credit-card-number-validator/luhn10-validator', 'Magento_Pa...
// import React from 'react'; // import { shallow } from 'enzyme'; // import ToolSnapshotArea from '../index'; describe('<ToolSnapshotArea />', () => { it('Expect to have unit tests specified', () => { expect(true).toEqual(false); }); });
import 'react-native'; import React, {} from 'react'; import renderer from 'react-test-renderer'; import RecommendArticles from '../../../../src/containers/discover/recommend-articles/RecommendArticles'; it('renders correctly', () => { const recommendArticles = renderer.create( <RecommendArticles />, ); cons...
var assert = require('assert'), _ = require('lodash'); describe('Semantic Interface', function() { describe('Binary Type', function() { describe('with valid data', function() { ///////////////////////////////////////////////////// // TEST METHODS //////////////////////////////////////////...
{ var el = vnode.elm; if (isDef(el._leaveCb)) { el._leaveCb.cancelled = true; el._leaveCb(); } var data = resolveTransition(vnode.data.transition); if (isUndef(data)) { return; } if (isDef(el._enterCb) || el.nodeType !== 1) { return; } var css = data.css; var type = data.type; ...
_Ziwei_Configs_Wuxing = { Names: { 'hoa': 'Hỏa', 'tho': 'Thổ', 'moc': 'Mộc', 'kim': 'Kim', 'thuy': 'Thủy' }, Converts: { 'Hỏa': 'hoa', 'Thổ': 'tho', 'Mộc': 'moc', 'Kim': 'kim', 'Thủy': 'thuy' }, Elements: ['hoa', 'tho', 'moc', 'kim', 'thuy'], CucByElements: { '...
/// <reference path="../../typings/es6-promise/es6-promise.d.ts" /> /// <reference path="../../typings/rx/rx.all.d.ts" /> var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototy...
'use strict'; angular.module('promomemxApp') /** * Removes server error when user updates input */ .directive('mongooseError', function () { return { restrict: 'A', require: 'ngModel', link: function(scope, element, attrs, ngModel) { element.on('keydown', function() { ...
/* * Config Content Parser * @module parser/config * @author genify(caijf@corp.netease.com) */ var util = require('util'), path = require('path'), query= require('querystring'), _fs = require('../util/file.js'), _path = require('../util/path.js'), _util = require('../util/util.js'); // config...
/*! * jQuery JavaScript Library v1.8.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time) */ (function(...
const ReadableStorage = require('./ReadableStorage'); const ReadablePartition = require('../Partition/ReadablePartition'); const Watcher = require('../Watcher'); /** * An append-only storage with highly performant positional range scans. * It's highly optimized for an event-store and hence does not support compactio...
import { mapTo as higherOrder } from 'rxjs/operators'; export function mapTo(value) { return higherOrder(value)(this); } //# sourceMappingURL=mapTo.js.map
export const component = { "multiple": true, "conditional": { "eq": "", "when": null, "show": "" }, "tags": [ ], "type": "number", "validate": { "custom": "", "multiple": "", "integer": "", "step": "any", "max": "", "min": "", "required": false }, "persistent":...
const path = require('path') const browserSync = require('browser-sync') const paths = require('../config/paths.config') const devServConf = require('../config/devserver.config') const pjson = require('../package.json') const store = require('./utils/store') const webpack = require('webpack') const webpackConfig = req...
angular.module('orderCloud') .controller('SellerUserCreateModalCtrl', SellerUserCreateModalController) ; function SellerUserCreateModalController($exceptionHandler, $uibModalInstance, OrderCloudSDK) { var vm = this; vm.user = {Active: true}; vm.submit = function() { vm.user.TermsAccepted = new...
/*! * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId * @constructor NodeMongoDbObjectId * @see ObjectId */ var ObjectId = require('bson').ObjectID; /*! * ignore */ module.exports = exports = ObjectId;
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --ignition --turbo --trace-ignition-dispatches assertEquals(typeof getIgnitionDispatchCounters, "function"); var old_dispatch_counters = get...
/** * Created by kete jiang (szldkj.net| @kete2003) * * User: kete * Date: 8/28/12 * Time: 2:32 PM */ define(['jquery', 'underscore', 'Backbone', 'text!templates/ProductItemsView.html'], function ($, _, Backbone, ProductItmesTemplate) { var ProductItmesView = Backbone.View.extend({ tagNa...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2016 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * A Group is a container for {@link DisplayObject display objects} including {@link Phaser.Sprite Sprites} and {@link ...
// simple newline after every element let a = b; // extended newline let a = b; // comment in the middle let /**/ a = b;
exports.translations = { commands: { /* * Basic Commands */ about: { 'about': 'I\'m a **Pokemon Showdown Bot** written in JavaScript for Node. By: Ecuacion' }, time: {'time': 'Bot Time'}, uptime: { 'week': 'week', 'day': 'day', 'hour': 'hour', 'minute': 'minute', 'second': 'second', ...
import { createNetworkInterface } from 'apollo-client' export default (ctx) => { return createNetworkInterface({ uri: 'https://api.graph.cool/simple/v1/cj1dqiyvqqnmj0113yuqamkuu' }) }
import { serial as test } from 'ava' import { makeServer } from './helpers/request' function server(connection) { const boot = app => { app.routes.post('set', (req, res) => { req.session.values = { ...req.body } res.send('done') }) app.routes.get('get', (req, res) => res.send(req.session.values)) app....
const request = require('supertest'); const should = require('should'); require('./fixtures/functions'); const {appId, appKey} = require('./fixtures/app-info'); describe('constructor', function() { it('onError option', function(done) { const app = require('./fixtures/app')({ onError: (err) => { e...
module.exports = { 'env': { 'browser': true, 'es6': true, 'node': true, 'mocha': true }, 'extends': 'eslint:recommended', 'plugins': ['import'], "parser": "babel-eslint", 'parserOptions': { 'sourceType': 'module' }, 'globals': {}, 'rules': { 'accessor-pairs': 'warn', 'array...
export const localizationText = { greek: { transferDetails: 'Στοιχεία Εμβάσματος', debitAccount: 'Λογαριασμός χρέωσης', creditAccount: 'Λογαριασμός πίστωσης', beneficiary: 'Όνομα δικαιούχου', bic: 'BIC Τράπεζας', bank: 'Τράπεζα', amount: 'Καθαρό ποσό εμβάσματος', charges: 'Έξοδα εμβάσμ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S12.10_A3.1_T1; * @section: 12.10; * @assertion: No matter how control leaves the embedded 'Statement', * the scope chain is always restored to its former state; * @des...
/* * Fork of https://github.com/angular-ui/bootstrap/blob/gh-pages/assets/plunker.js */ angular.module('plunker', []) .factory('plunkGenerator', function ($document) { return function (ngVersion, moduleName, repoName, content, vendor_css, vendor_js) { //HACK to add the css content... if (content....
const webpack = require('webpack'); const merge = require('webpack-merge'); const utils = require('./utils'); const base = require('./webpack.base.config'); const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin'); const HtmlWebpackPlugin = require('html-web...
var RevosliderInit = function () { return { initRevoSlider: function () { jQuery('.fullwidthabnner').show().revolution({ delay:2000, startheight:320, startwidth:1150, hideThumbs:10, ...
// Generated by LiveScript 1.5.0 /** * @package WebSockets * @category modules * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @license 0BSD */ (function(){ var socket, handlers, messages_pool, allow_reconnect, socket_active, w; socket = null; handlers = {}; messages_pool = []; allow_reconnect = ...
import { API } from '../../../../../app/api/server'; import { findUnits, findUnitById, findUnitMonitors } from './lib/units'; API.v1.addRoute('livechat/units.list', { authRequired: true }, { get() { const { offset, count } = this.getPaginationItems(); const { sort } = this.parseJsonQuery(); const { text } = thi...
var port = chrome.runtime.connect({ name: 'contentscript' }); // Receives messages from the inspected page and redirects them to the background, // building up the first step towards the communication between the backbone agent and the panel. window.addEventListener("message", function(event) { // We only acce...
import React from 'react' import FlatButton from 'material-ui/FlatButton' import RaisedButton from 'material-ui/RaisedButton' const Button = ({ label, primary = false, }) => { if (!primary) { return ( <FlatButton label={label} /> ) } return ( <RaisedButton label={label}...
//>>built define({insertTableTitle:"\u30c6\u30fc\u30d6\u30eb\u306e\u633f\u5165",modifyTableTitle:"\u30c6\u30fc\u30d6\u30eb\u306e\u5909\u66f4",rows:"\u884c:",columns:"\u5217:",align:"\u4f4d\u7f6e\u5408\u308f\u305b:",cellPadding:"\u30bb\u30eb\u4f59\u767d:",cellSpacing:"\u30bb\u30eb\u9593\u9694:",tableWidth:"\u30c6\u30fc\...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M16 4H4c-1.1 0-2 .9-2 2v12.01c0 1.1.9 1.99 2 1.99h16c1.1 0 2-.9 2-2v-8l-6-6zM4 18.01V6h11v5h5v7.01H4z" /></React.Fragment> , 'NoteOutlined');
define([ 'dojo/_base/declare', 'dojo/_base/array', 'dijit/_WidgetBase', 'dojo/on', 'dojo/dom-class', 'dijit/_TemplatedMixin', 'dijit/_WidgetsInTemplateMixin', 'dojo/text!./templates/Annotation.html', './AppBase', 'dojo/_base/lang', '../../WorkspaceManager' ], function ( declare, array, WidgetBase, on, domCl...
"use strict"; require('domout') var stream = require("../../node_modules/domout/lib/stream") var path = require("path") function svg(data) { var template = path.join(__dirname, "/index.html"); return stream.rawStream({type:'svg', data: data}, template); } function html(data) { var template = path.join...
var nodemailer = require('../lib/nodemailer'), fs = require("fs"), pathlib = require("path"); // Create a SMTP transport object var transport = nodemailer.createTransport("sendmail"); // Set up DKIM signing for outgoing messages with this transport object transport.useDKIM({ domainName: "do-not-t...
import { notifyPropertyChange } from './property_events'; import { eachProxyArrayDidChange, eachProxyArrayWillChange } from './each_proxy'; import { peekMeta } from './meta'; import { sendEvent, removeListener, addListener } from './events'; import { peekCacheFor } from './computed'; import { get } from './property_get...
$(document).ready(function() { var cutDescription=function(text){ return text.substr(0,50)+'......'; } /*为模板注册辅助函数*/ juicer.register('cutDescription',cutDescription); var $goodsclassModule = $('#goodsclassModule'), $goodsModule = $('#goodsModule'), $returMbtn = $goodsModule.f...
({ appDir: 'www', dir: 'www-built', baseUrl: '.', fileExclusionRegExp: /(^example)|(.git)|(node_modules)|(bower_components)|(test)$/, //separateCSS: true, //buildCSS: false, optimizeCss: "none", map: { '*': { css: 'require-css/css' } }, modules: [ { name: 'app', exclude: ['ap...
define({ "addLayer": "레이어 추가", "layerName": "레이어", "layerRefresh": "새로 고침", "layerLabel": "레이블", "actions": "작업", "mainPanelTextPlaceholder": "예: 마지막 업데이트:", "invalidInterval": "양의 정수만 허용됨", "uploadImage": "이미지 업로드", "iconColumnText": "표시", "refreshInterval": "시간(분)", "refreshIntervalTitle": "분 단위...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z" /> , 'Announcement');
module.exports.autoreload = { active: true, usePolling: false, dirs: [ "/api/" // "api/models", // "api/controllers", // "api/services" // "api/services", // "api/policies", // "api/responses", // "api/services" ] };
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M13 11h2v2h-2z" /><path d="M19 21c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14zM9 18H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zM5 13h2v-2H5V5h14v6h-2v2h2v2h-2v-2h...
import React from 'react' class Knight extends React.Component { render () { return ( <div>Knight</div> ) } } export default Knight
/* * -- These tests are designed to determine if an appropriate class was added based * -- on the mouse state over the control (important for various css attributes). */ $(function(){ module("kb-button"); test('button exposed', function(){ var button = $('<button class="btn"></button>'); ...
function *gen(x, fname) { try { return fns[fname](x); } catch (thrown) { yield thrown; } } var fns = { f: function(x) { throw x; }, g: function(x) { return x; } }; genHelpers.check(gen("asdf", "f"), ["asdf"]); genHelpers.check(gen("asdf", "g"), [], "asdf"...
Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = isInclusivelyAfterDay; var _moment = require('moment'); var _moment2 = _interopRequireDefault(_moment); var _isBeforeDay = require('./isBeforeDay'); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); function _interopRequi...
module.exports = [ { name: 'delegate', transformFn: function(doc, tag) { return '{@link ' + tag.description + '}'; } }, { name: 'parent', transformFn: function(doc, tag) { doc.parentLinks = tag.description.split(',').map(function(id) { return '{@link ' + id.trim() + '}'; ...
/** * almond 0.2.3 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/almond for details */ //Going sloppy to avoid 'use strict' string cost, but strict practices should //be followed. /*jslint sloppy: true */ /*global setTi...
export { default } from 'ember-bootstrap/components/base/bs-nav/item';
'use strict'; let faker = require('faker'); let accounts = 100 * 1000; let row = 0; let getNext = () => { let firstName = faker.name.firstName(); // Rowan Nikolaus let lastName = faker.name.lastName(); // Rowan Nikolaus let email = faker.internet.email(firstName, lastName); // Kassandra.Haley@erich.biz ...
import React from 'react'; import DropdownStyle from './DropdownStyle'; const Dropdown = (props) => { return ( <DropdownStyle className="dropdown"> <i className={props.isOpen ? `fa ${props.icon} active` : `fa ${props.icon}`} onClick={props.onToggle} /> <ul className={props.isOpen ? ...