File: src/packages/common/constants/development.js

Recommend this page to a friend!
  Classes of Alien Fernandez   Seed Sails Angular   src/packages/common/constants/development.js   Download  
File: src/packages/common/constants/development.js
Role: Example script
Content type: text/plain
Description: Example script
Class: Seed Sails Angular
Full stack framework based on Sails, Node, Angular
Author: By
Last change: Update of src/packages/common/constants/development.js
Date: 2 years ago
Size: 704 bytes
 

Contents

Class file image Download
import commonModule from '../commonModule'; import Constant from '../components/core/Constant'; var devConstants = { app: { title: 'SAILS.ES6', description: 'Full-Stack JavaScript with Sails Frameworks', keywords: 'Sails.js, AngularJS, Node.js, React.js, Redis' }, port: 1337, server: 'http://localhost', local_store: { prefix: 'app_storage', type: { local_storage: 'localStorage', session_storage: 'sessionStorage' } }, xmpp: { "domain": "localhost", "boshHttpService": "http://localhost/http-bind/" } } const appDevConstant = new Constant(devConstants); commonModule.constant('$appConstants', appDevConstant); export default commonModule;