summaryrefslogtreecommitdiffstats
path: root/docs/plugins.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/plugins.rst')
-rw-r--r--docs/plugins.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/plugins.rst b/docs/plugins.rst
index 5688f2e3e..53a627acb 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -95,7 +95,8 @@ Inside your script you have to make sure that the News app is active. You can do
.. code-block:: js
(function ($, window, undefined) {
-
+ 'use strict';
+
var document = window.document;
$(document).ready(function () {