aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/window.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-07 20:34:04 +0000
committerPeter Bacon Darwin2014-02-16 19:03:40 +0000
commit1192ae44f1d7f944719520f235e9f2ec895bdfd5 (patch)
tree4d4f06b9448731e2b34ddd2441a0a13dccfc8301 /src/ng/window.js
parentf7c8bcb329eb77b153cd91fcf35c5874a6f9a4b3 (diff)
downloadangular.js-1192ae44f1d7f944719520f235e9f2ec895bdfd5.tar.bz2
docs(bike-shed-migration): convert <doc:...> examples to <example>...
Diffstat (limited to 'src/ng/window.js')
-rw-r--r--src/ng/window.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/window.js b/src/ng/window.js
index 94f8b884..e1928a88 100644
--- a/src/ng/window.js
+++ b/src/ng/window.js
@@ -16,8 +16,8 @@
* expression.
*
* @example
- <doc:example>
- <doc:source>
+ <example>
+ <file name="index.html">
<script>
function Ctrl($scope, $window) {
$scope.greeting = 'Hello, World!';
@@ -30,15 +30,15 @@
<input type="text" ng-model="greeting" />
<button ng-click="doGreeting(greeting)">ALERT</button>
</div>
- </doc:source>
- <doc:protractor>
+ </file>
+ </file name="protractor.js" type="protractor">
it('should display the greeting in the input box', function() {
element(by.model('greeting')).sendKeys('Hello, E2E Tests');
// If we click the button it will block the test runner
// element(':button').click();
});
- </doc:protractor>
- </doc:example>
+ </file>
+ </example>
*/
function $WindowProvider(){
this.$get = valueFn(window);