From 4bd3ce58851b0cd332b9d46d56e4e42795636984 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 12 Jan 2015 08:45:35 -0800 Subject: Moved "use strict" to top of modules. --- js/lib/from-code-point.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/lib/from-code-point.js') diff --git a/js/lib/from-code-point.js b/js/lib/from-code-point.js index 69f53a2..a0557b3 100644 --- a/js/lib/from-code-point.js +++ b/js/lib/from-code-point.js @@ -1,8 +1,9 @@ +"use strict"; + // derived from https://github.com/mathiasbynens/String.fromCodePoint /*! http://mths.be/fromcodepoint v0.2.1 by @mathias */ if (String.fromCodePoint) { module.exports = function (_) { - "use strict"; try { return String.fromCodePoint(_); } catch (e) { @@ -18,7 +19,6 @@ if (String.fromCodePoint) { var stringFromCharCode = String.fromCharCode; var floor = Math.floor; var fromCodePoint = function() { - "use strict"; var MAX_SIZE = 0x4000; var codeUnits = []; var highSurrogate; -- cgit v1.2.3