From 06dda72e06ab83f55f2cc9836ae0b8afe5a95367 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 3 Nov 2014 14:50:51 +0100 Subject: [PATCH] add vendorScript and vendorStyle usage * see owncloud/core#11916 --- developer_manual/app/css.rst | 5 ++++- developer_manual/app/js.rst | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/developer_manual/app/css.rst b/developer_manual/app/css.rst index a0f3d08e9..54887b2f4 100644 --- a/developer_manual/app/css.rst +++ b/developer_manual/app/css.rst @@ -14,7 +14,10 @@ The CSS files reside in the **css/** folder and should be included in the templa // include multiple files for the same app style('myapp', array('style', 'navigation')); // adds js/style.css, js/navigation.css - + + // include vendor file (also allows vendor syntax) + vendorStyle('myapp', 'style'); // adds vendor/style.css + Web Components go into the **component/** folder and can be imported like this: .. code-block:: php diff --git a/developer_manual/app/js.rst b/developer_manual/app/js.rst index 731ea26a7..24d62e8b8 100644 --- a/developer_manual/app/js.rst +++ b/developer_manual/app/js.rst @@ -15,6 +15,9 @@ The JavaScript files reside in the **js/** folder and should be included in the // add multiple files in the same app script('myapp', array('script', 'navigation')); // adds js/script.js js/navigation.js + // add vendor files (also allows the array syntax) + vendorScript('myapp', 'script'); // adds vendor/script.js + The recommended JavaScript framework to use is `AngularJS `_. A nice tutorial screencast collection can be found on `Egghead.io `_ Sending the CSRF token