Use strict mode for JavaScript

This commit is contained in:
Rouven Weßling
2015-02-12 21:27:03 +01:00
committed by Robert Lord
parent 6062141cce
commit a60fd38cda
3 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ License for the specific language governing permissions and limitations
under the License.
*/
(function (global) {
'use strict';
var languages = [];
global.setupLanguages = setupLanguages;

View File

@@ -1,4 +1,5 @@
(function (global) {
'use strict';
var $global = $(global);
var content, darkBox, searchResults;

View File

@@ -1,4 +1,5 @@
(function (global) {
'use strict';
var closeToc = function() {
$(".tocify-wrapper").removeClass('open');