[Pkg-owncloud-commits] [owncloud-doc] 05/12: Update js.rst
David Prévot
taffit at moszumanska.debian.org
Fri Nov 7 11:42:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit 79de1f64abace26bda514c22940744c2d69abdf7
Author: marmuDev <marmuDev at users.noreply.github.com>
Date: Thu Oct 30 21:52:20 2014 +0100
Update js.rst
AngularJS: var app...
missing closing "]" before ").config..."
---
developer_manual/app/js.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/developer_manual/app/js.rst b/developer_manual/app/js.rst
index 63794b9..731ea26 100644
--- a/developer_manual/app/js.rst
+++ b/developer_manual/app/js.rst
@@ -25,7 +25,7 @@ For AngularJS the following lines would need to be added:
.. code-block:: js
- var app = angular.module('MyApp', [).config(['$httpProvider', function($httpProvider) {
+ var app = angular.module('MyApp', []).config(['$httpProvider', function($httpProvider) {
$httpProvider.defaults.headers.common.requesttoken = oc_requesttoken;
}]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list