mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-06 08:18:50 +02:00
Fixing enviornment issue with new JSHint
This commit is contained in:
26
bower.json
26
bower.json
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "mean",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"angular": "latest",
|
||||
"angular-resource": "latest",
|
||||
"angular-cookies": "latest",
|
||||
"angular-mocks": "latest",
|
||||
"angular-route": "latest",
|
||||
"bootstrap": "2.3.2",
|
||||
"angular-bootstrap": "0.7.0",
|
||||
"angular-ui-utils": "0.0.4"
|
||||
}
|
||||
}
|
||||
"name": "mean",
|
||||
"version": "0.1.2",
|
||||
"dependencies": {
|
||||
"angular": "latest",
|
||||
"angular-resource": "latest",
|
||||
"angular-cookies": "latest",
|
||||
"angular-mocks": "latest",
|
||||
"angular-route": "latest",
|
||||
"bootstrap": "2.3.2",
|
||||
"angular-bootstrap": "0.7.0",
|
||||
"angular-ui-utils": "0.0.4"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mean",
|
||||
"description": "MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"private": false,
|
||||
"author": "Amos Haviv",
|
||||
"repository": {
|
||||
|
||||
@@ -14,9 +14,11 @@ var express = require('express'),
|
||||
*/
|
||||
|
||||
//Load configurations
|
||||
//if test env, load example file
|
||||
var env = process.env.NODE_ENV = process.env.NODE_ENV || 'development',
|
||||
config = require('./config/config'),
|
||||
//Set the node enviornment variable if not set before
|
||||
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
|
||||
|
||||
//Initializing system variables
|
||||
var config = require('./config/config'),
|
||||
auth = require('./config/middlewares/authorization'),
|
||||
mongoose = require('mongoose');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user