diff --git a/developer_manual/app/general/codingguidelines.rst b/developer_manual/app/general/codingguidelines.rst index e4d9ad643..f96d8806b 100644 --- a/developer_manual/app/general/codingguidelines.rst +++ b/developer_manual/app/general/codingguidelines.rst @@ -170,7 +170,7 @@ In general take a look at `JSLint `_ without th // set up namespace for sharing across multiple files var MyApp = MyApp || {}; - (function(window, $, exports) { + (function(window, $, exports, undefined) { 'use strict'; // if this function or object should be global, attach it to the namespace