This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root = true | |
| [*] | |
| end_of_line = lf | |
| insert_final_newline = true | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var webpack = require('webpack'), | |
| path = require('path'); | |
| module.exports = function(env){ | |
| env = env || {}; | |
| var isProd = env.isProd || false; | |
| var config = { | |
| context: path.resolve("./src"), | |
| entry: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| angular.module('mod').factory('CurrentUser', function($q, $timeout, ApiRequest){ | |
| var _identity = null, | |
| deferred = null; | |
| return { | |
| isAuthenticated: function(){ | |
| return !!_identity; | |
| }, | |
| getIdentity: function(){ | |
| return _identity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var path = require('path'), | |
| webpack = require('webpack'), | |
| ExtractTextPlugin = require("extract-text-webpack-plugin"), | |
| ngAnnotatePlugin = require('ng-annotate-webpack-plugin');; | |
| var isDevMode = process.env.NODE_ENV === 'development'; | |
| var exportObj = { | |
| context: path.join(__dirname, 'frontend'), | |
| entry: { |