code
stringlengths
2
1.05M
// document hack import root from './window-or-global'; let bows; (function (base) { window = base || window if (!window.localStorage) window.localStorage = {}; })(root); const levels = [ 'warn', 'info', 'error', 'debug' ]; class Log { constructor(namespace) { this._namespace = namespace || 'firestack'; ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Stack = factory()); }(this, (function () { 'use strict'; var toConsumableArray = function (arr) { if (Array.isArray(arr))...
extend(prototype, { change: function (shiftKey, originalEvent) { var options = this.options; var aspectRatio = options.aspectRatio; var action = this.action; var containerData = this.containerData; var canvasData = this.canvasData; var cropBoxData = this.cropBoxData; var ...
/** * Created by danie on 12/01/2017. */ angular .module('myApp.directives') .directive('modal', function(){ return { template: '<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" ' + 'aria-labelledby="myLargeModalLabel" aria-hidden...
'use strict'; import React from 'react'; import { connect } from 'react-redux' import { createSelector } from 'reselect' import AvatarEditor from 'react-avatar-editor'; import FileChoose from './FileChooseComponent'; import Slider from 'react-slider'; import {drawFrame, getMax, classNames, toArray} from '../api/magg...
if (require !== 'undefined') { var _ = require('underscore'); } var Loader = function (domEl, opts) { if (!(this instanceof Loader)) { return new Loader(domEl, opts); } // options opts || (opts = {}); this.domEl = domEl; this.activeClass = opts.activeClass || 'loader-active'; this.timeToTrigger = opts.time...
/* eslint-disable */ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const webpack = require('webpack'); const rules = require('./webpack.rules'); /* eslint-enable */ rules.push({ test: /\.(less|css)$/, use: [ { loader: MiniCssExtractPlugin.loader }, 'css-loader', { loa...
;(function(undefined) { 'use strict'; var _methods = Object.create(null), _indexes = Object.create(null), _initBindings = Object.create(null), _methodBindings = Object.create(null), _methodBeforeBindings = Object.create(null), _defaultSettings = { immutable: true, clon...
DoToo.factory('DoToo.KeyActions', [ 'DooToo.ActionNames', 'DoToo.Utils', function (ActionNames, Utils) { 'use strict'; var getKeyEventName = Utils.getKeyEventName; var keyActions = {}; keyActions[ getKeyEventName(true, false, 78) ] = ActionNames.NEW; //Alt n keyActions[ getKeyEventName(true, false, 187) ...
var express = require('express') var lineRoutes = require('app/api/line/lineRoutes') var join = require('path').join var router = new express.Router() router.use('/', express.static(join(__dirname, 'web'))) router.use('/api', lineRoutes) module.exports = router
/* * Copyright 2012 The Closure Compiler Authors. * * 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...
'use strict' const fs = require('fs') const path = require('path') const mkdirp = require('mkdirp') const assert = require('assert') const yaml = require('js-yaml') const dirname = require('path').dirname exports.exists = exists exports.existsSync = existsSync exports.mkdir = mkdir exports.readFile = readFile exports...
'use strict'; angular.module('spedycjacentralaApp') .controller('NavbarController', function ($scope, $location, $state, Auth, Principal, ENV) { $scope.isAuthenticated = Principal.isAuthenticated; $scope.$state = $state; $scope.inProduction = ENV === 'prod'; $scope.logout = functio...
define(['Class4', 'Class5'], function Class8(a, b) { this.test = 11; this.a = a; this.b = b; });
'use strict'; var React = require('react'); var IconBase = require(__dirname + 'components/IconBase/IconBase'); var AndroidPrint = React.createClass({ displayName: 'AndroidPrint', render: function render() { return React.createElement( IconBase, null, React.createElement( 'g', null, React.cr...
canvasSize(400, 500); var 最小値候補 = createListTurtle(true, "最小値候補"); var 未処理束 = createListTurtle(true, "未処理束"); var 検索済束 = createListTurtle(true, "検索済束"); var 並替済束 = createListTurtle(true, "並替済束"); { //c//初期位置に設定する 最小値候補.warpByTopLeft(60, 50); 最小値候補.setBgColor("#ff99cc"); 未処理束.warpByTopLeft(60, 150); 未処理束...
/* 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( 'horizontalrule', 'es', { toolbar: 'Insertar Línea Horizontal' } );
angular .module('tas') .controller('AuthController', AuthController); function AuthController($rootScope, $scope, $location, authFactory, BASE_URL) { var vm = this; vm.login = function () { authFactory.login(vm.email, vm.password, function (err, authData) { if (err) { console.log('Error logg...
Ext.define('controller.WorkbenchController', { extend : 'Ext.app.Controller', alias: 'controller.workbenchController', views : [ 'view.WorkbenchView' ], requires:[ 'MyDesktop.ServerModel' ], alertTitle:'Info', serverError:'Server error.', selectFile:'Please select file.', deleteSuccess:'Delete success.'...
'use strict'; 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 ('value' in descriptor) descriptor.writable = true; Object.defineProp...
/** * @copyright * The MIT License (MIT) * * Copyright (c) 2014 Cosmic Dynamo LLC * * 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 limitatio...
/* The MIT License (MIT) Copyright (c) 2014 Živorad Milekić */ var app;app=angular.module('zm-long-click',[]),app.directive('zmLongClick',function(){return{restrict:'A',replace:true,link:function(scope,element,attrs){var pressing=false;var timer;element.bind("mousedown",function(){pressing=true;timer=setTimeout(functi...
var colorizer = require("ansi-colorizer"); var ag = require("ansi-grid"); function createMatrix(ostream) { var matrix = ag.createMatrix({ outputStream: ostream, columns: 2 }); matrix.resizeColumn(1, 80); matrix.freezeColumn(1); return matrix; } module.exports = { create: function (opt) { ...
(function() { gaf.Sprite.CanvasRenderCmd = function (renderable) { cc.Sprite.CanvasRenderCmd.call(this, renderable); this._hasTintMult = false; this._hasTintOffset = false; this._hasCtx = false; this._tintMult = cc.color(255,255,255,255); this._tintOffset = c...
/** Take a string and truncate it to an arbitrary amount and add... * HTML tags are automatically stripped for a more accurate response. * Truncation doesn't permit partial words @function dottie @param {string} str Arbitrary string @param {number} limit Character limit (the calcuation is a little conse...
/*jshint esversion:6*/ import 'antd/dist/antd.less'; import React, {Component} from 'react'; import { connect } from 'react-redux'; import { Row, Col } from 'antd'; class App extends Component{ constructor(props){ super(props); } componentWillReceiveProps(nextProps){ } render(){ return ( <p>Hel...
import PropTypes from 'prop-types'; import React from 'react'; import toCSS from 'style-to-css'; export default class OnClick extends React.Component { state = {}; componentWillMount() { const {props} = this; const manualActive = typeof props.isActive === 'boolean'; this.setState({ isActive: ma...
module.exports = function( grunt ) { "use strict"; var fs = require( "fs" ), spawnTest = require( "./lib/spawn_test.js" ), testsDir = "./test/node_smoke_tests/", nodeSmokeTests = [ "babel:nodeSmokeTests" ]; // Fire up all tests defined in test/node_smoke_tests/*.js in spawned sub-processes. // All the fil...
import { trackUserId } from 'binary-utils/lib/Analytics'; import { showError } from 'binary-utils'; import { store } from '../_store/persistentStore'; import { history, accountExclusion } from '../_store/root'; import { api } from './LiveData'; import { updateAppState, removePersonalData, updateToken, updateBoot } from...
Maildog.Views.CurrentUser = Backbone.CompositeView.extend({ template: JST['currentUser'], className: 'current-user-info', initialize: function() { this.listenTo(Maildog.currentUser, "sync", this.render) }, render: function() { this.$el.html(this.template({ currentUser: Maildog.currentUser })); $...
/** * @fileoverview * @enhanceable * @public */ // GENERATED CODE -- DO NOT EDIT! goog.provide('proto.tensorflow.ValuesDef'); goog.require('jspb.Message'); goog.require('jspb.BinaryReader'); goog.require('jspb.BinaryWriter'); goog.require('jspb.Map'); /** * Generated by JsPbCodeGenerator. * @param {Array=} op...
const request = require('supertest') const expect = require('chai').expect const app = require('../../src/app') let blob = { name: 'JackYang', badge: 1, content: 'Hello JackYang', isloved: true, readCount: 1, type: 'String' }
/* * jQuery.event.input * * (C) 2012 Zach Shipley | MIT license * www.opensource.org/licenses/mit-license.php */ (function($) { var Util = { //poor man's HTMLElement hash code hash: function(el) { var ex = $.expando; if (el[ex]) { return el[ex]; } $(el).data('event.special.input.hash', ''); ...
import mongoose from 'mongoose' import { MONGODB_URL } from '../../secrect' mongoose.Promise = Promise mongoose.connect(MONGODB_URL) export default mongoose
(function($){ $.fn.load_snippets = function(options){ console.log("loading snippets"); var settings = $.extend({ location: 'resources/snippets/', data: 'snippet' }, options); this.each(function(index, element){ var url = settings.location + $(eleme...
/** * Split into declaration and initialization for better performance. */ var validator; var cheerio; var graph; var LastFmNode; var tumblr; var foursquare; var Github; var Twit; var stripe; var twilio; var Linkedin; var BitGo; var clockwork; var paypal; var lob; var ig; var Y; var request; var _ = require('lodash...
export const __VAL__ = Symbol('Enum.__VAL__'); export const __AS_STRING__ = Symbol('Enum.__AS_STRING__');
/*globals define, WebGMEGlobal*/ /*jshint node: true*/ /** * @author brollb / https://github/brollb */ 'use strict'; var Logger = require('./AutoRouter.Logger'), // FIXME CONSTANTS = require('./AutoRouter.Constants'), Utils = require('./AutoRouter.Utils'), assert = Utils.assert, ArPoint = require(...
describe('get', function () { beforeEach(function () { this.setUpHandler({ commandModule: './suite/get', clientMethod: 'getSuite', clientMethodResponse: { name: 'My suite', _id: '12345' }, }) }) it('should throw an error', async function () { await this.testRejection() }) it('s...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const generateNode_1 = require("../generateNode"); function generateIfNode(sgen, node) { sgen.appendLine(`if (${node.condition}) {`); sgen.pushIndent(); generateIfContent(sgen, node); sgen.popIndent(); if (node.else...
jQuery(document).ready(function($){ // Touch friendly expanded nav $('ul.navmenu li span').click(function(event){ event.preventDefault(); // get the child of the clicked menu switch var child_menu = $(this).parent().parent().children('ul'); // get the parent link of the clicked menu switch v...
(function(){console.log(3)}).call(this),function(){var a;a=function(){function a(){}return a}()}.call(this);
import Ember from 'ember'; export default Ember.Controller.extend({ classForCurrentPath: Ember.computed('currentPath', { get() { let currentPath = this.get('currentPath'); if (currentPath) { return `${currentPath.replace(/\./g, '-')}-route`; } } }), });
var fs = require('fs'); var util = require('util'); var socketIO = require('socket.io'); var Connector = require('./connector'); var SocketConnector = module.exports = function SocketConnector() { }; util.inherits(SocketConnector, Connector); SocketConnector.prototype.start = functio...
'use strict'; const isStandardSyntaxHexColor = require('../isStandardSyntaxHexColor'); describe('isStandardSyntaxHexColor', () => { it('default hex', () => { expect(isStandardSyntaxHexColor('#000000')).toBe(true); }); it('less map usage', () => { expect(isStandardSyntaxHexColor('#prop[someprop]')).toBe(false);...
var THREE = require('three'); /* * A subset of THREE.js, providing mostly quaternion and euler-related * operations, manually lifted from * https://github.com/mrdoob/three.js/tree/master/src/math, as of 9c30286b38df039fca389989ff06ea1c15d6bad1 */ // Only use if the real THREE is not provided. //var THREE = window....
/// <reference path="~/Scripts/_references.js" /> Microsoft.WebPortal.AddOrUpdateOfferPresenter = function (webPortal, feature, existingOffer) { /// <summary> /// Manages adding a new partner offer or updating an existing partner offer. /// </summary> /// <param name="webPortal">The web portal instanc...
import * as common from 'test/specs/commonTests' import Grid from 'src/collections/Grid/Grid' import GridColumn from 'src/collections/Grid/GridColumn' import GridRow from 'src/collections/Grid/GridRow' describe('Grid', () => { common.isConformant(Grid) common.hasUIClassName(Grid) common.hasSubComponents(Grid, [...
import React from 'react' import { Dropdown, Icon, Menu, Segment } from 'semantic-ui-react' // TODO: Update <Search> usage after its will be implemented const Attached = () => { return ( <div> <Menu attached='top'> <Dropdown as={Menu.Item} icon='wrench' simple> <Dropdown.Menu> ...
'use strict'; const toIterator = require('./to-iterator'); const curry = require('core.lambda').curry; function reduce(reducerFn, init, iterable) { if (typeof iterable === 'undefined') { iterable = init; init = undefined; } const iterator = toIterator(iterable); let step = iterator.next(); if (!(step...
'use strict' // https://webpack.js.org/configuration/ const path = require('path') const webpack = require('webpack') const webpackMerge = require('webpack-merge') const CleanPlugin = require('clean-webpack-plugin') const CopyPlugin = require('copy-webpack-plugin') const moduleTypes = require('./module-types') cons...
var TEST_NAME = 'function'; var path = require('path'); var test = require('tape'); var helpers = require('./_helpers'); var stylelint = require('stylelint'); var formatter = require('stylelint-formatter-yhw'); var stylelintOptions = { files: path.resolve(__dirname, './' + TEST_NAME + '.scss'), syntax: "scs...
/* global describe, it */ import { expect } from 'chai'; import createContainer from '../src/createContainer'; import resolveContainer from '../src/resolveContainer'; describe('resolveContainer', function () { it('resolves Container class', function () { const Container = createContainer([ { name: 'foo', ...
var Reflux = require('reflux'); var store = require('../vendor/store'); var ContactStore = Reflux.createStore({ init: function() { if (!store.get('contacts')) { store.set('contacts', []); } }, setContacts: function(contacts) { store.set('contacts', contacts); this.trigger(); }, getAl...
'use strict'; beforeEach(function() { function cssMatcher(presentClasses, absentClasses) { return function() { return { compare: function(actual) { var element = angular.element(actual); var present = true; var absent = false; angular.forEach(presentClasses...
import React from 'react'; const Footer = () => { return ( <div> <footer> <p>PetCare é uma marca não registrada e de dominio público</p> </footer> </div> ); }; export default Footer;
// Karma configuration // Generated on Mon Aug 26 2013 17:18:33 GMT+0300 (FLE Daylight Time) /*global module:true*/ module.exports = function (config) { 'use strict'; config.set({ // base path, that will be used to resolve files and exclude basePath: '', // frameworks to use f...
function trans(key, attr){ if(window.transMap == null){ window.transMap = new Object; window.transMap.ml_add = '增加'; window.transMap.ml_goto = '转到'; window.transMap.ml_month_six = '六月'; window.transMap.ml_paerrormsg = '错误的方法调用,为指定调用对象!'; window.transMap.ml_queryschemefirstname = '查询方案第一语种名称不能为空'; window.transMap.ml_ema...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var xing = exports.xing = { "viewBox": "0 0 20 20", "children": [{ "name": "path", "attribs": { "d": "M17.703,1h-2.828c-0.223,0-0.553,0.105-0.69,0.381S13.875,2,13.875,2l-5,10l3,6c0,0,0.172,0.344,0.31,0.619\r\n\tS12.652,19,12.875,19h2.828c0....
/** * Copyright (c) 2015 Guyon Roche * * 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, publis...
import fade from './internal/animate-fade'; import slide from './internal/animate-slide'; import { noop } from 'uikit-util'; export default { props: { duration: Number, animation: Boolean, }, data: { duration: 150, animation: 'slide', }, methods: { animate(...
const { Matrix, Transform } = require('../'); describe('PIXI.Matrix', function () { it('should create a new matrix', function () { const matrix = new Matrix(); expect(matrix.a).to.equal(1); expect(matrix.b).to.equal(0); expect(matrix.c).to.equal(0); expect(matrix.d).to....
/** * Created by aurelien.vannier on 07/11/2014. */ define([ 'views/base/view', 'templates/common/title' ], function(View, template) { 'use strict'; var TitleView = View.extend({ // Automatically render after initialize autoRender: true, className: 'jumbotron', templat...
// 'use strict'; // // // describe('ngShell.view1 module', function() { // // beforeEach(module('ngShell.view1')); // // describe('view1 controller', function(){ // // it('should ....', inject(function($controller) { // //spec body // var view1Ctrl = $controller('View1Ctrl'); // expect(view1Ct...
import Logger from "../../common/js/Logger.js"; import EncounterSet from "../../artifact/js/EncounterSet.js"; import LocationCard from "../../artifact/js/LocationCard.js"; import CardImage from "../../view/js/CardImage.js"; window.LOGGER = new Logger(); LOGGER.setTraceEnabled(false); LOGGER.setDebugEnabled(false); cl...
describe("Core/Ref", function() { "use strict"; var $$ = sc.test.object; var $ = sc.lang.$; var SCRef = $("Ref"); describe("SCRef", function() { before(function() { this.createInstance = function(value) { return SCRef.new(value || $$(null)); }; }); it("#valueOf", function()...
/** * Created by gomes on 14/12/16. */ import { red500, red300, red700, blue500, blue300, blue700, orange500, orange300, orange700, darkBlack, white, grey300, fullBlack, } from 'material-ui/styles/colors'; import {fade} from 'material-ui/utils/colorManipulator'; import spacing from 'material-ui/styles...
const express = require('express'); const personalSnippetsRouter = express.Router({mergeParams: true}); const Keycloak = require('keycloak-connect'); const PersonalSnippetsService = require('./personal-snippets.service'); const SnippetsSearchService = require('../../../common/snippets-search.service'); const UserIdVal...
var Upload = require("./upload").Upload, urlFor = require("./restful").urlFor; /** * A chat message. * @constructor * @param {Connection} connection A server connection. * @param {Object} attrs The initial attributes of this message. */ exports.Message = function (connection, attrs) { var self, post; sel...
describe('Pipe', function() { 'use strict'; var Pipe, $injector, mocks = { pipe: function pipeFn(input) { return input; } }; beforeEach(function() { angular.module('pipeMocks', []) .service('pipeFn1', [ fu...
const getScrollTop = (element, document) => { if (element) return element.scrollTop; return document.body.scrollTop || document.documentElement.scrollTop; }; const setScrollTop = (value, element, document) => { if (element) element.scrollTop = value; else document.body.scrollTop = document.documentElement.scrol...
(function(module){ 'use strict'; module.controller('tools', function($scope) { }) })(angular.module('iot.controllers'))
'use strict'; const { bind, construct, pipe } = require('ramda'); const reject = pipe( construct(Error), bind(Promise.reject, Promise) ); module.exports = { reject };
"use strict"; const $ = require("jquery"); const socket = require("../socket"); const chat = $("#chat"); socket.on("users", function(data) { const chan = chat.find("#chan-" + data.chan); if (chan.hasClass("active")) { socket.emit("names", { target: data.chan }); } else { chan.data("needsNamesRefresh", tr...
/** * @file dummy.js * @author Vladimir Deminenko * @date 20.08.2017 */ 'use strict'; let Dummy = (function () { let instance = null; return function Singleton() { if (instance) { return instance; } if (new.target) { instance = this; } else { ...
/*eslint no-console:0 */ 'use strict'; const webpack = require('webpack'); var express = require('express') var rewrite = require('express-urlrewrite') const webpackDevMiddleware = require('webpack-dev-middleware'); const webpackHotMiddleware = require('webpack-hot-middleware'); const config = require('./webpack.con...
// This is an example of one possible way to make a reusable component (or 'plugin'), consisting of: // * A view model class, which gives a way to configure the component and to interact with it (e.g., by exposing currentPageIndex as an observable, external code can change the page index) // * A custom binding (ko.bi...
function solve(fooods,commands){ let meals=[]; let eatenCount=0; for (let meal of fooods) { meals.push(meal) } for (let command of commands) { if(command==='Serve' && meals.length>0){ console.log(`${meals[meals.length-1]} served!`); meals.pop(); } ...
var numberSubs = [ ['o', '0'], ['i', '1'], ['l', '1'], ['s', '5'], ['g', '9'], ['a', '4'], ['b', '8'], ['t', '7'], ['e', '3'] ]; var symbolSubs = [ ['a', '@'], ['s', '$'], ['c', '('], ['t', '+'], ['i', '!'], ['l', '|'], ['d', '|)'], ['m', '^^'], ['k', '|<'], ['w', '\^/'], ['v', '\/'], ['x', '><'], ['n', '/\/'], ['o', '...
"use strict"; var resource = require('express-resource') , express = require('express') , util = require('./lib/util') , conf = require('./lib/conf') , middleware = require('./lib/middleware') , templates = require('./lib/templates.js') , models = require('./lib/models') , resources = require('./lib/reso...
/** * @fileoverview Rule to flag use constant conditions * @author Christian Schulz <http://rndm.de> * @copyright 2014 Christian Schulz. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //-------------------------------------...
'use strict'; import React, { Component, PropTypes, } from 'react'; import { Animated, PanResponder, Platform, StyleSheet, TouchableOpacity, View } from 'react-native'; const DIRECTIONAL_DISTANCE_CHANGE_THRESHOLD = 2; function elastic(value, elasticity = 30) { return elasticity * Math.log(value + elasticity)...
module.exports = { dist: { options: { sourceMap: false, outputStyle: 'compressed' }, files: [{ expand: true, src: [ 'src/scss/entry.scss' ], dest: '.tmp', ext: '.css' }] } };
export const colors = { primary: '#2196F3', primaryDark: '#1976D2', primarySuperDark: '#104c85', primaryLight: '#BBDEFB', primarySuperLight: '#f0f8ff', icon: '#FFFFFF', accent: '#FFC107', divider: '#BDBDBD', text: '#212121', textLight: '#757575', };
// Expose modules in ./support for demo purposes require.paths.unshift(__dirname + '/../../support'); /** * Module dependencies. */ var express = require('../../lib/express'); var app = express.createServer(); app.get('/', function(req, res){ // Caught and passed down to the errorHandler middleware throw new...
window.jsonPayload = { "registration" : { "activationMachineInfo" : { "lockingDetail" : [], "customProperty" : [], "machineID" : null, "machineName" : "%22%7d%3bprompt%28%29%3b%7b%0a%0d%2f%2fwhscheck", "statusCode" : null, "server1" : n...
Extrovert = { version: '0.1.0' }
var currentUser = new User(); var currentUserData = [5, 80, 5]; var currentUserTwo = [3,90,5]; var waterLocation = document.getElementById('water-location'); var proteinLocation = document.getElementById('protein-location'); var exerciseLocation = document.getElementById('exercise-location'); var waterChart; var protei...
'use strict' const fs = require('fs') const path = require('path') const findUp = require('find-up') const stripJSONComments = require('strip-json-comments') let config = {} const configSources = ['package.json', '.rtlcssrc', '.rtlcss.json'] const environments = [ process.env.USERPROFILE, process.env.HOMEPATH, ...
import { GraphQLNonNull } from 'graphql'; import StatementInputType from '../types/StatementInputType'; import StatementType from '../types/StatementDLType'; import Statement from '../models/Statement'; const createStatement = { type: new GraphQLNonNull(StatementType), args: { statement: { type: Statemen...
/** * Copyright (c) 2012 Andreas Madsen * MIT License */ (function () { "use strict"; var util = require('util'); var fs = require('fs'); var path = require('path'); var equilibrium = require('equilibrium'); var immortal = require('./module.js'); var helpers = require('./helpers.js'); var streams ...
(function (global) { var map = { 'app': 'app', // 'dist', '@angular': 'libs/@angular', 'angular2-in-memory-web-api': 'libs/angular2-in-memory-web-api', 'rxjs': 'libs/rxjs', 'angular2-local-storage': 'libs/angular2-local-storage', 'socket.io-client': 'libs/socket.io-c...
import angular from 'angular'; import layoutComponent from './explorer-layout.component'; import headerComponent from './header/explorer-header.component'; import pivotBarComponent from './pivot-bar/explorer-pivot-bar.component'; import contextPanelComponent from './context-panel/explorer-context-panel.component'; impo...
/** * @auther AnnatarHe * @email iamhele1994@gmail.com * @date 25/01/2017 */ import { ARTICLES_FETCHED_SUCCESSFULLY, TRENDING_FETCHED_SUCCESS, ONE_ARTICLE_FETCHED } from './constants' const initial = { articles: [], article: {}, trendings: [] } const newsReducer = (state = initial, action...
/* * jQueryFileTree Plugin * * @author - Cory S.N. LaViska - A Beautiful Site (http://abeautifulsite.net/) - 24 March 2008 * @author - Dave Rogers - (https://github.com/daverogers/) * * Usage: $('.fileTreeDemo').fileTree({ options }, callback ) * * TERMS OF USE * * This plugin is dual-licensed unde...
import CreateActions from '../../utils/ActionsConstructor'; export default CreateActions( { fetch: {}, setInvitations: {}, fetchInvitations: { asyncResult: true, loading: true, children: ['completed', 'failure'], method: 'Syncano.Actions.AccountInvitations.list' }, acceptI...
const Joi = require('joi'); const util = require('../util/validator'); // payload is a function because we need two clones of payload (for required and optional) const payload = () => ({ id: Joi.string().guid({ version: 'uuidv4' }), name: Joi.string(), shortDescription: Joi.string(), devpostLink: Joi.string()....
function cityOnTheMap() { var mapCanvas = document.getElementById("map"); var mapOptions = { center: new google.maps.LatLng(1, 1), zoom: 12 } var map = new google.maps.Map(mapCanvas, mapOptions); }
import { combineReducers } from 'redux' import detail from './workshopDetail' import difficulties from './workshopDifficulties' import lectors from './lectors' import list from './workshopList' export default combineReducers({ detail, difficulties, lectors, list })
version https://git-lfs.github.com/spec/v1 oid sha256:125e2afdb6ae2ca9259a8a42b38ffd3bb36bf64ad13aee7dcdc7278823464c68 size 20799