diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-02-08 19:03:30 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:24 +0200 |
commit | d53c36684db5ee592b871f518364ae9de03d3e8b (patch) | |
tree | 5c028a43a4ac667679bcbe4f98b503d47b99d981 /phpBB/assets/javascript | |
parent | 628074bf7057ad5f9aff929d7c8cd85171ce60b8 (diff) | |
download | forums-d53c36684db5ee592b871f518364ae9de03d3e8b.tar forums-d53c36684db5ee592b871f518364ae9de03d3e8b.tar.gz forums-d53c36684db5ee592b871f518364ae9de03d3e8b.tar.bz2 forums-d53c36684db5ee592b871f518364ae9de03d3e8b.tar.xz forums-d53c36684db5ee592b871f518364ae9de03d3e8b.zip |
[feature/ajax] JavaScript strict mode
PHPBB3-10270
Diffstat (limited to 'phpBB/assets/javascript')
-rw-r--r-- | phpBB/assets/javascript/core.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 9c5f507bb8..742aa05115 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -3,6 +3,8 @@ phpbb.alert_time = 100; (function($) { // Avoid conflicts with other libraries +"use strict"; + // define a couple constants for keydown functions. var keymap = { ENTER: 13, |