Skip to content

Conversation

@dalemanthei
Copy link

Should be no change to functions or code.

Favor function declaration over function expression. https://github.com/johnpapa/angular-styleguide#style-y034

All functions are exposed on the scope bindable elements but if any of them are purely internal they should, be removed from the scope.

Wrapped with iffe https://github.com/johnpapa/angular-styleguide#style-y010

Coded the injector directly. The real ideal would be a build step that leverages the gulp-ng-annotate plugin to add the injector statement at build time. I took a quick look but didn't see a step to wire it to so manually wrote the inject. https://github.com/johnpapa/angular-styleguide#style-y091

dalelotts added a commit that referenced this pull request Nov 20, 2015
chore(demo-controller): Update demo-controller to use papa above the fold style.

* Favor function declaration over function expression. https://github.com/johnpapa/angular-styleguide#style-y034
* All functions are exposed on the scope bindable elements but if any of them are purely internal they should, be removed from the scope.
* Wrapped with iffe https://github.com/johnpapa/angular-styleguide#style-y010
* Coded the injector directly. The real ideal would be a build step that leverages the gulp-ng-annotate plugin to add the injector statement at build time. I took a quick look but didn't see a step to wire it to so manually wrote the inject. https://github.com/johnpapa/angular-styleguide#style-y091
@dalelotts dalelotts merged commit 73c0075 into dalelotts:develop Nov 20, 2015
dalelotts added a commit that referenced this pull request Nov 20, 2015
… the fold style.

Merge pull request #246 from dalemanthei/develop
* Favor function declaration over function expression. https://github.com/johnpapa/angular-styleguide#style-y034
* All functions are exposed on the scope bindable elements but if any of them are purely internal they should, be removed from the scope.
* Wrapped with iffe https://github.com/johnpapa/angular-styleguide#style-y010
* Coded the injector directly. The real ideal would be a build step that leverages the gulp-ng-annotate plugin to add the injector statement at build time. I took a quick look but didn't see a step to wire it to so manually wrote the inject. https://github.com/johnpapa/angular-styleguide#style-y091
dalelotts added a commit that referenced this pull request Nov 20, 2015
… the fold style.

Merge pull request #246 from dalemanthei/develop
* Favor function declaration over function expression. https://github.com/johnpapa/angular-styleguide#style-y034
* All functions are exposed on the scope bindable elements but if any of them are purely internal they should, be removed from the scope.
* Wrapped with iffe https://github.com/johnpapa/angular-styleguide#style-y010
* Coded the injector directly. The real ideal would be a build step that leverages the gulp-ng-annotate plugin to add the injector statement at build time. I took a quick look but didn't see a step to wire it to so manually wrote the inject. https://github.com/johnpapa/angular-styleguide#style-y091
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.

2 participants