code
stringlengths
2
1.05M
export default { 'Acorn': ` ■ ■ ■ ■ ■ ■ ■ `, 'Block': ` ■ ■ ■ ■ `, 'Glider': ` ■ ■ ■ ■ ■ `, 'Gosper glider gun': ` ■ ■ ■ ■...
import Vue from 'vue'; import VueResource from 'vue-resource'; Vue.use(VueResource); import { Loading } from 'element-ui'; import Cookies from 'js-cookie'; const config = require('../../config'); const {themeArray} = require('./themeArray'); //封装一些全局元素。如全站通用功能函数和http请求等 export const global = { ...
var _; //globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried toma...
/** * Module dependencies */ var program = require('commander'); var messages = require('./messages'); var notify = require('./notify'); program.parse(process.argv); module.exports = function(mssg) { console.log(program.args); notify.debug(mssg); }; /** * Export the whole thi...
(function () { console.log("Start"); var hub = $.connection.testHub; //hub.client.tell does not work, beware hub.client.answer = function (message, messageId) { console.log("Message received, id: " + messageId); console.log(message); }; $.connection.hub.start().done(functio...
// +---------------------------------------------------------------------- // | CmsWing [ 网站内容管理框架 ] // +---------------------------------------------------------------------- // | Copyright (c) 2015 http://www.cmswing.com All rights reserved. // +---------------------------------------------------------------------- /...
var gulp = require('gulp'); gulp.task('phpmd', function(callback) { var spawn = require('child_process').spawn; spawn( 'phpmd', [ 'src', 'text', 'app/Resources/phpmd.xml' ], {stdio: 'inherit'} ).on('close', function(code, signal) { callback(); }); });
let fileInfoOptions = { name: 'file.info', filename: 'out.log', colorize: true, level : 'info', levels : {debug: 0, info : 1, warn: 2, error: 3}, colors : {debug: 'blue', info : 'green', warn: 'orange', error: 'red'}, json: true, handleExeptions: true, humanReadableUnhandledException: true, }; let fi...
define(['angular', './card.controller', './card.service', 'requestApi'], function (angular, cardsCtrl, CardDataService) { 'use strict'; angular.module('boardGame.card', ['boardGame.requestApi']) .service('CardDataService', CardDataService) .controller('cardsCtrl', cardsCtrl); });
const Koa = require('koa') const app = new Koa() const views = require('koa-views') const json = require('koa-json') const onerror = require('koa-onerror') const bodyparser = require('koa-bodyparser') const logger = require('koa-logger') const index = require('./routes/index') const users = require('./routes/users') ...
Ext.BLANK_IMAGE_URL = '/vendor/ext/3.4.1/resources/images/default/s.gif'; Ext.override(Ext.form.ComboBox, { doQuery : function(q, forceAll){ if(q === undefined || q === null){ q = ''; } var qe = { query: q, forceAll: forceAll, combo: this, cancel:false }; if(this.fireEvent('beforequery', qe)===false ...
//= require spec_helper //= require models/dot //= require collections/dots //= require templates/dot_view //= require views/dot_view //= require views/dots_view describe('DotsView', function() { var subject, dot; beforeEach(function() { dots = new Dots(); dots.add([{ id: 1, name: 'Breakfast'...
import React from 'react' import Button from './Button' import { removeToken } from '../storages/SessionStorage' export default (props) => { const handleLogInClick = () => { chrome.runtime.sendMessage({ action: 'vk_notification_auth' }, (response) => { if (response.content == 'OK') { if (props.afte...
const path = require('path'); const should = require('should'); const supertest = require('supertest'); const sinon = require('sinon'); const testUtils = require('../../../../utils'); const localUtils = require('../../../../acceptance/old/admin/utils'); const config = require('../../../../../server/config'); const labs...
/** * Services for connecting to Player's real-time API * @module realtime */
'use strict'; var util = require('util'), Store = require('../base'), _ = require('lodash'), debug = require('debug')('saga:redis'), uuid = require('node-uuid').v4, ConcurrencyError = require('../../errors/concurrencyError'), jsondate = require('jsondate'), async = require('async'), redis = require('re...
var mappingDefaults = { styles: ['css', 'less', 'scss', 'sass', 'styl'], templates: ['jade', 'pug', 'json', 'html', 'htm', 'yml', 'yaml'], images: ['jpg', 'jpeg', 'png', 'svg'], sprites: ['svg'] } module.exports = function(gulp, config, watch) { var mapping = require('lodash').merge({}, mappingDefaults, config.m...
'use strict'; //TODO: // Use distinct routes per passenger [stopOver: true] // Create controls for numbers of cars, frequency of passenger requests, tick speed, pause // Track passenger wait times // Track car transit times per route; aggregate interesting stats // Export stats as .json; make downloadable // Show info...
import Employee from '../../components/EmployeePage'; import { graphql } from 'gatsby'; /** TODO: make this work dynamically */ export const query = graphql` query { EmployeeImages: allFile( sort: { order: ASC, fields: [absolutePath] } filter: { relativePath: { regex: "/mugshots/hal...
const chalk = require('chalk'); const settings = require('../settings.json'); exports.run = function(client, message, args) { if (message.author == settings.adminid){ // If anyone else was to host a version of this bot, you may wish to change this to your ID. console.log(chalk.bgRed('Send command used!')); let re...
'use strict'; /** * StackPush * * [TOP][MAX][0][][][][MAX - 1] */ const Command = require('../../command'); class StackPush extends Command { run(base, value, length = 1) { this.writeLog(`base: ${base}, value: ${value}, length: ${length}`); //TODO return true; } output(base, value, length = 1) { ...
var setupMethods = function(specs, window){ var Element = window.Element || global.Element; global.disableNegNth = true; global.cannotDisableQSA = true; window.SELECT = function(context, selector, append){ return Element.getElements(context, selector); }; window.SELECT1 = function(context, selector){ ...
ig.module( 'plugins.shade.util.math.geom' ).defines(function () { window.sh = window.sh || {}; sh.util = sh.util || {}; sh.util.math = sh.util.math || {}; sh.util.math.geom = sh.util.math.geom || {}; sh.util.math.geom.projVert = function (a, b, x) { var pos = a, dir = { x: b.x - a.x, y: b.y - a.y }; if (dir.x === 0...
function hello() { if (Meteor.isCordova) { alert("Hello, World!"); } else { alert("Hello, World!"); } } function helloNative() { if (Meteor.isCordova) { navigator.notification.alert("Hello, World!", null, ""); } else { alert("Hello, World!"); } } Template.appBody.events({ 'click [data-ac...
'use strict'; var $npm = { utils: require('../utils'), formatting: require('../formatting') }; /** * @class helpers.TableName * @description * * **Alternative Syntax:** `TableName({table, [schema]})` ⇒ {@link helpers.TableName} * * Prepares and escapes a full table name that can be i...
'use strict'; const Resource = require('./Resource').Resource; const PendingOperation = require('./PendingOperation').PendingOperation; const now = require('./utils').now; const duration = require('./utils').duration; const checkOptionalTime = require('./utils').checkOptionalTime; const delay = require('./utils').dela...
/* 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( 'notification', 'ko', { closed: '알림이 닫힘.' } );
/* * This file is part of the Husky Validation. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. * */ define([ 'type/default' ], function(Default) { 'use strict'; var dataChangedHandler = function(...
search_result['3261']=["topic_00000000000007CA_props--.html","ApplicantProfileListResponseDto Properties",""];
define(['object/ImageObject'], function(ImageObject) { function Troll(id, x, y, scene) { ImageObject.call(this, id, x, y, 100, scene, '/images/trollface_small.jpg'); return this; } Troll.prototype = new ImageObject(); Troll.prototype.constructor = Troll; Troll.prototyp...
//站点路径 js (function ($) { //配置样式 var pathStartWith = "web"; //从哪一级路径开始匹配 var divsionClass = "gt"; //分隔符样式 var divsionChartper = "/";//分隔符字符 var crumbsClassPrefix = "level";//面包屑样式前缀 var crumbs = function(){ //判断是否启用 if(this.attr("data-enable") == "false") return; this.addClass("crumbs"); ...
var ajax = require('ajax') var Future = require("async-future") var decodeDataUrl = require("./decodeDataUrl") exports.fromUrl = function(sourceUrl, toSource) { return ajax(sourceUrl, true).then(function(response) { return fromSourceOrHeaders(response.headers, response.text, toSource) }) } exports.fro...
const deposits = require('../models/deposits') const NO_HISTORY = 'no_history_in_range' async function insertNewRecord (playerId, voucherId) { return deposits.create(playerId, voucherId) } async function findBetween (playerId, from, to, page, pagination) { const histories = await deposits.findByOwnerAndCreationD...
'use strict'; (function (ga) { function DataMetrics() { this.init(); } DataMetrics.prototype = { init: function () { this.addEventListeners(); }, addEventListeners: function () { var elements = document.querySelectorAll('*[data-metrics]'); ...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
"use strict"; /* See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE */ var React = require("react"); var _ = require("underscore"); var ColumnProperties = require("./columnProperties.js"); var GridTitle = React.createClass({ displayName: "GridTitle", getDefault...
// Karma configuration file, see link for more information // https://karma-runner.github.io/0.13/config/configuration-file.html 'use strict'; module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', 'angular-cli'], plugins: [ require('karma-jasmine'), require('...
var async = require('async'), events = require('events'), log = function (text, debug) { if(debug) { console.log(new Date().toLocaleTimeString(), '|', text); } }, generateAndApplyETags = function (newBuilds) { for (var i = 0; i < newBuilds.length; i++) { v...
function routes(handlers) { const routeArr = [ { method: 'GET', path: '/img/{file*}', handler: handlers.img }, { method: 'GET', path: '/js/{file*}', handler: handlers.js }, { method: 'GET', path: '/', handler: handlers.index...
app.controller('bodyController', ['$scope', function($scope) { 'use strict'; $scope.setBodyClass = function(bodyClass) { $scope.bodyClass = bodyClass; $scope.loginPage = ($scope.bodyClass === 'login'); }; } ]);
import {inject, bindable, customElement} from 'aurelia-framework'; import './attribute-item.less'; @customElement('attribute-item') @bindable('model') @inject(Element) export class AttributeItem { constructor(element) { this.element = element; } remove() { let e = new window.CustomEvent('r...
/*globals template*/ var parse = function (key, obj) { 'use strict'; var ar = key.split('.'); while (obj && ar.length) { obj = obj[ar.shift()]; } return obj; }; var extend = function (a, b) { 'use strict'; for (var i in b) { if (a.hasOwnProperty(i) || b.hasOwnProperty(i)) ...
$("#addOptionButton").on("click", function (event) { let description = $("#optionDesc").val(); let id = location.href.split("=")[1]; let body = { id: id, description: description }; $.ajax({ url: "/Question/AddOption", type: "post", cors: true, conte...
/* ============================================================ * bootstrap-tokenfield.js v0.11.0 * ============================================================ * * Copyright 2013 Sliptree * ============================================================ */ (function (root, factory) { if (typeof define === 'functi...
import jwt from 'jsonwebtoken'; import tokens from './tokenStore'; const token = { issue: (payload, secret, options, connectionString) => { let database; return tokens.connect(connectionString).then((db) => { database = db; return tokens.find(database, payload); }) .then((record) => { ...
module.exports = function(app , func , mail, upload, storage, mailer, multer, validator, Services, paginate, cors){ app.get("/services/" , servicelist); app.get("/services/view/:id" , serviceview); app.get("/services/add" , serviceadd); app.post("/services/add" , serviceadd); app.get("/services/edit/:id" , servi...
var i = 0; function timedCount() { i = i + 1; postMessage(i); setTimeout("timedCount()", 500); } timedCount();
const jwt = require('jsonwebtoken'); import { usersData } from '../data/users'; export const checkLogin = (req, res, next) => { let user = usersData.find(({firstName}) => firstName === req.body.firstName); if (!user || user.lastName !== req.body.lastName) { res.status(403).json({success: false, message: 'User or p...
import { storiesOf } from '@storybook/polymer'; import { html } from 'lit-html'; import moment from 'moment'; import { object, text } from '@storybook/addon-knobs'; import '@lit-any/lit-any/lit-view'; import ViewTemplates from '@lit-any/lit-any/views'; import { defaultValue } from './knobs'; import basic from './notes/...
/* * Copyright (c) 2014 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
// Wait till the browser is ready to render the game (avoids glitches) window.requestAnimationFrame(function () { new GameManager(4, KeyboardInputManager, HTMLActuator, LocalStorageManager); });
#!/usr/bin/env node /* eslint-disable */ const pkg = require('../package.json') console.log(pkg.version) process.exit()
webpackJsonp([60335399758886],{87:function(t,a){t.exports={data:{site:{siteMetadata:{title:"Barricade Records"}}},layoutContext:{}}}}); //# sourceMappingURL=path----ae8e548c4bb56394be0b.js.map
export {default} from './Button'; export {default as Button, buttonFactory} from './Button';
/*! Sly 1.0.0-rc.6 - 6th Feb 2013 | https://github.com/Darsain/sly */ (function(h,w,Q){function $(f,a,ea){var ia,n,ja,x,w,J;function F(c,ya){if(G&&b.released){var g=ka(c),pa=c>d.start&&c<d.end;R?(pa&&(c=m[g.centerItem].center),B&&e.activate(g.centerItem,1)):pa&&(c=m[g.firstItem].start)}!b.released&&"slidee"===b.source...
/** * @author Richard Davey <rich@photonstorm.com> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var BaseSound = require('...
version https://git-lfs.github.com/spec/v1 oid sha256:73320a5fc05e6688b53e1b947564a252791cd3276ffaf049b3d44cab8df45a98 size 366
version https://git-lfs.github.com/spec/v1 oid sha256:2f5d9bf5f89960a25c3091c26915d16a709d4a24499fb76626d92231faa42fef size 1918
import {Schema} from "prosemirror-model" // ::Schema Document schema for the data model used by CommonMark. export const schema = new Schema({ nodes: { doc: { content: "block+" }, paragraph: { content: "inline*", group: "block", parseDOM: [{tag: "p"}], toDOM() { return ["p"...
/*------------------------------------- EASY WAYPOINT FUNCTIONS -------------------------------------*/ // Creates a standerd waypoint with the option of custom logic. To pass in // the custom logic, just create a function with all the logic you would // like to call when the waypoint is activated, then pass just the...
version https://git-lfs.github.com/spec/v1 oid sha256:6b3e4decf59fdb2e9c8a552b36cea9986e875fb957b248276bd04888917730ff size 5429
var React = require('react'); var MainSection = require('./components/MainSection.component'); React.render(<MainSection />, document.getElementById('container'));
var classktt_1_1_parameter_pair = [ [ "ParameterPair", "classktt_1_1_parameter_pair.html#aa1a0cc60c3c77a523d2a82533e1cba5e", null ], [ "ParameterPair", "classktt_1_1_parameter_pair.html#ad5ec1fe348f5084be1bb93a72e36300c", null ], [ "ParameterPair", "classktt_1_1_parameter_pair.html#a0542a9454902488e990906cc...
'@fixture Test fixture'; '@page http://my.page.url'; function ultraSuperHelperFunc() { return 'nothing'; } '@test'['My first test'] = { '1.Do smthg cool' : function () { var foo = 'bar', baz = 0; for (var i = 0; i < 50; i++) baz++; act.click(foo); }, ...
/* jQuery.flexMenu 1.1 https://github.com/352Media/flexMenu Description: If a list is too long for all items to fit on one line, display a popup menu instead. Dependencies: jQuery, Modernizr (optional). Without Modernizr, the menu can only be shown on click (not hover). */ (function ($) { var flexObjects = [], // ...
// ============================== // MANUFACTURER (DIRECTOR) // ============================== export default class Manufacturer { static manufacture(builder) { builder.motherboard = "Asus Z170-A ATX LGA1151"; builder.cpu = "Intel Core i7 6950X"; builder.ram = "HyperX Fury 8 GB"; bu...
"use strict"; const mongoose = require('mongoose'); module.exports = function (application, done) { application.db = mongoose.connection; application.models = require('./common/models')(application); application.db.on('error', function (err) { application.log.error(err); }); application...
(function() { var Post, create, edit; Post = function() { this.title = ""; this.content = ""; this.author = ""; this.categories = []; this.tags = []; this.date = ""; this.modified = ""; return this.published = true; }; create = function(title, content, categories, tags, publish...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.11.0-master-bc4100a */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.menu-bar */ angular.module('material.components.menuBar', [ 'material.core', 'material.compo...
describe('Loading Nuora', function () { //using nuora as a module var colors = require('colors'), Nuora = require('../'), nuora, zuora, tests; it('has opts property', function () { expect(Nuora).to.have.property('opts'); }); Nuora.opts.option('--reporter [valu...
/* * Node-side Configuration */ OVERRIDE(NODE_CONFIG, (origin) => { global.NODE_CONFIG = COMBINE([{ isSingleCoreMode : false, // maxUploadFileMB // isNotToModelInitialize // 룸 서버를 사용하지 않을지 여부 설정 isNotUsingRoomServer : false }, origin]); });
"use strict"; // // Debugging // // Declare DEBUG constant, but be sure we aren't in production var DEBUG = Browser.inProduction() ? false : true; // Disable logging if in production if (!DEBUG) { window.console = {}; window.console.log = function(){}; window.console.info = function(){}; window.console.warn = fu...
'use strict'; /** * @ngdoc overview * @name gabineteApp * @description * # gabineteApp * * Main module of the application. */ angular .module('gabineteApp', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ngRoute', 'ngSanitize', 'ngTouch', 'slugifier' ]) .config(function ($routeProv...
import * as evaluator from './evaluator.js'; import * as environment from './environment.js'; function parseExpression(program) { program = skipSpace(program); var match, expr; if (match = /^"([^"]*)"/.exec(program)) { expr = {type: "value", value: match[1]}; } else if (match = /^\d+\b/.exec(program)) { ...
const NON_WORD_REGEXP = /[^A-Za-z0-9]/g export const DEFAULT_RANGES = ['0-9', 'A-B', 'C-D', 'E-F', 'G-H', 'I-J', 'K-L', 'M-N', 'O-P', 'Q-R', 'S-T', 'U-V', 'W-X', 'Y-Z'] export function groupBrandsByRanges (brands, ranges = DEFAULT_RANGES) { let rangeBrandsHash = {} for (let brand of brands) { addBrandToRange...
import cheerio from 'cheerio' import { join } from 'path' import { findPort, launchApp, killApp, nextStart, nextBuild, renderViaHTTP, File, } from 'next-test-utils' jest.setTimeout(1000 * 60 * 5) let app let appPort const appDir = join(__dirname, '..') const nextConfig = new File(join(appDir, 'next.confi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ServerOptions_1 = require("./ServerOptions"); const Http = require("http"); const Https = require("https"); const express = require("express"); const debug = require("debug"); const compression = require("compression"); const path = requ...
$(function () { var root = this, viewers = root.viewers || {}, WDZV = (viewers.WDZV = {}); root.viewers = viewers; var canvas = document.getElementById("map-wdz"), context = canvas.getContext("2d"); canvas.width = 640; canvas.height = 512; var N = Scl.N, M = Scl.M; ...
import React, { PropTypes } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Editor from '../Editor'; import TodoItem from '../TodoItem'; import { getTodos } from '../../actions'; class TodoList extends React.Component { render() { const rows = this.props.to...
/* global hexo */ 'use strict'; const renderer = require('./lib/renderer'); hexo.extend.renderer.register('swig', 'html', renderer, true);
import React, { createRef, Component } from 'react'; import { DomHandler, classNames } from 'primereact/utils'; import { InputText } from 'primereact/inputtext'; import { tip } from 'primereact/tooltip'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeErr...
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize underscore exports="amd" -o ./underscore/` * Copyright 2012-2014 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.6.0 <http://underscorejs.org/LICENSE> * Copyright 2009-2014 Jeremy Ashkenas, DocumentCloud...
{ "name": "43places", "domain": "43places.com", "urlMappings": [{ "urlTemplate": "http://www.43places.com/person/{username}", "schema": "None", "contentType": "Profile", "mediaType": "Html" }], "www": true }
'use strict'; angular.module('studyApp') .service('User', function User() { // AngularJS will instantiate a singleton by calling "new" on this function });
'use strict'; var requireHelper = require(process.env.TEST_DIR + '/require_helper'); var Game = requireHelper('models/game'); var expect = require('chai').expect; describe('Game', function() { describe('contructor', function() { var game1 = new Game(); it('should create a new Game with ID equals 1', functio...
'use strict'; angular .module('app.module') .factory('exception', exception); exception.$inject = ['logger']; function exception(logger) { var service = { catcher: catcher }; return service; function catcher(message) { return function(reason) { logger.error(message...
/** * Write text. * * Any number of columns. Everything is displayed as text. * * @class sgvizler.visualization.Generic * @extends sgvizler.charts.Chart * @constructor * @param {Object} container The container element where the * c...
/** * Copyright (c) 2014, Oracle and/or its affiliates. * All rights reserved. */ "use strict";var l={"NZL_WELLINGTON":[null,"\u05D5\u05D5\u05DC\u05D9\u05E0\u05D2\u05D8\u05D5\u05DF"],"AUS_CANBERRA":[null,"\u05E7\u05E0\u05D1\u05E8\u05D4"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["aus...
const getBaseType = require('./_getBaseType') /** * * @param {Object} value */ const isNumber = value => getBaseType('Number')(value) module.exports = isNumber
import React from 'react'; import styled from 'styled-components'; import { Button, Icon, Col, Tag, Typography } from 'antd'; import JSONEditor from './JSONEditor'; import EditorViewer from './EditorViewer'; import variations from './variations'; import { createImageChildren } from './CarouselSlideItem'; import ItemsCa...
/* jshint ignore: start */ import React from 'react'; import Footer from './Footer'; import Popup from 'reactjs-popup'; import BurgerIcon from './BurgerIcon'; import Menu from './Menu'; // import { Content } from 'reactbulma'; import '../smde-editor.css'; const styles = { fontFamily: 'sans-serif', textAlign: 'lef...
(function (){ 'use strict'; function <%= ctrlname %> (){ var vm = this; } angular.module('<%= appname %>').controller('<%= ctrlname %>', <%= ctrlname %>); })();
// Tigra Calendar v5.2 (11/20/2011) // http://www.softcomplex.com/products/tigra_calendar/ // License: Public Domain... You're welcome. // default settins - this structure can be moved in separate file in multilangual applications var A_TCALCONF = { 'cssprefix' : 'tcal', 'months' : ['January', 'February'...
import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; const ArrowUpCircle = forwardRef(({ color = 'currentColor', size = 24, ...rest }, ref) => { return ( <svg ref={ref} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" ...
(function () { 'use strict'; var gulp = require('gulp'); var gutil = require('gulp-util'); var injectdep = require('gulp-inject'); var bowerFiles = require('main-bower-files'); var angularFilesort = require('gulp-angular-filesort'); var order = require('gulp-order'); var argv = require('yargs').argv; ...
import React, {Component} from 'react'; import styles from './styles.scss'; class TopMenuProfile extends Component { render() { return ( <ul> <li style={{display: 'inline', verticalAlign: 'middle'}}><img className={styles.profileImage} src="http://image.xboxlive.com/global/t.434...
var redis = require('redis').createClient(); var uuid = require('node-uuid'); var mongoose = require('mongoose'); var request = require('request'); var Alarm = mongoose.model('Alarm'); var timeGen = function (){ var t = new Date; var m = t.getMinutes(), h = t.getHours() return 1111; } var runnin...
'use strict'; app.factory('accountService', function ($http, $q, $location, localStorageService, tsBBSettings) { var serviceBase = tsBBSettings.apiBaseUri; var accountServiceFactory = {}; var _authentication = { token: '', email: '', authenticated: false...
search_result['4536']=["topic_0000000000000AE7.html","PaymentException(String, Exception) Constructor",""];
"use strict" module.exports = imshow var consoleImg = require("console-image") var savePixels = require("save-pixels") var colorize = require("./do-colorize.js") function imshow(array, options) { colorize(array, options, function(img) { consoleImg(savePixels(img, "canvas")) }) }