code
stringlengths
2
1.05M
'use strict'; const Log = require('../models/log'); module.exports = (req, res, next) => { //log request to db Log.create({ userAgent: req.headers['user-agent'], route: req.url, verb: req.method }, next); }
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
import React from 'react'; import loadScript from 'load-script2'; import CircularProgress from '@mui/material/CircularProgress'; import InternalCaptcha from './ReCaptcha'; const GRECAPTCHA_API = 'https://www.google.com/recaptcha/api.js'; const onloadCallbackName = 'grecaptchaOnload__$'; const onloadCallbacks = []; fu...
'use strict' var Promise = require('bluebird') var request = require('request') var lodash = require('lodash') var bnw = require('./lib/bnw') var bot = require('./lib/bot') var user = require('./lib/user') var message = require('./lib/message') var utils = require('./lib/utils') var ws = require('./lib/ws') ws('wss:...
require("babel-register"); require.extensions['.css'] = function() { return; }; require.extensions['.sass'] = function() { return; }; require.extensions['.scss'] = function() { return; }; require.extensions['.less'] = function() { return; }; require.extensions['.styl'] = function() { return; }; var path = req...
var marcarAmigo = new Object({ xhr: null, open: function() { // Abre o modal $('#MarcarAmigoModal').modal(); // Adiciona a busca $('#MarcarAmigoModal-search').keyup(function(e) { var active = $('#MarcarAmigoModal-content .list-group-item.active'); var listItems = $('#MarcarAmigoModal...
const co = function (gen, ...args) { const ctx = this; return new Promise((resolve, reject) => { if (typeof gen === 'function') gen = gen.apply(ctx, args); if (!gen || typeof gen.next !== 'function') resolve(gen); onFulfilled(); function onFulfilled(res) { var ret; try { ret...
'use strict' module.exports = { contract: ` contract proxy { struct testStruct { int one; uint two; } } contract intLocal { constructor () public { proxy.testStruct memory p; uint8 ui8 = 130; uint16 ui16 = 456; uint32 ui32 = 4356; uint64 ui64 = 3543543543; ...
var gencall = require("../index"); module.exports = function(router, options) { router.use(gencall.contentTypeOverride); router.call().get("/sample") .formats("json", "txt", "xml", "html") .defaultFormat("json") .process((req, res, next) => { res.respond({ ...
/** * @fileoverview datetime utility module * @author NHN FE Development Lab <dl_javascript@nhn.com> */ 'use strict'; var TZDate = require('./timezone').Date, dw = require('../common/dw'); var util = require('tui-code-snippet'); /* eslint-disable no-useless-escape */ var dateFormatRx = /^(\d{4}[-|\/]*\d{2}[-|\/...
/// <reference path="../typings/tsd.d.ts" /> 'use strict'; var assert = require('assert'); var uuid = require('uuid'); function signIn(config) { assert.equal(typeof config, 'object', 'required argument config must be an object'); config.url = config.url || 'https://www.facebook.com/dialog/oauth'; config.sco...
var webPage = require('webpage'); var system = require('system'); var CryptoJS = require("crypto-js"); var page = webPage.create(); var plain_password = CryptoJS.AES.decrypt(system.env.password,system.env.password_key).toString(CryptoJS.enc.Utf8); /*********CONFIGURATION***********/...
import nlp from '../../shared/nlp' export default nlp
import 'gulp-watch'; import gulp from 'gulp'; import addsrc from 'gulp-add-src'; import babel from 'gulp-babel'; import sass from 'gulp-sass'; import pug from 'gulp-pug'; import mocha from 'gulp-mocha'; gulp.task('build-entry', function () { gulp.src('app.js') .pipe(babel()) .pipe(gulp.dest('build'...
const should = require('should'); const sinon = require('sinon'); const _ = require('lodash'); const match = require('../../../../core/frontend/helpers/match'); const labs = require('../../../../core/shared/labs'); const handlebars = require('../../../../core/frontend/services/theme-engine/engine').handlebars; describ...
(function(define) { define(function(require, exports) { /** Returns the list of class names on a node as an array. @param node {HTMLElement} @returns {Array} */ var addClass, classRx, closeRx, getClassList, getClassSet, innerRx, innerSpacesRx, openRx, outerSpacesRx, removeClass, setClassList,...
Products.module("ProductsApp.List",function(List,Products,Backbone,Mariontte,$,_){ List.ProductItem = Marionette.ItemView.extend({ initialize: function(){ this.listenTo(this.model, "change:discontinued", this.modelChanged); }, template: '#js-product-item-template', tagNa...
import Vue from 'vue'; import VueRouter from 'vue-router'; import NProgress from 'nprogress'; import 'nprogress/nprogress.css' import 'normalize.css/normalize.css' const _import = require('./_import_' + process.env.NODE_ENV); // in development env not use Lazy Loading,because Lazy Loading large page will cause webpack...
var level = require('memdb') var AutoIndex = require('..') var keyReducer = AutoIndex.keyReducer var sub = require('subleveldown') var test = require('tape') test('read streams', function (t) { t.plan(4) var db = level() var index = { title: sub(db, 'title'), len: sub(db, 'length') } var posts = sub...
function Portal(url) { var p = this; this.url = url; this.file = null; this.json = null; this.archive = new DatArchive(this.url); // Resolve "masked" (f.e. hashbase) dat URLs to "hashed" (dat://0123456789abcdef/) one. DatArchive.resolveName(this.url).then(hash => { if (!hash) return; this.dat = "...
/** * LightApp * Services Module * Carlos Paelinck */ import {ParticleService} from './services/particleService'; export default angular.module('lightApp.services', []) .service('ParticleService', ParticleService);
Tinytest.add("should return the cookie value for the given name.", function (test) { document.cookie = '_sea_test_1=1'; document.cookie = '_sea_test_2'; document.cookie = '_sea_test_3='; document.cookie = '_sea_test_4[t]=xx'; test.equal(Cookie.get('_sea_test_1'), '1'); test.equal(Cookie.get('_sea_test_2'),...
module.exports = function (grunt) { // load all grunt tasks require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), copy: { public: { files: [ {expand: true, cwd: 'Res...
'use strict'; angular.module('dictionaryApp') .factory('Sessions', function ($resource) { return $resource('api/account/sessions/:series', {}, { 'getAll': { method: 'GET', isArray: true} }); });
'use strict'; /** * grunt-svg-sprite is a Grunt plugin for creating SVG sprites * * @see https://github.com/jkphl/grunt-svg-sprite * * @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl) * @copyright © 2015 Joschi Kuphal * @license MIT https://raw.github.com/jkphl/grunt-svg-sprite/master/LICENS...
module.exports = function(grunt) { grunt.file.mkdir('mydist'); grunt.registerTask('build', []); };
/** * @flow */ import type { AppActionType, AppAction, AppActionOrThunkAction, AppDispatch, AppState, } from './types'; /** * Create a reducer from an initialState and a set of action handlers. * This is simply a helper function that allows us to avoid writing switch * statements. In addition, this is ...
// // Copyright (c) 2005-2015 InSeven Limited. // // 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, merg...
// @flow /* eslint-env mocha */ // import assert from 'power-assert' // import locale from '.' describe.skip('fil locale', function () { })
// http://tableless.com.br/o-que-nodejs-primeiros-passos-com-node-js/ var http = require('http'); var server = http.createServer(); server.on('request', function(req, res) { res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' }); res.end('<h1> Olá mundo! </h1>'); }); server.listen(3000); console.l...
/** * @ngdoc module * @name material.components.select */ /*************************************************** ### TODO - POST RC1 ### - [ ] Abstract placement logic in $mdSelect service to $mdMenu service ***************************************************/ var SELECT_EDGE_MARGIN = 8; var selectNextId = 0; v...
'use strict'; angular.module('graph') .directive('node', node); function node($compile, $templateCache, $http, appConfig, $rootScope, coreService) { let patternDefinitions = appConfig.svgDefinitions; function NodeCtrl($scope, $element, $document) { this.$onInit = function() { }; } return { restrict: '...
const ModelBase = class ModelBase { WrapAndResolveReject(fn) { // eslint-disable-line class-methods-use-this const dfd = $.Deferred(); const d = fn(dfd); d.done(ModelBase.resolveF(dfd)); d.fail(ModelBase.rejectF(dfd)); return dfd.promise(); } static resolveF(dfd) { return function resolve...
var ModelAPIError = require('../model-api-error'); /** * notSupported - default controller that returns 'Not Supported' message * * @param {express.Request} req the http(s) request * @param {express.Response} res the http(s) response * @param {Function} next the callback sho...
/* eslint-env jest */ /* eslint-disable global-require, import/no-dynamic-require */ import path from 'path'; import prepublish from '../prepublish'; jest.mock('../utils/shell'); jest.mock('../utils/writeSpecs'); const COPY_SPECS = [ 'description', 'keywords', 'author', 'license', 'homepage', 'bugs', '...
var UMaterialApp = angular.module('admUI', [ 'ngAnimate', 'ngMaterial', 'ngRoute', 'ngMessages', 'ngAria', 'ngMaterial', 'oc.lazyLoad', 'ui.bootstrap', 'chieffancypants.loadingBar' ]); UMaterialApp.config(function ($routeProvider, $mdThemingProvider, cfpLoadingBarProvider) { cf...
var express = require('express'); var webpack = require('webpack'); var makeWebpackConfig = require('../src/make-webpack-config.js'); var env = global.MODE || process.env.NODE_ENV; var config = require('../src/utils/config'); if (config.enabled) { var compiler = webpack(makeWebpackConfig(env)); if (env !== 'product...
const {map, switchMap} = require('rxjs') const {loadRecipe$} = require('./recipe') const imageFactory = require('sepal/ee/imageFactory') const recipeRef = ({id}, ...args) => { const recipe$ = loadRecipe$(id).pipe( map(recipe => imageFactory(recipe, ...args)) ) return { getImage$() { ...
const fs = require('fs-extra'); const webpack = require('webpack'); const debug = require('debug')('app:bin:compile'); const webpackConfig = require('../config/webpack.config'); const project = require('../config/project.config'); // Wrapper around webpack to promisify its compiler and supply friendly logging const we...
/* * Generic require login routing middleware */ exports.requiresLogin = function (req, res, next) { if (req.cookies['DomAuthSessId'] != null) return next() res.redirect('/login') }
/** Copyright (c) [2016] [Safal Aryal] 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, distr...
/*! * vue-i18n v9.2.0-alpha.8 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var coreBase = require('@intlify/core-base'); var vue = require('vue'); var shared = require('@intlify/shared'); /** * Vue I18n Version...
//may or may not work //For testing on something other than a pi (vagrant machine, for instance) //doesn't really do anything... just setups the functions so brwry code has something to call. //need setup, write, read, DIR_OUT, destroy var util = require('util'), EventEmitter = require('events').EventEmitter; ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isLength; var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _typeof(obj) { if (typeof Sy...
/** * Main JS file for GhostScroll behaviours */ var $post = $('.post'), $first = $('.post-holder .post').first(), $last = $('.post-holder .post').last(), $fnav = $('.fixed-nav'), $postholder = $('.post-holder'), $postafter = $('.post-after'), $sitehead = $('#site-head'); console.log($first); /*globals jQuery...
'use strict'; var passport = require('passport'), async = require('async'), _ = require('underscore'), CareGiverModel = require('./models/CareGiver.js'), FamilyModel = require('./models/Family.js'), local = require('./auth-strategies/local'); module.exports = function() { passpor...
/** * Copyright 2012-2020, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var wrap = require('../../lib/gup').wrap; module.exports = function calc() { // we don't actually need to i...
import { Context } from 'material-flux' export default class AppContext extends Context { constructor() { super(); // new Action... // new Store... } }
app.controller('qualificationsCtrl', ['$scope', '$http', '$routeParams', '$filter', '$q', 'ngTableParams', 'ngDialog', 'toaster', function($scope, $http, $routeParams, $filter, $q, ngTableParams, ngDialog, toaster) { $scope.qualifications = []; $scope.qualificationsTableParams = new ngTableParams({ pag...
// @flow weak const path = require('path'); const webpack = require('webpack'); const packageJson = require('./package.json'); const packageJsonSrc = require('../package.json'); const excludedDeps = [ 'lodash', 'recompose', 'object-assign', 'material-ui-icons', 'babel-runtime', 'autosuggest-highlight', ];...
import { Gluebert } from './gluebert.bootstrap'; import { ModuleSignature } from './module/module.signature'; import { ElementSignature } from './element/element.signature'; describe(`Gluebert`, () => { const gluebert = new Gluebert([], []); const secondGluebert = new Gluebert( [ new Modu...
/** * Created by nathanaeland on 2/16/2016. */ var sqlite = require('@proplugins/nativescript-sqlite'); var dbName = 'name_db.sqlite'; describe('Database', function () { if (!sqlite.exists(dbName)) { sqlite.copyDatabase(dbName); } new sqlite(dbName, function(err, db) { describe('Connection', funct...
var gulp = require('gulp'); gulp.task('lint', function () { var eslint = require('gulp-eslint'); return gulp.src(['index.js', 'test/*.js', 'gulpfile.js']) .pipe(eslint()) .pipe(eslint.format()) .pipe(eslint.failAfterError()); }); gulp.task('test', function () { var mocha = require(...
import TokenStack from './token_stack'; export function escapeStringForRegex(s) { return s.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&'); } export function makeRegexOrPattern(strings) { if (!strings.length) return ''; if (strings.length === 1) return strings[0]; return strings.reduce(function(previous, current, in...
var express = require('express'); var app = express(); var http = require('http'); var server = http.Server(app); app.use(express.static('client')); var io = require('socket.io')(server); var arr = []; io.on('connection', function(socket){ arr.map(function(item){ socket.emit('arr', item); }); ...
alert(0); if (0) for (;;); alert(false); alert(undefined); alert(null); alert(""); alert(new Foo() || false);
(function() { angular.module('unbOportunidade') .component('vacancyList', { templateUrl: 'static/app/scripts/components/viewsAdmin/candidate/vacancyList.html', controller: VacancyListController }); function VacancyListController($scope, $state, vacanciesService, usersService, store, toaste...
var config = {}; config.HEADLINE_LIMIT = 10; config.NIKKEI = { APP_ID: '35774cdfd163468a8e6e1c59c5649e4d', BASEURL: 'http://dac2.snnm.net:80/api/', PORT: 80 }; module.exports = config;
import React from 'react'; import createReactClass from 'create-react-class'; import Wizard from './Wizard'; export default createReactClass({ render: function() { const { modelName } = this.props; const { schema, fieldMap, actionMap, steps, data, validators, fields,...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['1845',"Tlece.Recruitment.Models.Badges Namespace","topic_0000000000000615.html"],['1867',"BadgesCategoryDto Class","topic_0000000000000616.html"],['1868',"Properties","topic_0000000000000616_props--.html"],['1869',"...
/** * @flow * @relayHash 92373adf26218c819c07d9216d1abb97 */ /* eslint-disable */ 'use strict'; /*:: import type {ConcreteBatch} from 'relay-runtime'; export type UpdatePostMutationVariables = {| input: { description?: ?string; id: string; imageUrl?: ?string; location?: ?string; imageId?: ?s...
/** * Standard library for JavaScript * * @fileoverview */ /** * Avoid closure by creating a dummy function * * @param {Object} object * @param {String} method */ function bind(object, method) { return function () { object[method](); }; } /** * Shortcut prototype-based inheritance * * ...
Namespace.MediaUploader.DragAndDrop = (function(controller) { var dragOverClass = "dragOver"; var View = Backbone.View.extend({ el: controller.getDropZone(), initialize: function() { Namespace.MediaUploader.Helpers.BindAll(this); this.bindEvents(); }, bindEvents: function() { if (Namespace.MediaUp...
eqEd.SquareEmptyContainerFillerWrapper = function(equation) { eqEd.Wrapper.call(this, equation); // call super constructor. this.className = "eqEd.SquareEmptyContainerFillerWrapper"; this.domObj = this.buildDomObj(); this.sideLength = 0.85; // Set up the width calculation var width = 0; ...
export const clickPad = (pad) => { return { type: 'CLICK_PAD', payload: { pad } } } export const startGame = () => { return{ type: 'START_GAME', } } export const reset = () => { return{ type: 'RESET', } }
export const name = "Circle in Square"; export const L = 3; export const E = 5; export const V = 1; export const init = function() { return this .point("A", -1, 1) .point("B", -1, -1) .segment("AB", "A", "B") .perpendicular("line-BC", "AB", "B") .circle("circle-BA", "B", "A"...
/* This is the index file which is loaded first after patterns All declarations are done here */ import '../css/content.css'; import browser from 'webextension-polyfill'; import $ from 'jquery'; // creates global window.Mousetrap import Mousetrap from 'mousetrap'; import 'mousetrap/plugins/global-bind/mousetrap-glo...
/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
/** * Created by Administrator on 2017/4/22. */ $('#hidden_frame').load(function(){ var text=$(this).contents().find("body").text(); // 根据后台返回值处理结果 var result=$.parseJSON(text); // alert(result.success); console.log(result); if(result != null) { if (result.success == false){ ...
'use strict'; var request = require('supertest'); describe('res', function() { before('setup route', function() { sails.get('/response/created', function(req, res) { res.created(); }); }); describe('#created()', function() { it('should respond with 201 Created', function(done) { reques...
import { memoize, every } from 'lodash' import DataLoader from 'dataloader' import { $$rowTable } from '../symbols.js' /** * Creates a resolver for querying a single value. * * The last parameter, `getColumnValues` is a function which gets `source` and * `args` and returns values for each of the second argument’s ...
import { each, until } from 'async'; import Bluebird from 'bluebird'; import bunyan from 'bunyan'; import { Client } from 'kafka-node'; import BrokerNotAvailalableError from 'kafka-node/lib/errors/BrokerNotAvailableError'; import sinon from 'sinon'; import test from 'tape'; import { range } from 'lodash'; import confi...
// Karma configuration // Generated on Thu Dec 25 2014 00:07:22 GMT+0300 (MSK) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
// [`key`, `value`, 'effective_from', 'effective_to', 'remarks'] let sampleData =[ ['monthly-maintenance-fee', '300', '2010-08-01', '2015-12-31', 'flat maintenance fee'], ['monthly-maintenance-fee', '600', '2016-01-01', '2050-12-31', 'revised fee on Saturday 2015-12-15'], ]; let tableName = 'durations'; exports.s...
/* * JavaScript Load Image Meta * https://github.com/blueimp/JavaScript-Load-Image * * Copyright 2013, Sebastian Tschan * https://blueimp.net * * Image meta data handling implementation * based on the help and contribution of * Achim Stöhr. * * Licensed under the MIT license: * https://opensource.org/licens...
import React , {Component} from 'react'; import {connect} from 'react-redux'; import Chart from '../components/chart'; import GoogleMap from '../components/google_map'; class WeatherList extends Component { renderWeather(cityData){ const name = cityData.city.name; const temps = cityData.list.map(we...
(function() { 'use strict'; angular .module('portrack') .config(routeConfig); function routeConfig($routeProvider) { $routeProvider .when('/', { templateUrl: 'app/main/main.html', controller: 'MainController', controllerAs: 'main' }) .otherwise({ red...
'use strict'; var amqp = require('../../../lib'), MockServer = require('../mocks').Server, Builder = require('buffer-builder'), constants = require('../../../lib/constants'), frames = require('../../../lib/frames'), ErrorCondition = require('../../../lib/types/error_condition'), test = require...
/* * retina.js * */ (function () { var root = this; var Retina = root.Retina = {}; var dataServiceURI; var renderer_resources = []; var available_renderers = {}; var loaded_renderers = {}; var widget_resources = []; var available_widgets = {}; var loaded_widgets = ...
"use strict"; var Animation = require("./animation"); function Button(mouse, x, y, sprites, stateChanged) { this.mouse = mouse; this.x = x; this.y = y; this.state = "normal"; this.stateChanged = stateChanged; this.isToggle = false; if (!sprites.normal && sprites.pressDown instanceof Animation) { sprites.nor...
import * as api from '../api'; import { Actions } from '../constants'; import { createAction } from './utils'; import * as alerts from './alerts'; export function clearAll() { api.clearAllPlayed(); return dispatch => { dispatch(alerts.success('All podcasts have been removed from your recently played list')); ...
/** * This file/module contains all configuration for the build process. */ module.exports = { /** * The `build_dir` folder is where our projects are compiled during * development and the `compile_dir` folder is where our app resides once it's * completely built. */ build_dir: 'build', compile_dir: ...
class TodoItem extends HTMLElement { constructor() { super(); this._root = this.attachShadow({ 'mode': 'open' }); this._checked = false; this._text = ''; } connectedCallback() { this._root.innerHTML = ` <style> :host { disp...
import _ from 'lodash'; import Backbone from 'backbone'; import LayoutView from '../../common/layout-view'; import template from './template.hbs'; export default LayoutView.extend({ template: template, className: 'socket-connect hidden-t', ui: { circlesContainer: '.circles-container', timer: '.timer' ...
/** * @overview Stores layout for tara */ import { layout as defaultState } from "./defaults"; import { UPDATE_LAYOUT_CONFIG, UPDATE_LAYOUT_RENDER } from "../actions"; export default (state = defaultState, action) => { switch (action.type) { case UPDATE_LAYOUT_CONFIG: // Should update file here ret...
var mongoose = require('mongoose'); var User = mongoose.model('User'); // Register employee exports.newEmployee = function (req, res) { var name = req.body.name; var email = req.body.email; var birth_date = req.body.birth_date; var department = req.body.department; var gender = req.body.gender; ...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z" /></g> , 'Queue');
import Ember from 'ember'; import RemoteLoggerServiceInitializer from 'dummy/initializers/remote-logger-service'; import { module, test } from 'qunit'; let application; module('Unit | Initializer | remote logger service', { beforeEach() { Ember.run(function() { application = Ember.Application.create(); ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import Text from '../../Text/windows'; import Hidden, { hiddenPropTypes } from '../../style/hidden'; import Dimension, { dimensionPropTypes } from '../../style/dimension'; import Margin, { marginPropTypes } f...
import _ from 'lodash'; import { Record, Map, fromJS } from 'immutable'; import { REQUEST_CONTACT, REQUEST_SAVE_CONTACT, REQUEST_CONTACT_SUCCESS, UPDATE_CONTACT_ATTRIBUTE, VALIDATE_CONTACT, VALIDATE_CONTACT_ATTRIBUTE, RESET_CONTACT, } from '../constants/contact-actions-constants'; import { SET_ERROR_MESSAGE } from ...
'use strict'; // Setting up route angular.module('users').config(['$stateProvider', function ($stateProvider) { // Users state routing $stateProvider .state('settings', { abstract: true, url: '/settings', templateUrl: 'modules/users/client/views/settings/settings.client.view.htm...
module.exports = { name: 'lambda:build', description: 'Builds the package to be deployed to Lambda', run: function(commandOptions) { var BuildTask = require('../tasks/build'); var buildTask = new BuildTask({ ui: this.ui, analytics: this.analytics, project: this.project }); ret...
(function(root, factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { var lastName = root, namespace = 'allColors.ideaColorThemes.wombat'.split('.'); for (v...
import { delegateInit } from './BaseShape'; import { Rectangle } from './Rectangle'; const ENTITY_FIELD_NAME = 'ObjectProperty'; export default delegateInit(Rectangle, ENTITY_FIELD_NAME);
import Ember from 'ember'; const { RSVP, isNone, isEmpty, ObjectProxy, Evented, assign: emberAssign, merge, assert, deprecate, set, debug, getOwner } = Ember; const assign = emberAssign || merge; export default ObjectProxy.extend(Evented, { authenticator: null, store: n...
import * as CSS from '../lib/css'; import * as DOM from '../lib/dom'; import cls, { addScrollingClass, removeScrollingClass, } from '../lib/class-names'; import updateGeometry from '../update-geometry'; import { toInt } from '../lib/util'; export default function(i) { bindMouseScrollHandler(i, [ 'containerWi...
/* * DaTtSs: processes_d.js * * (c) Copyright Teleportd Ltd 2013 * * @author: n1t0 * * @log: * 2013-04-25 n1t0 Creation */ 'use strict'; // // ### ProcessesController // Processes controller used by 'processes' directive // angular.module('dattss.directives').controller('ProcessesController', function($s...
/*global describe, it, beforeEach, inject, expect, angular*/ (function () { 'use strict'; beforeEach(module('orders')); describe('OrderFormController Test', function () { var scope, ctrl, auth; beforeEach( inject(function ($rootScope, $controller, OrderService, OrderStatusService, RestaurantService, $auth)...
typeof window !== "undefined" && (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Hls"] = f...