aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/concepts.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/concepts.ngdoc')
-rw-r--r--docs/content/guide/concepts.ngdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc
index 5b4c8217..52d75387 100644
--- a/docs/content/guide/concepts.ngdoc
+++ b/docs/content/guide/concepts.ngdoc
@@ -203,7 +203,7 @@ Let's refactor our example and move the currency conversion into a service in an
};
var convert = function (amount, inCurr, outCurr) {
return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
- }
+ };
return {
currencies: currencies,
@@ -331,7 +331,7 @@ The following example shows how this is done with Angular:
var convert = function (amount, inCurr, outCurr) {
return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
- }
+ };
var refresh = function() {
var url = YAHOO_FINANCE_URL_PATTERN.
@@ -344,7 +344,7 @@ The following example shows how this is done with Angular:
});
usdToForeignRates = newUsdToForeignRates;
});
- }
+ };
refresh();