diff options
| author | dandoyon | 2011-08-10 20:53:56 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-08-16 15:15:06 -0700 | 
| commit | 431b748cac1aa530d68e9bb80e7ceabddf18fcd7 (patch) | |
| tree | afb4553540b96e0d1800e000235592b26b1c21fa /src/widgets.js | |
| parent | de34ca0b649b609fcb8d2cab569239bed42e5af8 (diff) | |
| download | angular.js-431b748cac1aa530d68e9bb80e7ceabddf18fcd7.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 30f7256a..16053b08 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -949,7 +949,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> @@ -1375,7 +1375,7 @@ angularWidget("@ng:non-bindable", noop);   *   * @example      <doc:example> -      <doc:source> +      <doc:source jsfiddle="false">           <script>             function MyCtrl($route) {               $route.when('/overview',  | 
