code
stringlengths
2
1.05M
/** xxHash64 implementation in pure Javascript Copyright (C) 2016, Pierre Curto MIT license */ var UINT64 = require('cuint').UINT64 /* * Constants */ var PRIME64_1 = UINT64( '11400714785074694791' ) var PRIME64_2 = UINT64( '14029467366897019727' ) var PRIME64_3 = UINT64( '1609587929392839161' ) var PRIME64_4 = UIN...
'use strict'; var _ = require('underscore'); module.exports = _.extend( require('./env/all'), require('./env/' + process.env.NODE_ENV) || {} );
<canvas id="drawing" width="200" height="200">A drawing of something.</canvas>
// instanciando módulos var gulp = require('gulp'); var watch = require('gulp-watch'); var del = require('del'); var shell = require('gulp-shell'); var connect = require('gulp-connect'); gulp.task('run:pelican', shell.task([ 'pelican content -s pelicanconf.py' ])); gulp.task('clean:pelican', function () { return ...
var smidig = smidig || {}; smidig.voter = (function($) { var talk_id, $form, $notice, $loader; function supports_html5_storage() { try { return 'localStorage' in window && window['localStorage'] !== null; } catch (e) { return false; } } function save_vote($form, talk_id) { var vote...
import express from 'express'; import LessonController from '../controllers/LessonController'; const router = express.Router(); /* eslint-disable no-unused-vars */ const LessonsPath = '/api/lessonplans'; const teacherName = 'yonderWay'; const subjectName = 'theatre1'; const lessonNumber = '/:id'; // the data access ...
export { default, email } from '@abcum/ember-helpers/helpers/email';
module.exports = (function () { 'use strict'; var strings = require('../../strings').dead, style = require('../../style'); return { create: function(){ this.game.world.width = this.game.canvas.width; this.game.world.height = this.game.canvas.height; this.game.camera.reset(); this...
// We only need to import the modules necessary for initial render import CoreLayout from '../layouts/CoreLayout'; import Home from './Home'; import CounterRoute from './Counter'; /* Note: Instead of using JSX, we recommend using react-router PlainRoute objects to build route definitions. */ export const creat...
import Colors from './Colors'; import Fonts from './Fonts'; import Metrics from './Metrics'; import Images from './Images'; import ApplicationStyles from './ApplicationStyles'; export { Colors, Fonts, Images, Metrics, ApplicationStyles };
import React from 'react'; import PropTypes from 'prop-types'; import Tooltip from '../Tooltip'; import SvgExclamation from '../svg/Exclamation.js'; import styles from './Input.scss'; class InputErrorSuffix extends React.Component { render() { return ( <Tooltip dataHook="input-tooltip" dis...
const fs = require("fs"); const path = require("path"); const {template} = require("lodash"); const minimist = require("minimist"); const yaml = require("js-yaml"); const argv = minimist(process.argv.slice(2)); const conf = {}; try { const src = fs.readFileSync(path.resolve(__dirname, "../deploy-config.yml")); co...
var set = new HashSet(); //Array size var arrElementWidth = 150; var arrElementHeight = 40; //Key size var keyWidth = 50; var keyMargin = 5; var width = 800; var height = DEFAULT_TABLE_SIZE * (arrElementHeight + 5); //Hash function block size var blockWidth = keyWidth + keyMargin + arrElementWidth; var blockHeight ...
"use strict"; function Wall(layer, id) { powerupjs.GameObject.call(this, layer, id); // Some physical properties of the wall this.strokeColor = 'none'; this.fillColor = 'none'; this.scoreFrontColor = "#FFC800"; this.scoreSideColor = "#B28C00"; this.defaultFrontColor = '#0018FF'; this.defaultSideColor = '#001...
export default function createRegistry(repositories) { const storage = { ...repositories }; const registry = { register(repositoryName, repository) { storage[repositoryName] = repository; return registry; }, has(repositoryName) { return !!storage[re...
/** * Created by cc on 15-8-1. */ angular.module('app.services').factory('loginWithCode', ['app.api.http', '$ionicPopup','Storage','ENV','$state', function (http, $ionicPopup,Storage,ENV,$state) { var dataJSON = {} function login(){ if(ENV.code){ http.get('loginWithCode', {code:ENV.code...
import React, { PropTypes, Component } from 'react'; import { View, ScrollView, Text, TouchableOpacity, Keyboard, ListView, Platform, AsyncStorage } from 'react-native'; import getEmojiData from './data'; import ScrollableTabView from 'react-native-scrollable-tab-view'; const STORAGE_KEY = 'RNEI-latest'; class Emoji...
version https://git-lfs.github.com/spec/v1 oid sha256:07f4bf13ba69118ebd88b07b6c66f211f610acc3cdf0a9322352a6b8100ba3ce size 682
import * as React from 'react'; import {Items,Item,Row,Col,Table,Code} from 'yrui'; let thead=[{ key:'key', value:'参数', },{ key:'expr', value:'说明', },{ key:'type', value:'类型', },{ key:'values', value:'可选值', },{ key:'default', value:'默认值', }]; // let route=[{ key:'url', expr:'路径', type:'strin...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Product = mongoose.model('Product'), multiparty = require('multiparty'), uuid = require('node-uuid'), fs = require('fs'), _ = require('lodash'); /** * Create a Product */ ...
/*! jQuery UI - v1.10.4 - 2018-06-10 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","...
var mongoose = require('mongoose'); var BaseModel = require("./base_model"); var Schema = mongoose.Schema; var ObjectId = Schema.ObjectId; var UserFollowSchema = new Schema({ user_id: { type: ObjectId }, kind: { type: String }, object_id: { type: ObjectId }, create_at: { type: Date, default: Date.now } })...
'use strict' const path = require('path') const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin') const ManifestPlugin = require('webpack-manifest-plugin') const InterpolateHtmlPlugin = require('react-dev-utils/Interpo...
"use strict" const messages = require("..").messages const ruleName = require("..").ruleName const rules = require("../../../rules") const rule = rules[ruleName] testRule(rule, { ruleName, config: ["always"], accept: [ { code: "a { color :pink }", description: "space only before", }, { code: "a ...
var scene; var camera; var renderer; var stats; var geometry; var material; var line; var ambientLight; var loader; var cow; var cowMixer; var walkCow; var walkCowMixer; var cowStatus = "walkings"; // none standing walking cowCur = "walking"; // standing var milk; var loopAnim; var loopFallMilk; // 循环滴落奶 var grass; v...
version https://git-lfs.github.com/spec/v1 oid sha256:012c0c10efb1958941ed2fd9f393df39f1ae6f76369bf56e500e39ade0496295 size 8392
/** * Инициализация модуля. */ /*global define*/ define(['./poke-control', './poke-history', 'jquery'], function (pokeControl, pokeHistory, $) { 'use strict'; var pokeSettings = { pokeControl: { selector: '.poke-control-container', template: '<form class="form"><...
var list = { "Manual": { "Getting Started": { "Creating a scene": "manual/introduction/Creating-a-scene", "Import via modules": "manual/introduction/Import-via-modules", "Browser support": "manual/introduction/Browser-support", "WebGL compatibility check": "manual/introduction/WebGL-compatibility-check...
db.groups.update( {lname: "marrasputki"}, {$set:{users: ["Jörö"], description: "Marrasputki 2018"}})
document.body.onkeydown = function( e ) { var keys = { 37: 'left', 39: 'right', 40: 'down', 38: 'rotate', 80: 'pause' }; if ( typeof keys[ e.keyCode ] != 'undefined' ) { keyPress( keys[ e.keyCode ] ); render(); } };
module.exports = { 'plugins': { 'local': { 'browsers': [ 'chrome', 'firefox' ] } } }
// JScript File var borderstyle function editorOn(divid){ $('#'+divid).parent().parent().find(' >*:last-child img').css('visibility','hidden'); borderstyle = $('#'+divid).parent().parent().css('border'); $('#'+divid).parent().parent().css('border','') } function editorOff(divid){ $('#'+divid).parent().parent().find(...
(function () { 'use strict'; // var matcher = require('../../lib/matchUsers'); angular .module('chat.routes') .config(routeConfig); routeConfig.$inject = ['$stateProvider']; var c = "/room";// need to make this somehow return the correct room function routeConfig($stateProvider) { $stateProvider ...
import React from 'react'; import { shallow } from 'enzyme'; import { expect } from 'chai'; import sinon from 'sinon'; import RadioInput from './'; describe('RadioInput', () => { let wrapper; let value; let style; let onChange; beforeEach(() => { value = 'test'; style = { backgroundColor: 'blue' };...
/*global describe, beforeEach, it*/ 'use strict'; var assert = require('assert'); describe('ttwebapp generator', function () { it('can be imported without blowing up', function () { var app = require('../app'); assert(app !== undefined); }); });
//setup Dependencies var connect = require('connect'); //Setup Express var express = require('express'); var path = require('path'); let app = express(); var server = require('http').Server(app); var io = require('socket.io')(server); var keypress = require('keypress'); var port = (process.env.PORT || 8081); var mut...
/** * Created by Tivie on 12-11-2014. */ module.exports = function (grunt) { // Project configuration. var config = { pkg: grunt.file.readJSON('package.json'), concat: { options: { sourceMap: true, banner: ';/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %...
// Export modules to global scope as necessary (only for testing) if (typeof process !== 'undefined' && process.title === 'node') { // We are in node. Require modules. expect = require('chai').expect; sinon = require('sinon'); num = require('..'); isBrowser = false; } else { // We are in the browser...
export var lusolveDocs = { name: 'lusolve', category: 'Algebra', syntax: ['x=lusolve(A, b)', 'x=lusolve(lu, b)'], description: 'Solves the linear system A * x = b where A is an [n x n] matrix and b is a [n] column vector.', examples: ['a = [-2, 3; 2, 1]', 'b = [11, 9]', 'x = lusolve(a, b)'], seealso: ['lup'...
/* Copyright (c) 2017, Dogan Yazar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
import { StyleSheet } from "react-native"; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: "flex-start", alignItems: "center", backgroundColor: "#669999" }, buttons: { // flex: 0.15, flexDirection: "row", alignItems: "center",...
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function (req, res, next) { res.render('index', { title: 'Express' }); }); //test canvas router.get('/canvas', function (req, res, next) { res.render('canvas'); }); module.exports = router;
'use strict'; module.exports = { "definitions": { "validation-error": { "type": "object", "description": "Validation error", "properties": { "param": { "type": "string", "description": "The parameter in error" }, "msg": { "type": "string", ...
version https://git-lfs.github.com/spec/v1 oid sha256:2e65db5b56d276f8bcf293bede932b782ec29e72a25125d3412f81315301ecc4 size 14066
import { subtract } from '../subtract'; describe('Core.subtract', () => { test('Subtracts the second argument from the first', () => { expect(subtract(10, 8)).toBe(2); }); });
'use strict'; describe('AutoFormatter', function() { var event = require('../polyfill/event'); var AutoFormatter = require('../src/auto-formatter'); var autoFormatter; var inputNode; var config = { limitToMaxLength: true, recurringPattern: false }; before(function() { inputNode = document.cr...
/*jslint node: true */ 'use strict'; var _ = require('underscore.string'), inquirer = require('inquirer'), path = require('path'), chalk = require('chalk-log'); module.exports = function() { return function (done) { var prompts = [{ name: 'taglibName', ...
'use strict'; var _ = require('lodash'); var Q = require('q'); var util = require('util'); var should = require('./utils/should'); var descriptors = require('./utils/descriptors'); var Attribute = require('./attribute'); var AssertionResult = require('./assertion-result'); var PropertyAssertion = require('./assertions...
import React from 'react' import MediaSummary from './MediaSummary' import { Button } from 'semantic-ui-react' import './mediaverticallist.css' export default class MediaVerticalList extends React.Component { render () { var arr = this.props.data if (arr === undefined) { arr = [] } var mediaNo...
/* global window beforeEach jasmine it xit fit */ if (typeof global === 'undefined') { global = window; // eslint-disable-line } const customMatchers = { toAlmostEqual: (util, customEqualityTesters) => ({ compare: (actual, expected) => { const cleanActual = actual .trim() .replace(/\n/g,...
/** * Created by Wayne on 16/3/16. */ 'use strict'; var tender = require('../controllers/tender'), cardContr = require('../controllers/card'), cardFilter = require('../../../libraries/filters/card'), truckFileter = require('../../../libraries/filters/truck'), driverFilter = require('../../../libraries/filte...
/** * Imports */ import React from 'react'; import connectToStores from 'fluxible-addons-react/connectToStores'; import {RouteHandler} from 'react-router'; import {slugify} from '../../../utils/strings'; // Flux import AccountStore from '../../../stores/Account/AccountStore'; import ApplicationStore from '../../../...
/** * The main purpose of this in my mind is for navigation * this way when this route is entered either via direct url * or by a link-to etc you send a ping so that nav can be updated * in the hierarchy. * * curious about feedback. I have used something similar in practice * but it's mainly for keeping the ui ...
import React, { PropTypes } from 'react'; import { Provider } from 'react-redux'; import Routers from './Routers'; /** * Component is exported for conditional usage in Root.js */ const Root = ({ store }) => ( /** * Provider is a component provided to us by the 'react-redux' bindings that * wraps our app - th...
import actions from './shortcuts'; class MockClientStore { update(cb) { this.updateCallback = cb; } } describe('manager.shortcuts.actions.shortcuts', () => { describe('setOptions', () => { test('should update options', () => { const clientStore = new MockClientStore(); actions.setOptions({ c...
ScalaJS.impls.scala_PartialFunction$class__orElse__Lscala_PartialFunction__Lscala_PartialFunction__Lscala_PartialFunction = (function($$this, that) { return new ScalaJS.c.scala_PartialFunction$OrElse().init___Lscala_PartialFunction__Lscala_PartialFunction($$this, that) }); ScalaJS.impls.scala_PartialFunction$class__a...
function autonomous_start() { autonomousStartTime = gameVideo.currentTime; initializeEvents(); }
// --------- This code has been automatically generated !!! Wed Jul 22 2015 13:15:44 GMT+0000 (UTC) /** * @module opcua.address_space.types */ var doDebug = false; var assert = require("better-assert"); var util = require("util"); var _ = require("underscore"); var makeNodeId = require("../lib/datamodel/nodeid").mak...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _css = require('antd/lib/message/style/css'); var _message = require('antd/lib/message'); var _message2 = _interopRequireDefault(_message); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; ...
(function () { 'use strict'; angular .module("myApp.presents") .factory("dataGiftService", dataGiftService); function dataGiftService($mdToast, $mdDialog) { var dataGiftService = { notification: notification, pleaseWaitDialog: pleaseWaitDialog }; ...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
module.exports = ` type SimpleBudgetDetail { account_type: String, account_name: String, fund_name: String, department_name: String, division_name: String, costcenter_name: String, function_name: String, charcode_name: String, organization_name: String, category_name: String, budget_section_name: ...
module.exports = client => { console.log(`Reconnecting... [at ${new Date()}]`); };
ig.module( 'game.entities.abstract.friendly-unit' ).requires( 'game.entities.abstract.unit' ).defines(function () { FriendlyUnit = Unit.extend({ // Nothing yet! }); });
/** * Ajax函数 */ // 创建一个XMLHttpRequest对象 var createXHR; if (window.XMLHttpRequest) { createXHR = function() { return new XMLHttpRequest(); }; } else if (window.ActiveXObject) { createXHR = function() { return new ActiveXObject('Microsoft.XMLHTTP'); }; } // 发起异步请求,默认为GET请求 function aja...
import { addTimer } from './timer/timer'; import { showProfile } from './profile/profile'; import { showHelp } from './help/help'; import { getAllUsers } from './timer/listUtil/getAllUsers'; import { isWorking } from './timer/listUtil/isWorking'; import { timerTimeout } from './timer/listUtil/timerTimeout'; import { r...
/** * Created by:homelan * User: pijiu3302@outlook.com * Date: 2017/7/31 * Time: 17:38 * */ import React from 'react'; import icons from '../utils/parseIcon'; import {connect} from 'react-redux'; import {lockPlayer} from '../store/action/actionindex'; class LockBar extends React.Component { render() { cons...
var express = require('express'); var app = module.exports = express(); var api = require('lib/db-api'); var config = require('lib/config'); var path = require('path'); var url = require('url'); var resolve = path.resolve; var strip = require('strip'); var log = require('debug')('democracyos:facebook-card'); app.get('...
import Html from "./Html"; import { YatinSelectMin, YatinSelectMax } from "../parts/YatinSelect"; export default class YatinSection extends Html { constructor(min="", max="") { super(); var $yatinSection = $(` <section class="yatin-section"> <h2>¥家賃</h2> <div class="center"></div> ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
var game = new Phaser.Game(375, 667, Phaser.AUTO, 'gameDiv'); // var game = new Phaser.Game(720, 1280, Phaser.AUTO, 'gameDiv'); game.global = { taps: 0, enemyHP: 0, enemyHPTotal: 0, level: 1, enemyNumber: 1, coins: 0, player: { name: 'mr. hero', level: 1, skillLevel: [0, 0, 0, 0, 0, 0] } };...
/** * Default model configuration * (sails.config.models) * * Unless you override them, the following properties will be included * in each of your models. * * For more info on Sails models, see: * http://sailsjs.org/#!/documentation/concepts/ORM */ module.exports.models = { /******************************...
'use strict'; const mongoose = require('mongoose-q')(require('mongoose')); const League = mongoose.model('League'); function LeagueHandler (leagueService) { this.service = leagueService; } LeagueHandler.prototype.getLeaguesByCountry = function(req, res, next) { return this.service.getByCountry(req.params.cou...
app.controller('JoinGameController', function ($scope, $location, authorization, identity, ticTacToeData, notifier) { 'use strict'; $scope.joinGame = function (gameId) { if (identity.isAuthenticated() === true) { ticTacToeData.joinGame(authorization.getAuthorizationHeader(), gameId) ...
'use strict'; function Level(args) { if(!(this instanceof Level)) return new Level(args); this.context = args.context; this.player = args.player; this.gameplayObjects = args.gameplayObjects; this.outcomeListeners = []; this.finalMessageListeners = []; this.respawnInfoListeners = []; this.victoryMe...
require("./18.js"); require("./37.js"); require("./74.js"); require("./147.js"); module.exports = 148;
var Leap = require("leapjs"); var keyboard = require('node_keyboard'); //Each var individually declared below so they refence different objects in memory. I.e work independantly. //These vars log when a particular action / gesture last ran. var last_fav = new Date().getTime(); var last_swipe = new Date().getTi...
// eslint-disable-next-line function getCookie(cname) { const name = `${cname}=`; const ca = document.cookie.split(';'); for (let i = 0; i < ca.length; i += 1) { let c = ca[i]; while (c.charAt(0) === ' ') c = c.substring(1); if (c.indexOf(name) !== -1) return c.substring(name.length, c.length); } ...
/* * Kendo UI v2015.1.408 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
(function (window) { 'use strict'; /*global define, module, exports, require */ var c3 = { version: "0.4.11" }; var c3_chart_fn, c3_chart_internal_fn, c3_chart_internal_axis_fn; function API(owner) { this.owner = owner; } function inherit(base, der...
function solve(args) { const module = 1024; let numbers = args.slice(1).map(Number), current, result = 0, i = 0; while (true) { if (i === 0) { current = numbers[i]; if (numbers.length === 1) { result = current; break; ...
function populate(form) { form.options.length = 0; form.options[0] = new Option("Select a county of Georgia",""); form.options[1] = new Option("Appling County","Appling County"); form.options[2] = new Option("Atkinson County","Atkinson County"); form.options[3] = new Option("Bacon County","Bacon County"); form.options[...
/** * Created by chenqx on 8/5/15. * @hack 添加三角形绘制提交方式 */ /** * 以四边形填充 * @constant * @type {number} */ qc.BATCH_QUAD = 0; /** * 以三角形填充 * @constant * @type {number} */ qc.BATCH_TRIANGLES = 1; var oldWebGLSpriteBatchSetContext = PIXI.WebGLSpriteBatch.prototype.setContext; PIXI.WebGLSpriteBatch.prototype.set...
#!/usr/bin/env node // Fires up a console with Valid loaded. // Allows you to quickly play with Valid on the console. Valid = require('./lib/valid'); require('repl').start();
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 18h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h8c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 ...
'use strict'; describe('Service: awesomeThings', function() { // load the service's module beforeEach(module('initApp')); // instantiate service var awesomeThings; beforeEach(inject(function(_awesomeThings_) { awesomeThings = _awesomeThings_; })); it('should return all the awesomeThings at the sta...
'use strict'; var matrix = require( 'dstructs-matrix' ), ekurtosis = require( './../lib' ); var k, mat, out, tmp, i; // ---- // Plain arrays... k = new Array( 10 ); for ( i = 0; i < k.length; i++ ) { k[ i ] = i; } out = ekurtosis( k ); console.log( 'Arrays: %s\n', out ); // ---- // Object arrays (accessors)....
/* public/core.js */ var angTodo = angular.module('angTodo', []); function mainController($scope, $http) { $scope.formData = {}; /* when landing on the page, get all todos and show them */ $http.get('/api/todos') .success(function(data) { $scope.todos = data; console.l...
define([], function() { return function($translateProvider) { $translateProvider.translations('en', { WELCOME_TO_PIO: 'Welcome to PIO', SIGN_IN: 'Sign in', SIGN_UP: 'Sign up', SIGN_OUT: 'Sign out', FORGOT_PASSWORD: 'Forgot password?', ...
{ document.getElementsByClassName('close')[0].addEventListener('click', function() { window.close(); }); }
'use strict'; angular.module('com.module.sandbox') .controller('DatepickerDemoCtrl', function ($scope) { $scope.today = function () { $scope.dt = new Date(); }; $scope.today(); $scope.clear = function () { $scope.dt = null; }; $scope.disabled = function (date, mode) { ...
import Ember from 'ember'; const { computed } = Ember; let IronSelector = Ember.Component.extend({ attributeBindings: [ 'selected', 'role', 'attrForSelected', 'multi' ], selectedItem: computed({ get() {}, set(key, value) { let items = this.get('items'); let idx = -1; ...
var Component = new Brick.Component(); Component.requires = { mod: [ {name: '{C#MODNAME}', files: ['mail.js']} ] }; Component.entryPoint = function(NS){ var Y = Brick.YUI, COMPONENT = this, SYS = Brick.mod.sys; NS.MailTestWidget = Y.Base.create('MailTestWidget', SYS.AppWidget, ...
export default function reducer (state = {}, action) { return state; };
/* var jsonfile = require('jsonfile'); var file = '../data1.json'; var tasksController = require('../public/js/tasks.js'); jsonfile.writeFile(file,data1); */ // var User = require('../public/js/mongoUser.js'); var Task = require('../public/js/mongoTasks.js'); var MongoClient = require('mongodb').MongoClient, format = ...
module.exports = { flyers: { testRail: { projectId: 6, }, confluence: { space: '~adam.petrie' } } }
'use strict'; const Joi = require('joi'); const uuid = require('uuid'); const reqUtils = require('../utils/requestUtils'); const R = require('ramda'); //fixme: allow unknown fields and just require absolutely mandatory ones const cucumberSchema = Joi.array().items(Joi.object().keys({ id: Joi.string().required(), ...
'use strict'; /** * @ngdoc service * @name publicApp.AuthInterceptor * @description * # AuthInterceptor * Factory in the publicApp. */ angular.module('publicApp') .factory('AuthInterceptor', function(JwtFactory) { // Public API here return { request: function(config) { ...
var accessToken="i7LM4k7JcSKs4ucCpxpgNPcs3i1kRbNKyUE8aPGKZzZWASagz9uZiuLgmgDgBJzY"; $(window).load(function() { $('#pseudo_submit').click(function() { NProgress.start(); $.ajax({ type: "POST", url: "../db-app/signdown.php", dataType: 'text', data: ...
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFlashOn(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <polygon points="14 4 14 26 20 26 20 44 34 20 26 20 34 4" /> </IconBase> ); } export default MdFlashOn;