aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/guide/compiler.ngdoc2
-rw-r--r--docs/content/guide/concepts.ngdoc6
-rw-r--r--docs/content/guide/directive.ngdoc4
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/guide/compiler.ngdoc b/docs/content/guide/compiler.ngdoc
index d551456a..0a869a10 100644
--- a/docs/content/guide/compiler.ngdoc
+++ b/docs/content/guide/compiler.ngdoc
@@ -108,7 +108,7 @@ Here is a directive which makes any element draggable. Notice the `draggable` at
$document.unbind('mousemove', mousemove);
$document.unbind('mouseup', mouseup);
}
- }
+ };
});
</file>
<file name="index.html">
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();
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc
index 95aae48f..6c81419a 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -791,7 +791,7 @@ element?
$document.unbind('mousemove', mousemove);
$document.unbind('mouseup', mouseup);
}
- }
+ };
});
</file>
<file name="index.html">
@@ -829,7 +829,7 @@ to which tab is active.
};
this.addPane = function(pane) {
- if (panes.length == 0) {
+ if (panes.length === 0) {
$scope.select(pane);
}
panes.push(pane);