Skip to content

Commit

Permalink
Merge pull request seajs#1 from chx007/patch-1
Browse files Browse the repository at this point in the history
Update src/config.js
  • Loading branch information
chx007 committed Sep 27, 2012
2 parents fb4c955 + 90afe2a commit 4899c79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
config.main = dataMain
}

var dataConfigSrc = loaderScript.getAttribute('data-config')
if (dataConfigSrc) {
config.src = dataConfigSrc
}

// The default charset of module file.
config.charset = 'utf-8'
Expand Down

0 comments on commit 4899c79

Please sign in to comment.