Skip to content

Commit

Permalink
[Fix] Use chaining syntax. Fixes anderslarsson#5
Browse files Browse the repository at this point in the history
  • Loading branch information
szabyg committed May 21, 2015
1 parent cef7d6f commit 69b466e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"main": [
"js/ngPopover.js",
"js/ngPopover.min.js",
"css/ngPopover.css"
],
"license": "MIT",
Expand Down
11 changes: 5 additions & 6 deletions js/ngPopover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var module = angular.module('ngPopover', []);
angular.module('ngPopover', [])

module.provider('ngPopover', function () {
.provider('ngPopover', function () {

var open = false;
var smallScreenBreakpoint = 500;
Expand Down Expand Up @@ -259,10 +259,9 @@ module.provider('ngPopover', function () {
}
}
}]
});
})


module.directive('ngPopover', ['ngPopover', function(ngPopover) {
.directive('ngPopover', ['ngPopover', function(ngPopover) {

return {
restrict: 'A',
Expand All @@ -271,4 +270,4 @@ module.directive('ngPopover', ['ngPopover', function(ngPopover) {
}
}

}]);
}]);
2 changes: 1 addition & 1 deletion js/ngPopover.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69b466e

Please sign in to comment.