Skip to content

Commit

Permalink
Enable strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Korsunsky committed Jun 29, 2017
1 parent 92efeb4 commit ec9f7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -33,7 +33,7 @@ module.exports = function(grunt) {

wrap: {
options: {
wrapper: ['<%= banner %>\n;(function(global) {', '})(this);'],
wrapper: ['<%= banner %>\n;(function(global) {\n\'use strict\';\n', '})(this);'],
indent: ' '
},
'module': {
Expand Down
2 changes: 2 additions & 0 deletions src/sniffer.js
@@ -1,4 +1,6 @@
var Sniffer = function(ua) {
'use strict';

var sniff = {
browser: {
fullName: '',
Expand Down

0 comments on commit ec9f7df

Please sign in to comment.