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

Recommend this page to a friend!
  Classes of Alien Fernandez   Seed Sails Angular   src/packages/common/constants/default.js   Download  
File: src/packages/common/constants/default.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/default.js
Date: 2 years ago
Size: 567 bytes
 

Contents

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