diff options
| author | Igor Minar | 2011-10-14 08:31:00 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-14 08:31:00 -0700 | 
| commit | 669b53ede21d74a7efd05592e7697e473b37e2a0 (patch) | |
| tree | 6238be7d402e2394e3a3dafcaa940e112741e87a /docs/src | |
| parent | b0c3f28e8f541ccf6c25e3fdd3f3cae8c727e067 (diff) | |
| download | angular.js-669b53ede21d74a7efd05592e7697e473b37e2a0.tar.bz2 | |
fix(docs): fix jsfiddle integration
this got accidentally messed up during the forms refactoring and mass renaming
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/templates/doc_widgets.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index f2e2f3fc..1890e93a 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -81,7 +81,7 @@            fiddleSrc = fiddleSrc.replace(new RegExp('^\\s{' + stripIndent + '}', 'gm'), '');            return '<form class="jsfiddle" method="post" action="' + fiddleUrl + '" target="_blank">' + -                    '<textarea ng:model="css">' + +                    '<textarea name="css">' +                        '.ng-invalid { border: 1px solid red; } \n' +                        'body { font-family: Arial,Helvetica,sans-serif; }\n' +                        'body, td, th { font-size: 14px; margin: 0; }\n' + @@ -89,8 +89,8 @@                        'a:link, a:visited, a:hover { color: #5D6DB6; text-decoration: none; }\n' +                        '.error { color: red; }\n' +                      '</textarea>' + -                    '<input type="text" ng:model="title" value="AngularJS Live Example">' + -                    '<textarea ng:model="html">' + +                    '<input type="text" name="title" value="AngularJS Live Example">' + +                    '<textarea name="html">' +                        '<script src="' + angularJsUrl + '" ng:autobind></script>\n\n' +                        '<!-- AngularJS Example Code: -->\n\n' +                        fiddleSrc + | 
