diff options
| author | Vojta Jina | 2011-06-07 23:13:44 +0200 | 
|---|---|---|
| committer | Igor Minar | 2011-06-07 16:11:00 -0700 | 
| commit | e0ee3a0726f43972244e400863a6dcf567f00a0e (patch) | |
| tree | 4da26a12dc0598f5e52c8a61c0c432fd4ed5f7fe /docs/content/tutorial | |
| parent | e670a812fa85dd6a63b0d128815f9c0682ffd177 (diff) | |
| download | angular.js-e0ee3a0726f43972244e400863a6dcf567f00a0e.tar.bz2 | |
Update latest docs content from gdocs
Diffstat (limited to 'docs/content/tutorial')
| -rw-r--r-- | docs/content/tutorial/step_04.ngdoc | 4 | ||||
| -rw-r--r-- | docs/content/tutorial/step_08.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/tutorial/step_10.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/tutorial/step_11.ngdoc | 2 | 
4 files changed, 5 insertions, 5 deletions
| diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc index 7c942c34..39bb3d51 100644 --- a/docs/content/tutorial/step_04.ngdoc +++ b/docs/content/tutorial/step_04.ngdoc @@ -180,7 +180,7 @@ The unit test now verifies that the default ordering property is set.  We used Jasmine's API to extract the controller construction into a `beforeEach` block, which is -shared by all tests in the nearest `describe` block. +shared by all tests in the parent `describe` block.  To run the unit tests, once again execute the `./scripts/test.sh` script and you should see the @@ -205,7 +205,7 @@ __`test/e2e/scenarios.js`:__          function() { -      // let's narrow the dataset to make the test assertions shorter +      // narrow the dataset to make the test assertions shorter        input('query').enter('tablet'); diff --git a/docs/content/tutorial/step_08.ngdoc b/docs/content/tutorial/step_08.ngdoc index c0ba2831..a430387b 100644 --- a/docs/content/tutorial/step_08.ngdoc +++ b/docs/content/tutorial/step_08.ngdoc @@ -111,7 +111,7 @@ our model into the view.  __`app/partials/phone-details.html`:__  <pre> -<img ng:src="{{phone.images}}" class="phone"/> +<img ng:src="{{phone.images[0]}}" class="phone"/>  <h1>{{phone.name}}</h1> diff --git a/docs/content/tutorial/step_10.ngdoc b/docs/content/tutorial/step_10.ngdoc index 3a8dbd38..109f5b77 100644 --- a/docs/content/tutorial/step_10.ngdoc +++ b/docs/content/tutorial/step_10.ngdoc @@ -42,7 +42,7 @@ function PhoneDetailCtrl($xhr) {    $xhr('GET', 'phones/' + self.params.phoneId + '.json', function(code, response) {      self.phone = response; -    self.mainImageUrl = response.images; +    self.mainImageUrl = response.images[0];    }); diff --git a/docs/content/tutorial/step_11.ngdoc b/docs/content/tutorial/step_11.ngdoc index 7a176591..892342b5 100644 --- a/docs/content/tutorial/step_11.ngdoc +++ b/docs/content/tutorial/step_11.ngdoc @@ -102,7 +102,7 @@ function PhoneDetailCtrl(Phone_) {    self.phone = Phone_.get({phoneId: self.params.phoneId}, function(phone) { -    self.mainImageUrl = phone.images; +    self.mainImageUrl = phone.images[0];    }); | 
