code
stringlengths
2
1.05M
'use strict'; //Comments service used for communicating with the articles REST endpoints angular.module('scrim-finder') .factory('Scrims', //the name of the resource Class ['$resource', function($resource) { return $resource('scrims/:postId', { postId: '@_id', }); } ]);
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
/** * Last updated: 20/04/2016 */ jQuery(document).ready(function ($) { (function () { var logo_url = hocwp.login_logo_url, submit_class = 'btn btn-' + hocwp.logins.button_style; if (hocwp.isImageUrl(logo_url)) { $('.login #login > h1 a').html(hocwp.createImageHTM...
function insideVolume(inputArray) { for (let i = 0; i < inputArray.length; i += 3) { let x = inputArray[i]; let y = inputArray[i + 1]; let z = inputArray[i + 2]; if (x >= 10 && x <= 50 && y >= 20 && y <= 80 && z >= 15 && z <= 50) { console.log('in...
import { connect } from 'react-redux' import { Network } from 'components/Onboarding/Steps' import { setNetwork } from 'reducers/onboarding' const mapStateToProps = state => ({ network: state.onboarding.network, }) const mapDispatchToProps = { setNetwork, } export default connect(mapStateToProps, mapDispatchToPr...
( function( root, factory ) { if ( typeof define === "function" && define.amd ) { define( [ "./chassis" ], factory ); } else if ( typeof exports === "object" ) { module.exports = factory( require( "./chassis" ) ); } else { root.chassis = factory( root.chassis ); } }( this, function( chassis ) { chassis.break...
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const path = require('path'); const {normalizeUrl, docuHash, aliasedSitePath} = require('@docusaurus/utils'); const {generateCookbookPo...
'use strict'; /** * @ngdoc directive * @name multiselectApp.directive:multiSelect * @description * # Angular Multi Select directive */ angular.module('multiselectApp') .directive('multiSelect', function () { return { templateUrl: 'views/directives/multi-select.html', restrict: 'E', replace...
"use strict"; /* ------------------------------------------------------------------- * Require Statements << Keep in alphabetical order >> * ---------------------------------------------------------------- */ var Exceptions = require('./Exceptions'); var ExpressionType = require('./ExpressionType'); var Lexer = requ...
(function () { "use strict"; /* * Optimizations made based on glMatrix by Brandon Jones */ /* * Copyright (c) 2010 Brandon Jones * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages ...
import React from 'react'; import Dropdown from './Dropdown'; import omit from 'lodash-compat/object/omit'; import pick from 'lodash-compat/object/pick'; import Button from './Button'; class DropdownButton extends React.Component { render() { let { bsStyle, bsSize, disabled, className, menuStyle, open } = this....
import React from 'react'; import Navigation from './Navigation'; class App extends React.Component { render() { return ( <div className="app"> <Navigation /> <div className="content-area"> {this.props.children} </div> </div> ); } } export default App;
'use strict'; movieApp.controller('AddMovieController', ['$scope', '$modalInstance', 'favouriteLists', function ($scope, $modalInstance, favouriteLists) { $scope.favouriteLists = favouriteLists; $scope.value = favouriteLists.length > 0 ? favouriteLists[0] : {}; $scope.ok = function () {...
import React, { Component } from 'react'; import { connect } from 'react-apollo'; import { hashHistory } from 'react-router'; import client from 'utils/api-client'; import gql from 'graphql-tag'; import { ReferralInfo, ReferralLink, SendReferralEmail } from '../../components'; import { isValidEmail } from '../../...
const assert = require('assert-plus'); const logger = require('../../logger/logger').logger; const Plate = require('../../model/response/vehicle/plate').Plate; const mapHelper = require('./../../mapHelper'); const carPlateResolver = require('./../../resolver/vehicle/carPlateResolver'); const build = function build(map...
CKEDITOR.plugins.setLang('oembed', 'ca', { title: "Contingut Multimèdia incrustat (Foto, Vídeo, Audio o Contingut Ric)", button: "Multimèdia de llocs externs", pasteUrl: "Pega una URL (tant abreujada com sigui possible) d'un dels llocs suportats (p.e. YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.)....
import { assert } from 'chai'; import { combineReducers } from 'redux'; import { actions, modelReducer, formReducer } from '../src'; describe('model actions', () => { describe('load()', () => { it('should load model values', () => { const reducer = modelReducer('foo'); const actual = reducer({}, act...
'use strict'; const deprecate = require('electron').deprecate; const webFrame = require('electron').webFrame; const remote = require('electron').remote; const ipcRenderer = require('electron').ipcRenderer; const v8Util = process.atomBinding('v8_util'); const guestViewInternal = require('./guest-view-internal'); const...
jest.mock('../../models/meeting.accessors'); jest.mock('../../models/user.accessors'); const { AUTH_REGISTER } = require('../../../common/actionTypes/auth'); const { listener, register } = require('../auth'); const { getActiveGenfors } = require('../../models/meeting.accessors'); const { getAnonymousUser, addAnonymousU...
"use strict"; var formidable = require('formidable'), q = require('q'); module.exports = function(req){ var form = new formidable.IncomingForm(); var d = q.defer(); form.parse(req, function(err, fields, files){ if(err) d.reject(err); else d.resolve(fields, files); }); retur...
(function(angular) { 'use strict'; angular.module('appDirectives').directive('fadeUpWhenReady', ['$document', function ($document) { return { restrict: 'A', compile: function (element, attr) { var hide = { "opacity": attr.opacity || 0, "-webkit-transform": "tra...
'use strict'; var util = require('util'); var net = require('net'); var Connection = require('../Connection'); module.exports = TcpConnection; /** * @constructor * @extends {Connection} * @param {TcpConnection.Options|object} [options] * @event open Alias to the `connect` event of the underlying `net.Socket`. *...
(function () { function showMainPage () { document.getElementById('main').className = 'container'; // remove class 'hide' document.getElementById('loading').className += ' hide'; // add class 'hide' } function showError (message) { document.getElementById('alert-box').innerHTML += '<div class...
var TinyMessenger = function(){ } TinyMessenger.prototype.getMsg = function(customEvent, callback){ var pattern = /(.[^:]+):(\w+)/gi; customEvent.replace(pattern,function(all,dom,domEv){ $(dom).on(domEv,function(){ callback.apply(this,arguments) }) }) this._callba...
/////////////////////////////////////////////////////////////////////////////// // @file : application.js // // @summary : Frontend Application controller // // @version : 0.1 // ...
/* eslint-disable */ console.log('entry1.js');
"use strict"; jest.mock("../../../../src/metrics/rates"); const MetricRate = require("../../../../src/metrics/rates"); const GaugeMetric = require("../../../../src/metrics/types/gauge"); const rateUpdate = jest.fn(); const fakeRate = { update: rateUpdate, rate: 123 }; MetricRate.mockImplementation(() => fakeRate);...
'use strict' var Symbol = require('es6-symbol') var Handler = require('./handler.js') function HandlersCollection () { this.head = new Handler() this.tail = new Handler() this.head.next = this.tail this.tail.prev = this.head this.identifier = Symbol() } HandlersCollection.prototype = { constructor: HandlersCol...
import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { updateProfile } from './profileActions' class ProfileForm extends Component { componentDidUpdate() { if (this.props.error.length == 0) { this.email.value = null this.gender.value = n...
exports.callback = function(){};
var template = require('./template.ejs'); var emitter = require('component-emitter'); var exportsModel = require('georap-models').exports; var mapStateStore = tresdb.stores.mapstate; // Services that can be referenced by a link. // Collect the templates here for simpler code. // Some services require non-WGS84 coordin...
const fs = require("fs"); const run = () => new Promise(resolve => { const results = fs.readFileSync("./results.json", "utf8"); resolve(JSON.parse(results)); }); module.exports = { run };
var constants = require('./constants'); // http://stackoverflow.com/a/18090775/5737211 module.exports = function(mongoose) { var serverSchema = new mongoose.Schema({ _id: String, volume: { type: Number, default: constants.VOLUME } }); var models = { ...
'use strict' const User = require('./user') let Index // use ES6 shorthands: "propertyName: variableName" equals "propertyName" Index = { User } module.exports = Index
angular.module('starter.cameraService', []) .factory('cameraService', function( $q ) { console.log( 'iniciando factory'); return { getPicture: function ( options ) { var q = $q.defer(); navigator.camera.getPicture( function ( result ) { console.log('responde promise'); console.log(result); q.reso...
import React from 'react'; import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card'; import FlatButton from 'material-ui/FlatButton'; import Toggle from 'material-ui/Toggle'; export default class CardExampleControlled extends React.Component { constructor(props) { super(pro...
import Vue from 'vue'; import Vuex from 'vuex'; // import * as actions from './actions'; // import * as getters from './getters'; Vue.use(Vuex); const debug = process.env.NODE_ENV !== 'production'; export default new Vuex.Store({ // actions, // getters, modules: { }, strict: debug, });
'use strict'; var path = require('path'); var chalk = require('chalk'); var AllYourBase = require('../base/AllYourBase'); module.exports = AllYourBase.extend({ constructor: function () { AllYourBase.apply(this, arguments); this.argument('name', { required: true, type: String, desc: 'Name ...
'use strict'; var _ = require('lodash'); var program = require('commander'); var s = require('underscore.string'); var Promise = require('bluebird'); var fs = Promise.promisifyAll(require('fs')); var path = require('path'); var inquirer = require('inquirer'); var chalk = require('chalk'); var shell = require('shelljs'...
import React from 'react' import { Nav, NavItem, Navbar, NavDropdown, MenuItem } from 'react-bootstrap'; const Header = (props) => { const navbarInstance = ( <Navbar collapseOnSelect> <Navbar.Header> <Navbar.Brand> <a href="#">ColorGame</a> <...
const SERVICES = { vanilla({ width, height }) { return `http://www.nicenicejpg.com/${ width }/${ height }`; }, murray({ width, height, color }) { return `http://www.fillmurray.com/${ color ? '' : 'g/' }${ width }/${ height }`; }, kitten({ width, height, color }) { return `https://placekitten.com/$...
// :: {extra: number} let obj = { // :: number A property foo: 10, bar: 20 } // ::- An added property obj.baz = 30
"use strict"; module.exports = function(sequelize, DataTypes) { var vodmenu = sequelize.define('vod_menu', { id: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true, unique: true }, company_id: { ...
/** * jquery.cssalias - A jQuery Plugin to aliasify your CSS properties. */ (function( $ ) { $.fn.cssalias = function( action, name, properties ) { var element = this; //Add a new alias with the properties if(action == "add"){ $.fn.cssalias.aliases[name] = properties; return this; } //Delete ...
'use strict'; module.exports = outerHTML; function outerHTML(node) { var string; if (node.nodeType === 1) { string = ""; string += "<" + node.tagName; var attributes = node.attributes; for (var index = 0; index < attributes.length; index++) { var attribute = attribut...
/* const express = require('express'); const app = express(); // home route app.use(require('./routes/index.js')); // auth step one route app.use(require('./routes/auth_0.js')); // authentication route app.use(require('./routes/auth.js')); // pointer to assets app.use(express.static('assets')); // set server port...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Story = undefined; var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_e...
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('questionnaire-item', 'Unit | Serializer | Questionnaire_Item', { needs: [ 'serializer:questionnaire-item', 'model:coding', 'model:questionnaire-enable-when', 'model:reference', 'model:questionnaire-option', 'model:attachment'...
module.exports = { source: './src', dest: '../public', groups: { js: { front: ['js/dashboard.js'], back: ['js/composer.js'] }, css: { front: ['dashboard.scss', 'default.scss'], back: ['composer.scss'] } } };
// Test insertion of BLOB and CLOB data using memory buffer. // First read the file into buffer and then pass buffer to ibm_db. // Author : bimaljha@in.ibm.com var common = require("./common") , ibmdb = require("../") , assert = require("assert") , fs = require('fs') , cn = common.connectionStr...
import cn from 'classnames'; import events from 'dom-helpers/events'; import css from 'dom-helpers/style'; import getHeight from 'dom-helpers/query/height'; import { transitionDuration, transitionEnd } from 'dom-helpers/transition/properties'; import PropTypes from 'prop-types'; import TransitionGroup from 'react-trans...
// // Copyright (c) 2014 Widget Revolt LLC. 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 rights // to use, ...
var bodyParser = require('body-parser'); var cookieParser = require('cookie-parser'); var express = require('express'); var mongoose = require('mongoose'); var passport = require('passport'); var path = require('path'); var session = require('express-session'); var game = {}; game.app = e...
/* * Kendo UI v2014.2.1008 (http://www.telerik.com/kendo-ui) * Copyright 2014 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 lice...
#!/usr/bin/env node "use strict"; require('./helper') let fs = require('fs').promise let _ = require('underscore') let path = require('path') let argv = require('yargs').argv let rc = argv.R function* ls() { console.log('Executing ls function...') yield re(argv._[0]) } function* re(filepath) { var lsPromises =...
export default { 'video-help-title': 'Video help' };
/* Learning ghost model against the Legacy controller, using 5 iterations of learning and pretrained weights. */ nodeExpansionThreshold = 30; maximumSimulationLength = 100000; pacManModel = new RandomNonRevPacMan(); ghostModel = new NeuralNetworkGhostController(new RouletteMoveSelectionStrategy(), 0, true); tasks = [...
/** * @author Tarek Auel */ /** * @param {object} teaches object of teaching information * @return {object} object for creating nodes */ module.exports = function(teaches) { return { cypher: 'MATCH (d:Docent ' + '{id:' + teaches.idDozent + '}), ' + '(l:Lecture ' + ...
function NameSet() { this.map = Object.create(null); this.names = []; } NameSet.prototype.add = function add(name) { var index = this.map[name]; if (index !== undefined) { return index; } index = this.names.length; this.map[name] = index; this.names[index] = name; }; NameSet.prototype.has = functi...
'use strict'; const express = require('express'); const cors = require('cors'); const dotenv = require('dotenv'); const morgan = require('morgan'); const mongoose = require('mongoose'); const Promise = require('bluebird'); //eslint-disable-line const debug = require('debug')('villans_vs_superheroes:server'); //requi...
const path = require('path'); const webpack = require('webpack'); const postCSSConfig = require('./postcss.config'); const host = 'localhost'; const port = 3000; const customPath = path.join(__dirname, './customPublicPath'); const hotScript = 'webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true'; ...
/** * Schema Definitions * */ import mongoose from 'mongoose'; const ImageSchema = new mongoose.Schema({ originalFilename: {type: String, required: true}, genericFilename: {type: String, required: true}, date: { type: Date, default: Date.now, required: true } }); // Compiles the schema into a model, opening ...
$(document).ready(function(){ var $time = $('#time'); var $btn_edit = $('#toolbtn_edit'); var $btn_preview = $('#toolbtn_preview'); var $btn_cancel = $('#toolbtn_cancel'); var $btn_remove = $('#toolbtn_remove'); var $table = $('#table'); window.commonTools.setDateTimeInput($time);...
"use strict"; define(['test/test-helpers'], function(testHelpers) { var describeIf = testHelpers.describeIf; var it = testHelpers.itWithFreshLog; var originalConsole = window.console; describeIf(testHelpers.isLocalStorageAvailable(), "Local storage persistence tests:", function() { beforeEac...
var stage2 = { width: document.getElementById("container2").offsetWidth, height: document.getElementById("container2").offsetHeight, big_width: 0.3 * document.getElementById("container2").offsetWidth, half_width: 0.5 * document.getElementById("container2").offsetWidth, box_width: 0.1 * document.get...
define({ "api": [ { "type": "post", "url": "/api/authenticate", "title": "Authenticate a Person", "name": "Authenticate_a_Person", "group": "Authentication", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", ...
/* Simple Todo app written using Flux, Backbone and React. https://github.com/srackham/flux-backbone-todo */ 'use strict' import React from 'react' import Flux from 'flux' import Backbone from 'backbone' import getLocalStorageSync from 'backbone-localstorage-sync' /* Dispatcher actions. */ const ADD_TODO = 'ADD_...
// flow-typed signature: 8c99ef9244b92b0a68d98a9495924ba7 // flow-typed version: <<STUB>>/npm-run-all_v4.1.5/flow_v0.108.0 /** * This is an autogenerated libdef stub for: * * 'npm-run-all' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with th...
/* * SimplePubSub from https://github.com/mbenford/ngTagsInput/blob/master/src/util.js * */ 'use strict'; function SimplePubSub() { var events = {}; return { on: function(names, handler) { names.split(' ').forEach(function(name) { if (!events[name]) { e...
// All symbols in the `Buginese` script as per Unicode v6.3.0: [ '\u1A00', '\u1A01', '\u1A02', '\u1A03', '\u1A04', '\u1A05', '\u1A06', '\u1A07', '\u1A08', '\u1A09', '\u1A0A', '\u1A0B', '\u1A0C', '\u1A0D', '\u1A0E', '\u1A0F', '\u1A10', '\u1A11', '\u1A12', '\u1A13', '\u1A14', '\u1A15', '\u1A16', '...
// era-staccato-lib-runner.js // Copyright 2015, 2016 Ross Angle. Released under the MIT License. // // This is the JavaScript code to support running // era-staccato-lib.stc. Most of it comes from // era-staccato-lib-gensym.js. // // See era-staccato.js for more information about what Staccato is. var stcNextGensymI ...
// flow-typed signature: 1b2203a89275f179996a1ba3c998bf14 // flow-typed version: <<STUB>>/eslint-plugin-react_v^7.3.0/flow_v0.55.0 /** * This is an autogenerated libdef stub for: * * 'eslint-plugin-react' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share y...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18 13h-.68l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2H6l-3 3v4c0 1.1.89 2 1.99 2H19c1.1 0 2-.89 2-2v-4l-3-3zm-1-5.05l-4.95 4.95-3.54-3.54 4.95-4.95L17 7.95zm-4.24-5.66L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 ...
/* global require */ 'use strict'; var directives = require('./directives'); directives.createPopup('popup', { template: '<div class="ui-popup"><div ng-transclude></div></div>' });
import * as types from '../constants/credentials-action-types.js'; export function clearCredentials() { return { type: types.CLEAR_CREDENTIALS }; } export function checkCredentials() { return { type: types.CHECK_CREDENTIALS }; } export function checkCredentialsSucess() { return { type: types.CHEC...
import axios from 'axios'; import React from 'react'; import log from 'loglevel'; import ReactMarkdown from 'react-markdown'; import store from '../store'; import { setLoadingMessage, resetLoadingMessage } from '../actions/loading-actions'; import { setErrorMessage } from '../actions/error-message-actions'; const con...
$(function () { $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=world-population-density.json&callback=?', function (data) { // Initiate the chart $('#container').highcharts('Map', { title: { text: 'Set random data' }, lege...
/** * @param {number[]} nums * @return {number} */ const maxSubArray = nums => { // it should be the case that nums.length >= 1 otherwise we won't have a solution at all. let cur = nums[0] /* idea: for any valid index i in nums, let f[i] be maximum sum of subarray ending at i, therefore: f[i] =...
import styles from '../styles.scss'; export const CLASS = { arrow: `.${styles.arrow}`, cross: `.${styles.cross}`, error: `.${styles.error}`, input: `.${styles.input}`, hasError: `.${styles.hasError}`, option: `.${styles.option}`, options: `.${styles.options}`, select: `.${styles.select}`, tag: `.${st...
import React from 'react'; import { Arrow, Hand, Header, Subheader, Wrapper, } from './styled'; import ExternalLink from '../ExternalLink'; import contact from '../../data/contact'; export default class LandingTile extends React.Component { constructor(props) { super(props); this.state = { ...
/* * grunt-hmb * https://github.com/hm8/grunt-hmb * * Copyright (c) 2013 leoxie * Licensed under the MIT license. */ module.exports = function(grunt) { 'use strict'; var fs = require('fs'), path = require('path'); var compile_html = function(src, dist, pkg_enable) { var path_dist = src + dist, ...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('app'));
/*! * tweetParser.js v2.1.1 * Small Javascript Library that parse an element containing a tweet and turn URLS, @user & #hashtags into working urls * License : MIT * author Vincent Loy <vincent.loy1@gmail.com> * http://vincent-loy.fr */ /*global window, document*/ /*jslint regexp: true*/ (function (exports) { ...
'use strict'; const crypto = require('crypto'); const database = require('./../helpers/database'); const uuid = require('uuid'); function random(low, high) { return Math.floor(Math.random() * (high - low + 1) + low); } module.exports = { 'create_action': function (req, res) { if (req.session.id) { ...
"use strict"; exports.up = (knex, Promise) => { return knex.schema.createTable("dailyplans", (table) => { table.increments(); table.date("date").notNullable().defaultTo(knex.fn.now()); table.integer("users_id") .notNullable() .references("id") .inTable("users") .onDelete("CASCADE"...
var Client = require("./client"); var COVERED_RATE_CENTER_PATH = "coveredRateCenters"; module.exports = { list: function(client, query, callback){ if(arguments.length === 2){ callback = query; query = client; client = new Client(); } client.makeRequest("get", COVERED_RATE_CENTER_PATH, q...
import _ from './wrap/lodash' import log from './log' import tdFunction from './function' import imitate from './imitate' import proxy from './object/proxy' const DEFAULT_OPTIONS = { excludeMethods: ['then'] } export default function object (nameOrType, config) { return _.tap(fakeObject(nameOrType, config, argument...
dbm.runTempFunction(function() { var ArrayGenerator = dbm.importClass("dbm.utils.native.array.ArrayGenerator"); var ArrayFunctions = dbm.importClass("dbm.utils.native.array.ArrayFunctions"); var startFunction = function() { console.log("startFunction"); for(var i = 1; i < 129; i++) { var currentArray =...
version https://git-lfs.github.com/spec/v1 oid sha256:106003b7a0e086aced963c6e4d8d89fc2bb89d74fd8bdababc3f02bc068c7eda size 22900
/*! * V4Fire Client Core * https://github.com/V4Fire/Client * * Released under the MIT license * https://github.com/V4Fire/Client/blob/master/LICENSE */ package('i-items');
;defineModule("/page.js", function(require, exports, module){ });
var abp = abp || {}; (function () { /* Application paths *****************************************/ //Current application root path (including virtual directory if exists). abp.appPath = abp.appPath || '/'; abp.pageLoadTime = new Date(); //Converts given path to absolute path using abp.appPath ...
'use strict'; var webpack = require('webpack'); var env = process.env.NODE_ENV; var config = { module: { loaders: [ { test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ }, ] }, output: { library: 'rxr', libraryTarget: 'umd', }, plugins: [ new webpack.optimize.DedupeP...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.extensionsToGlob = exports.ensureGlob = exports.glob = undefined; var _nodentRuntime = require('nodent-runtime'); var _nodentRuntime2 = _interopRequireDefault(_nodentRuntime); var _path = require('path'); var _path2 = _interopRe...
/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=c4133aac17f6d02698b6) * Config saved to config.json and https:...
export default function createApiStageStep(conan, context, done) { if(context.results.restApiId) { const api = new context.libraries.AWS.APIGateway({ region: conan.config.region }); const apiParameters = { restApiId: context.results.restApiId, stageName: context.parameters.name(), stageDescription: c...
import React from 'react' import { IndexLink } from 'react-router' import { SiderContainer } from './containers' import './style.scss' import DuckImage from './assets/logo.jpg' export const AppLayout = ({ children }) => ( <div className='ant-layout-aside'> <aside className='ant-layout-sider'> <div class...
const highlightElement =require('../Basefunctions/highlightelement.js'); var smoke_test_section = function(){ this.visit_page = function(){ browser.get('http://yicuadmin.sia.co.in/login'); console.log('Hello World'); }; this.checkTitle=function(){ var expectedTitle ="yicu"; ...
/** * gig * * Copyright (c) 2013 Insanehong * * Contributors * * Licensed under the MIT license. * https://github.com/insanehong/gig/blob/master/LICENSE */ var path = require('path'), fs = require('fs'), config = require('../../config'), template = require('./template'), colors = require('c...
const cheerio = require('cheerio'); const request = require('request-promise-native'); const buildPromise = require('./buildPromise'); const getBodyAndEncode = require('./getBodyAndEncode'); const validateRequest = require('./validateRequest'); const unmasker = require('./unmaskNumbers'); const makeJar = require('./mak...