diff options
| author | Nick Howell <howellnick@gmail.com> | 2015-09-24 22:35:04 -0400 |
|---|---|---|
| committer | Nick Howell <howellnick@gmail.com> | 2015-09-24 22:35:04 -0400 |
| commit | 115ec662b514c0dcbd1fc40648c4e11d09c949d7 (patch) | |
| tree | 7cfbe8c09343ca9e1802ebd9042d8090cb9641f4 | |
| parent | c8f5f6f70f81a53d708af06b3b96902590e6322c (diff) | |
| download | rust-115ec662b514c0dcbd1fc40648c4e11d09c949d7.tar.gz rust-115ec662b514c0dcbd1fc40648c4e11d09c949d7.zip | |
Add 'use strict' to playpen.js
| -rw-r--r-- | src/librustdoc/html/static/playpen.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/playpen.js b/src/librustdoc/html/static/playpen.js index ef8bdf5e2ce..6b96a285992 100644 --- a/src/librustdoc/html/static/playpen.js +++ b/src/librustdoc/html/static/playpen.js @@ -12,6 +12,8 @@ /*globals $: true, rootPath: true */ document.addEventListener('DOMContentLoaded', function() { + 'use strict'; + if (!window.playgroundUrl) { return; } |
