code
stringlengths
2
1.05M
'use strict'; angular.module('seniorprojectYoApp') .factory('Auth', function Auth($location, $rootScope, $http, User, $cookieStore, $q) { var currentUser = {}; if($cookieStore.get('token')) { currentUser = User.get(); } return { /** * Authenticate user and save token * ...
/* Default list, single, and total resolvers */ export const getDefaultResolvers = collectionName => ({ // resolver for returning a list of documents based on a set of query terms list: { name: `${collectionName}List`, resolver(root, {terms}, context, info) { // get currentUser and Users colle...
var Service = require('../lib/service.js'); function RDS(aws, bot, channel){ var rds = {} var namespace = 'RDS'; var period = 300; var dimension = 'DBInstanceIdentifier'; var aws = aws var bot = bot var channel = channel var supported_metrics = ['cpuutilization', ...
var commonConfig = require('../../common/common.js'); module.exports = { options: { startTag: '// STYLES', endTag: '// STYLES END', fileTmpl: 'link(rel="stylesheet", href="%s")', appRoot: '.tmp/public' }, files: { 'views/**/*.jade': commonConfig.cssFilesToInject } };
import React, { PropTypes } from 'react'; import EventItem from "./EventItem"; import '../../../styles/animal-list.scss'; import _ from 'lodash'; import SpinnerComponent from '../../common/SpinnerComponent'; const EventList = ({ events, infoEvent, onClick, selectedEventId, showViewMore, onClickViewMore, loading, loadi...
//Lets start by getting our current location but first one page load $(document).ready(function() { //Store apiKey in a variable for easy access var apkey = "71a4c4be45a99d4a901ff5a062aff5a3"; if (navigator.geolocation) {//Start retrieving location from built in navigator navigator.geolocation.getCurrentPo...
try { var socket = io.connect('http://localhost:3000/'); } catch(e) { console.log("Error: Cannot connect to server."); } $(document).ready(function() { var config = { apiKey: '../database', authDomain: 'gorush-7d34c.firebaseapp.com', databaseURL: 'https://gorush-7d34c.firebaseio.com', ...
/* * Author: Alexandre Havrileck (Oxyno-zeta) * Date: 13/09/16 * Licence: See Readme */ (function () { 'use strict'; angular .module('crash-reporter.technical.service') .factory('registerService', registerService); /** @ngInject */ function registerService(registerDao) { va...
/** * 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'; module.exports = { percent: function(size, total) { var nMax = size.length; var norm = 100...
//recursively decrease the length of all the parent phrases const shrinkAll = function (doc, id, deleteLength, after) { let arr = doc.parents() arr.push(doc) arr.forEach(d => { //find our phrase to shrink let phrase = d.list.find(p => p.hasId(id)) if (!phrase) { return } phrase.length -...
$(document).ready(function(){ $("#add").click(function(){ var input = $("input[name=info]").val(); var a = $("ol").prepend("<li class='ds'>"+input+"</li>"); }); $("input[name=info]").keyup(function(event){ if(event.keyCode == 13){ $("#add").click(); } }); $...
'use strict'; var GitHubApi = require('github'); var github = new GitHubApi(); github.users.getForUser({ username: 'igorklopov' }, function (error, res) { if (error) return; if (res.data.name === 'Igor Klopov') { console.log('ok'); } });
/** * Casting plugin initialization script * * Copyright (C) 2010-2011 Nikolay Nemshilov */ RightJS.Casting = { version: '2.2.0' }; include_module_files('casting');
import { AppRegistry, } from 'react-native'; import Root from 'Root'; AppRegistry.registerComponent('pwdsaver_app', () => Root);
import "./extensions/RegExp"; import "./extensions/Math"; import "./extensions/Object"; import "./extensions/Array"; import "./extensions/Storage"; import "./extensions/Node"; import "./extensions/Element"; import "./extensions/Document"; import "./extensions/Window"; import { isDefined, isBoolean, isNumber, isS...
// TODO: remove once we don't need to setstate in componentDidMount /* eslint-disable */ /** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root di...
version https://git-lfs.github.com/spec/v1 oid sha256:54cfd2c18dd589b92ecf00119e3d58bb43f33f12737959334d34fa15056c400f size 11204
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
'use strict' module.exports = Object.freeze({ beforeValidate (user, options) { // console.log(`[hook] beforeValidate called: ${JSON.stringify(user)}`) }, afterValidate (user, options) { // console.log(`[hook] afterValidate called: ${JSON.stringify(user)}`) }, beforeCreate (user, options) { // con...
version https://git-lfs.github.com/spec/v1 oid sha256:4d9384871053770857778b59f0b8b981febe356196d59acab7e098d43448eae0 size 86
import * as Constants from '../common/constants'; const matches = type => (token = { type: null }) => { return token.type === type; }; const matchesOf = types => (token = { type: null }) => { return types[token.type] !== undefined; }; const ensure = (matcher, expected) => (token = { type: null }) => { if...
'use strict'; angular.module('magacin', []) .controller('magacinNewCtrl', function ($scope, $routeParams, $modal, $log, $location, $route, $modalInstance ) { $scope.ok = function () { $modalInstance.close({'selectedMagacin':$scope.selectedMagacin, 'action':'save'}); }; $scope.cancel = function () { ...
search_result['510']=["topic_00000000000000F9.html","CustomRegistrationHandler.ProcessUserBeforeCreate Method",""];
version https://git-lfs.github.com/spec/v1 oid sha256:e8491250426152aec0cf65b10376085418bb3343ad54fac8e58a75184d4d7709 size 76502
var sass = require('gulp-sass'); var autoprefixer = require('gulp-autoprefixer'); module.exports = function(gulp, callback) { return gulp.src(config.source.sass+'/pages/**/*.scss') .pipe(sass().on('error', sass.logError)) .pipe(autoprefixer({ browsers: config.autoprefixerBrowsers, cascade:...
import circularBuffer from './circular-buffer'; import { BufferFullError, BufferEmptyError } from './circular-buffer'; describe('CircularBuffer', () => { test('reading an empty buffer throws a BufferEmptyError', () => { const buffer = circularBuffer(1); expect(() => buffer.read()).toThrow(BufferEmptyError); ...
'use strict'; module.exports = { client: { lib: { css: [ 'public/lib/bootstrap/dist/css/bootstrap.css', 'public/lib/bootstrap/dist/css/bootstrap-theme.css', 'public/lib/leaflet/dist/leaflet.css', 'public/lib/leaflet-fullscreen/dist/leaflet.fullscreen.css', 'public/li...
(function () { 'use strict'; angular.module('app', [ 'app.core', 'app.services', 'app.pages' ]); })();
'use strict' var app = angular.module('hackathonApp', ['ngResource', 'ngRoute']); app.constant('serviceUrl', ''); app.constant('googleAuthenticationToken', '903626929312-0v5480i71kbj2h1un88so0allu5omb50.apps.googleusercontent.com'); app.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locatio...
/* eslint camelcase: 0 */ const Q = require('q') const winston = require('winston') const companyRepository = require('../repositorys/companyrepository') const contactRepository = require('../repositorys/contactrepository') const metadataRepository = require('../repositorys/metadatarepository') const interactionReposit...
import React, { Component } from 'react'; import { Container, Label, Menu, } from 'semantic-ui-react' import { BrowserRouter as Router, NavLink, Route, } from 'react-router-dom' import './App.css'; import SuggestTweets from './SuggestTweets.js'; import Settings from './Settings.js'; import XHR from './xhr.j...
var fs = require('fs'), _fetched = false, _default = process.cwd().replace(/\\/g,'/').replace(/(\/node_modules.+)/g,'')+'/.paprika/tasks', _location = ((paprika && paprika.location) ? paprika.location().local.tasks : _default), _tasks = []; function local() { if(!_fetched) local.fetch(); r...
module.exports = { semi: true, singleQuote: true, trailingComma: 'none', arrowParens: 'avoid', endOfLine: 'auto' };
import { createWriteStream, mkdirSync } from 'fs'; import request from 'request-promise'; /* let versions = [ "2.3.6186.29817", "2.3.6191.27000", "2.3.6193.28964", "2.3.6199.24053", "2.3.6200.19361", "2.3.6200.22540", "2.3.6200.24538", "2.3.6222.26119", "2.3.6246.22924"...
/*! * Bootstrap's Gruntfile * http://getbootstrap.com * Copyright 2013-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ module.exports = function (grunt) { 'use strict'; // Force use of Unix newlines grunt.util.linefeed = '\n'; RegExp.quote = function (s...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var _inherits2 = _interopReq...
version https://git-lfs.github.com/spec/v1 oid sha256:83e807f428b67aabc1057b4de5143fbcd7bf060ec574041f2198ab7ccb050f57 size 2651
//from angular-app //excluded, because conflict with angular-ui.bootstrap.dialog (hide modal dialog from bootstrap with incorrect settings display: none) /* angular.module('core').directive('modal', ['$parse',function($parse) { var backdropEl; var body = angular.element(document.getElementsByTagName('body')[0]); ...
import { assert } from 'chai'; import combinationSum from '../combination-sum'; const sorter = (a, b) => { if (a.length === b.length) { return a.toString().localeCompare(b.toString()); } return a.length - b.length; }; describe('Combination Sum', () => { const testCases = [[[2, 3, 6, 7], 7, [[7], [2, 2, 3]...
// Copyright 2016-2021, University of Colorado Boulder /** * Canvas drawable for Image nodes. * * @author Jonathan Olson <jonathan.olson@colorado.edu> */ import Poolable from '../../../../phet-core/js/Poolable.js'; import { scenery, Imageable, CanvasSelfDrawable } from '../../imports.js'; class ImageCanvasDrawab...
// Currently not working... 2015-06-06 (function ($) { videojs("timelapse_player").ready(function () { var player = this; // Events of note var pipeOut = 2 * 60 + 27; var malnutrition = 2 * 60 + 45; $("#leakage").on("click", function () { player.currentTime(pipeOut); player.play(); ...
search_result['3821']=["topic_0000000000000923_props--.html","VacancyVm Properties",""];
const lang = { contact: '聯絡方式', experience: '經歷', education: '學歷', skills: '技能專長', projects: '專案', contributions: '貢獻', about: '自我介紹' }; export default lang;
var connect = require('connect'), serveStatic = require('serve-static'); var server = connect(); server.use(serveStatic('./')); server.listen(8080);
import Firebase from 'firebase'; export default class _Firebase { constructor(store, path) { this.ref = new Firebase(`https://surgeclub.firebaseio.com`); this.path = path; return this; // this.ref.child(this.path).on('child_added', (snapshot) => { // // }); // // this.ref.child(this...
'use strict'; /** * @ngdoc overview * @description * * Main module of the application. */ angular .module('meetUApp', [ 'ngRoute', 'ngFileUpload', 'ngImgCrop' ]) .config(function ($routeProvider) { // $sceProvider.enabled(false); $routeProvider .when('/', { templateUrl: '/s...
var scan = require('..'); console.time('ports scan'); scan.port({ host: 'github.com', start: 1, end: 1000, timeout: 2000, queue: 1000 }) .on('open', function(port) { console.log('found port open', port); }) .on('end', function(port) { console.time...
import React from 'react'; import { assert } from 'chai'; import { createMount } from '@material-ui/core/test-utils'; import { Input } from '@material-ui/core'; import { isMuiElement } from '@material-ui/core/utils/reactHelpers'; import PropTypes from 'prop-types'; import withTheme from './withTheme'; import ThemeProvi...
App.View.prototype.secondDepth.secondProperty = function (test) { 'use strict'; return !!test; };
define( [ 'MessageBus', 'BaseView', 'app/domain/DocumentModel', 'text!app/widgets/documentDetailView/DocumentDetailEditTemplate.html', 'text!app/widgets/documentDetailView/DocumentDetailROTemplate.html' ], function(MessageBus, BaseView, DocumentModel, editTmpl, roTmpl) { 'use strict'; return Ba...
define(['auth/module'], function (module) { "use strict"; module.registerController('RegisterCtrl', function ($scope, $state,UserService, CommonCode) { $scope.isRegistering = false; $scope.commonCode = CommonCode; $scope.registrationData = {}; $scope.RegisterMember = funct...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const Module = require("../Module"); const Template = require("../Template"); const Parser = require("../Parser"); const acorn = require("acorn"); const escope = require("escope"); const ReplaceSource = re...
var React = require("react"); var cx = React.addons.classSet; var Image = React.createClass({ displayName: 'Image', propTypes: { id: React.PropTypes.number, _id: React.PropTypes.number, imgSrc: React.PropTypes.string, imgThumbnail: React.PropTypes.string, imgCaption: React.PropTypes.string, ...
module.exports = function(grunt) { var sassDir = 'src/Resources/sass/'; var cssDir = 'htdocs/css/'; grunt.initConfig({ compass: { dist: { options: { sassDir: sassDir, cssDir: cssDir, environment: 'production' ...
Template.userEdit.created = function (){ var skills = this.data.profile.skills ? this.data.profile.skills : []; this.skills = new ReactiveVar(skills); this.success = new ReactiveVar(); this.error = new ReactiveVar(); }; Template.userEdit.helpers({ success: function(){ return Template.instance().success.g...
var express = require('express'); var cookieParser = require('cookie-parser'); var google = require('googleapis'); var OAuth2 = google.auth.OAuth2; var app = express(); var meetings = []; var counter=0; var cronofy = require('cronofy'); var options = { client_id: 'MzA5TxBOuqvvDBCRJgM5N6OML-YGF46N', client_secret: ...
module.exports = require("npm:tar@2.2.1/tar.js");
(function() { 'use strict'; // Default DB size is _JUST UNDER_ 5MB, as it's the highest size we can use // without a prompt. // // TODO: Add a way to increase this size programmatically? var DB_SIZE = 4980736; var SERIALIZED_MARKER = '__lfsc__:'; var SERIALIZED_MARKER_LENGTH = SERIALIZE...
// Ionic template App // angular.module is a global place for creating, registering and retrieving Angular modules // 'SimpleRESTIonic' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' angular.module('SimpleRESTIonic', ['ionic', 'b...
'use strict'; import stripJsonComments from 'strip-json-comments'; import Parser from './Parsers/Parser' let parser = new Parser(); export default function MockData(definition, configMock) { let schema = definition.schema; if (!schema) return null; let mock = null; if (configMock.useExamples) { if (c...
module.exports = (function (addEvents) { "use strict"; // Author: Matthew Forrester <matt_at_keyboardwritescode.com> // Copyright: Matthew Forrester // License: MIT/BSD-style var TransitionState = function(initialState) { this._states = {}; this._state = null; this._initialState = initialState; }; TransitionSta...
// # Ghost Configuration // Setup your Ghost install for various environments // Documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; config = { // ### Production // When running Ghost in the wild, use the production environment // Configure your URL and m...
var R = require('..'); var eq = require('./shared/eq'); describe('prop', function() { var fred = {name: 'Fred', age: 23}; it('returns a function that fetches the appropriate property', function() { var nm = R.prop('name'); eq(typeof nm, 'function'); eq(nm(fred), 'Fred'); }); });
app.controller('MainCtrl', [ '$scope', function($scope){ }]);
'use strict'; var PingppResource = require('../PingppResource'); var pingppMethod = PingppResource.method; module.exports = PingppResource.extend({ path: 'charges', includeBasic: [ 'create', 'list', 'retrieve', 'setMetadata', 'getMetadata' ], /** * Charge: Refund methods */ createRefund: pi...
})(window.__lanyoutAsm__ = {});
/* artifact generator: C:\My\wizzi\v4\node_modules\v4-wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\v4\plugins\wizzi-html\src\ittf\lib\artifacts\html\document\gen\main.js.ittf utc time: Wed, 11 Oct 2017 11:41:46 GMT */ 'use strict'; // generated by wizzi.codegen.js.es...
import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import Root from './root'; import { configureStore, history } from './store/configureStore'; import './app.global.scss'; const store = configureStore(); render( <AppContainer> <Root store={store} hist...
"use strict"; var autoprefixer = require('autoprefixer'); var cssnano = require('cssnano'); var gulp = require('gulp'); var gulpLoadPlugins = require('gulp-load-plugins'); var merge = require('merge-stream'); var util = require('gulp-util'); var path_1 = require('path'); var config_1 = require('../../config'); var plug...
import React from 'react'; import toJSON from 'enzyme-to-json'; import { shallow } from 'enzyme'; import snakeCaseKeys from 'snakecase-keys'; import ManageReservationsPincode from '../ManageReservationsPincode'; import reservation from '../../../../../common/data/fixtures/reservation'; import resource from '../../../....
const { nanoid } = require('nanoid') const crypto = require('crypto') const { throwUnauthenticated } = require('./utils') const { setEmail, setPassword } = require('./accounts') const hashInvitation = (apiKey, invitation) => { const hash = crypto.createHash('sha256') hash.update(apiKey) hash.update(invitation) ...
/* global TrelloPowerUp */ var Promise = TrelloPowerUp.Promise; var t = TrelloPowerUp.iframe(); var fruitSelector = document.getElementById('fruit'); var vegetableSelector = document.getElementById('vegetable'); t.render(function(){ return Promise.all([ t.get('board', 'shared', 'fruit'), t.get('...
"use strict" var Readable = require("stream").Readable var util = require("util") var littleEndian = require("is-little-endian") module.exports = writePLY var SUFFIX = littleEndian ? "LE" : "BE" var TYPE_DATA = { "char": [ 1, "writeInt8" ], "uchar": [ 1, "writeUInt8" ], "short": [ 2, "writeInt16" + SUFFIX...
var stealTools = require("steal-tools"); var fs = require('fs-extra'); stealTools.export({ steal: { config: __dirname + "/package.json!npm" }, outputs: { "+cjs": {}, "+amd": {}, "+global-js": {} } }) .then(function() { return new Promise(function(resolve, reject){ fs.copy('src...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
export { default as AutosaveProxy, flushPendingSave, cancelPendingSave, } from './autosave-proxy'; export { default } from './computed-autosave';
app.game = { start: function() { this.entities = new ENGINE.Entities; this.collisions = new ENGINE.Collisions(this.entities); this.collisions.callback = this.collisionHandler.bind(this); this.players = []; this.addPlayer(app.center.x, app.center.y, 0); this.spawnAsteroid(); this.s...
$(function() { var kutility = require('./lib/kutility'); /* you can remove this if you don't want it */ /* Put all ur good stuff in here * * Don't be afraid to use requires() and browserify this sucker. */ });
import chai, { expect } from 'chai' import { spy } from "sinon" import sinonChai from "sinon-chai" import { map, mapIf, mapFrom, mapFromIf } from "src/map" import { update } from "src/update" chai.use(sinonChai) const STATE = { deep: { single: [ 1, 2, 3, 4 ], double: [ 2, 4, 6, 8 ], singleLonger: [ 1, ...
export default (Component) => { if (Component) { if (Component.displayName) return Component.displayName; if (Component.name) return Component.name; } return 'Component'; };
import { createStore, applyMiddleware, compose } from 'redux'; import rootReducer from '../reducers'; import thunk from 'redux-thunk'; import createLogger from 'redux-logger'; const logger = createLogger(); export default function configureStore(initialState) { const store = createStore(rootReducer, initialState, c...
var jsonData = $.ajax({ //aqui va la url del servicio url: "http://localhost:8080/votweet-backend-master/metricasCandidatos/13/aprobacionRegionalPromedio", dataType: "json", async: false }).responseJSON; function procesarArray(json) { var datos = []; for (var i = 0, l = json.length; i < l; i++) { datos.push({ ...
module.exports = [[ '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39...
const express = require('express'); const logger = require('winston'); // const feathers = require('feathers'); const bodyParser = require('body-parser'); // const db = require('feathers-nedb'); // // var app = feathers() // // Configure REST and real-time capabilities // .configure(feathers.rest()) // .configu...
/** * @depend times_in_words.js * @depend util/core.js * @depend call.js * @depend extend.js * @depend match.js * @depend spy.js * @depend stub.js * @depend format.js */ /** * Mock functions. * * @author Christian Johansen (christian@cjohansen.no) * @license BSD * * Copyright (c) 2010-2013 Christian Joha...
var express = require('express'); var exModule = require('./models/module'); var secExModule = require('./models/module-sec'); var app = express(); var port = 8080; var instanceModule = new exModule(); var instanceSecModule = new secExModule() instanceModule.init(); instanceSecModule.init(); app.listen(port, functio...
(function () { 'use strict'; angular.module('OpenSlidesApp.openslides_protocol.site', [ 'OpenSlidesApp.openslides_protocol', 'OpenSlidesApp.openslides_protocol.templatehooks', ]) .config([ 'mainMenuProvider', 'gettext', function (mainMenuProvider, gettext) { mainMenuProvider.register({ ...
import BaseStore from 'stores/BaseStore'; import AlertButtonService from 'services/AlertButtonService'; class AlertButtonStore extends BaseStore { constructor() { super('alertbutton', AlertButtonService); } get buttons() { return this.getUnIndexedData(); } } export default new Aler...
var test = require('unit.js'), Changify = require('../index.js'), mongoose = require('mongoose'), tools = require('../lib/tools'); describe('tools', function() { it('tools.foreach', function() { var obj; test.when('we loop through an object', function() { obj = { a: 7, b: 8, c: 9 }; ...
import * as React from 'react'; import {Items,Item,Table,Code} from 'yrui'; import thead from './thead'; let tbody=[{ key:'title', expr:'code标题', type:'string', values:'-', default:'-', },{ key:'code', expr:'code文本', type:'string', values:'-', default:'-', },{ key:'theme', expr:'主题', type:'st...
/* global Blob */ import Ember from 'ember'; export function createFile(content = ['test'], options = {}) { let { name, type } = options; let file = new Blob(content, {type: type ? type : 'text/plain'}); file.name = name ? name : 'test.txt'; return file; } export function fileUpl...
describe('simple', function () { it('should work', function () { }) })
'use strict'; module.exports = class simpleCode { add(value1, value2) { return value1 + value2; }; };
/** action types **/ export const NAV_OPEN = 'NAV_OPEN'; // dialog export const DIALOG_VISIBLE_CHANGE = 'DIALOG_VISIBLE_CHANGE'; export const DIALOG_CONTENT_CHANGE = 'DIALOG_CONTENT_CHANGE'; export const DIALOG_LOADING_CHANGE = 'DIALOG_LOADING_CHANGE'; export const DIALOG_ERROR_CHANGE = 'DIALOG_ERROR_CHANGE'; // au...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ require('./polyfills'); var CONST = require('./const'); var Extend = require('./utils/object/Extend'); /** * @names...
/** * @license AngularJS v1.3.13 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; /** * @ngdoc module * @name ngRoute * @description * * # ngRoute * * The `ngRoute` module provides routing and deeplinking...
var assert = require('assert'), _ = require('lodash'); describe('Association Interface', function() { describe('n:m association :: .findOne().populate()', function() { ///////////////////////////////////////////////////// // TEST SETUP //////////////////////////////////////////////////// var dr...
var app = require('../server.js'); process.env.dev = true; const port = 8000; const mongoose = require('mongoose'); const POSTINGSURI = "mongodb://localhost/postings"; console.log('URI:', POSTINGSURI); mongoose.connect(POSTINGSURI); //------------------server listen------------------------------ //---------...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Money; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _currency = require('js-money/lib/currency'); var _currency2 = _interopRequireDefault(_currency); var _accounting = require('acco...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="9" cy="12" r="8" /><path d="M17 5.55v.18c0 .37.23.69.57.85C19.6 7.54 21 9.61 21 12s-1.4 4.46-3.43 5.42c-.34.16-.57.47-.57.84v.18c0 .68.71 1.11 1.32.82C21.08 18.01 23 15.23 23 1...