Skip to content

Commit

Permalink
bugfix url global replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Kroeger committed Jan 7, 2015
1 parent 3343ad2 commit 07da7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -176,7 +176,7 @@ define(function(require, exports, module) {

var result = new $.Deferred();
if (url) {
url = url.replace('_','-');
url = url.replace(/_/g,'-');
if (func.class.name) {
url = func.class.name.toLowerCase()+"."+url;
} else {
Expand Down

0 comments on commit 07da7f4

Please sign in to comment.