mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 08:00:23 +00:00
keep #autobind for backward compatibility
This commit is contained in:
parent
03aac8b0ab
commit
af1eb6914e
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ function angularJsConfig(document, config) {
|
|||
match = (scripts[j].src || "").match(filename);
|
||||
if (match) {
|
||||
config.base_url = match[1] + '/';
|
||||
extend(match, config, toKeyValue(match[5]));
|
||||
extend(config, parseKeyValue(match[5]));
|
||||
eachAttribute(jqLite(scripts[j]), function(value, name){
|
||||
if (/^ng:/.exec(name)) {
|
||||
name = name.substring(3).replace(/-/g, '_');
|
||||
|
|
|
|||
Loading…
Reference in a new issue