Skip to content

Commit 7acb4f9

Browse files
committed
use strict used only in browser/app.js; got rid of misleading socket in factories folder; window.app
1 parent 9d240a9 commit 7acb4f9

File tree

12 files changed

+1
-13
lines changed

12 files changed

+1
-13
lines changed

generated/browser/js/about/about.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.config(function ($stateProvider) {
32

43
// Register our *about* state.

generated/browser/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
var app = angular.module('FullstackGeneratedApp', ['ui.router', 'ui.bootstrap', 'fsaPreBuilt']);
2+
window.app = angular.module('FullstackGeneratedApp', ['ui.router', 'ui.bootstrap', 'fsaPreBuilt']);
33

44
app.config(function ($urlRouterProvider, $locationProvider) {
55
// This turns off hashbang urls (/#about) and changes it to something normal (/about)

generated/browser/js/common/directives/fullstack-logo/fullstack-logo.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.directive('fullstackLogo', function () {
32
return {
43
restrict: 'E',

generated/browser/js/common/directives/navbar/navbar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.directive('navbar', function ($rootScope, AuthService, AUTH_EVENTS, $state) {
32

43
return {

generated/browser/js/common/directives/rando-greeting/rando-greeting.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.directive('randoGreeting', function (RandomGreetings) {
32

43
return {

generated/browser/js/common/factories/RandomGreetings.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.factory('RandomGreetings', function () {
32

43
var getRandomFromArray = function (arr) {

generated/browser/js/common/factories/Socket.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

generated/browser/js/home/home.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.config(function ($stateProvider) {
32
$stateProvider.state('home', {
43
url: '/',

generated/browser/js/tutorial/tutorial-section-menu/tutorial-section-menu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
app.directive('tutorialSectionMenu', function () {
32
return {
43
restrict: 'E',

generated/browser/js/tutorial/tutorial-section/tutorial-section.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
app.directive('tutorialSection', function () {
42
return {
53
restrict: 'E',

0 commit comments

Comments
 (0)