diff options
| author | dandoyon | 2011-08-10 20:53:56 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-08-19 01:16:56 -0700 |
| commit | 53a4580d956248cfef84c4d11350a54d27211cf7 (patch) | |
| tree | 9645a2d8e60a3909be657bfe05b09015ea51e96a /src/widgets.js | |
| parent | 4c8eaa1eb05ba98d30ff83f4420d6fcd69045d99 (diff) | |
| download | angular.js-53a4580d956248cfef84c4d11350a54d27211cf7.tar.bz2 | |
doc(sample): Add javascript sandbox integration (jsFiddle)
Change doc_widget.js to:
- render "edit in jsfiddle" button next to all examples
- make opt out certain examples by adding jsfiddle="false" attribute to
doc:source element
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets.js b/src/widgets.js index 8a97f61b..4a2820c9 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -955,7 +955,7 @@ angularWidget('select', function(element){ * * @example <doc:example> - <doc:source> + <doc:source jsfiddle="false"> <select name="url"> <option value="examples/ng-include/template1.html">template1.html</option> <option value="examples/ng-include/template2.html">template2.html</option> @@ -1389,7 +1389,7 @@ angularWidget("@ng:non-bindable", noop); * * @example <doc:example> - <doc:source> + <doc:source jsfiddle="false"> <script> function MyCtrl($route) { $route.when('/overview', |
