Skip to content

Commit

Permalink
Merge pull request #7 from kuhnza/patch-1
Browse files Browse the repository at this point in the history
Inline DI annotation to support minification
  • Loading branch information
lordfriend committed Jun 26, 2014
2 parents 37a2925 + 439dcbb commit f02a889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nya-bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'use strict';

angular.module('nya.bootstrap.select',[])
.directive('nyaSelectpicker', function ($parse) {
.directive('nyaSelectpicker', ['$parse', function ($parse) {

// NG_OPTIONS_REGEXP copy from angular.js select directive
var NG_OPTIONS_REGEXP = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/;
Expand Down Expand Up @@ -204,4 +204,4 @@ angular.module('nya.bootstrap.select',[])

}
};
});
}]);

4 comments on commit f02a889

@kuhnza
Copy link
Contributor

@kuhnza kuhnza commented on f02a889 Jun 26, 2014

Choose a reason for hiding this comment

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

Thanks for the quick turnaround! Would you mind tagging a new version so I can update my bower.json?

@lordfriend
Copy link
Owner Author

Choose a reason for hiding this comment

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

Just wait a minute for travis-ci building passed

@lordfriend
Copy link
Owner Author

Choose a reason for hiding this comment

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

It's all ok

@kuhnza
Copy link
Contributor

@kuhnza kuhnza commented on f02a889 Jun 26, 2014

Choose a reason for hiding this comment

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

Fantastic, I can see it now. Thanks!

Please sign in to comment.