Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Balazs separate functions #20

Merged
merged 5 commits into from Feb 15, 2017
Merged

Balazs separate functions #20

merged 5 commits into from Feb 15, 2017

Conversation

bereczb
Copy link
Collaborator

@bereczb bereczb commented Feb 14, 2017

one monster file has been divided into 8 files + app.js

@@ -0,0 +1,41 @@
'use strict';

const konnektApp = angular.module('konnektApp', ['ngRoute']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this creates a new konnektApp module instead of using the existing one, remove the second parameter from the module method

}
});
}]);
// })();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can put this one too in an IIFE

Copy link
Contributor

@hubudibu hubudibu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hubudibu hubudibu merged commit f3a8a52 into master Feb 15, 2017
@hubudibu hubudibu deleted the balazs-separate_functions branch February 15, 2017 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants