Skip to content

Commit

Permalink
... and lowercase it
Browse files Browse the repository at this point in the history
  • Loading branch information
kolber committed Apr 29, 2014
1 parent 3a0dd24 commit a95c00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}(this, function(viewloader,$) {
"use strict";
var dasherize = function(s) {
return s.replace(/([a-z0-9])([A-Z])/g, "$1-$2");
return s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
};
viewloader.execute = function(views, $scope) {
for(var view in views) {
Expand Down

0 comments on commit a95c00d

Please sign in to comment.