mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-20 12:21:52 +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);
|
match = (scripts[j].src || "").match(filename);
|
||||||
if (match) {
|
if (match) {
|
||||||
config.base_url = match[1] + '/';
|
config.base_url = match[1] + '/';
|
||||||
extend(match, config, toKeyValue(match[5]));
|
extend(config, parseKeyValue(match[5]));
|
||||||
eachAttribute(jqLite(scripts[j]), function(value, name){
|
eachAttribute(jqLite(scripts[j]), function(value, name){
|
||||||
if (/^ng:/.exec(name)) {
|
if (/^ng:/.exec(name)) {
|
||||||
name = name.substring(3).replace(/-/g, '_');
|
name = name.substring(3).replace(/-/g, '_');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue