From f03904a1e37837895b34eb5476a51c31a8ecec7b Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Sat, 12 Mar 2016 15:09:28 +0100 Subject: [PATCH] remove some stuff that librejs threw "parsing error" on for unknown reason. hopefully we don't need it --- js/lib/lz-string.js | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/js/lib/lz-string.js b/js/lib/lz-string.js index 2c4a11a..4d55765 100644 --- a/js/lib/lz-string.js +++ b/js/lib/lz-string.js @@ -1,11 +1,27 @@ -// Copyright (c) 2013 Pieroxy -// This work is free. You can redistribute it and/or modify it -// under the terms of the WTFPL, Version 2 -// For more information see LICENSE.txt or http://www.wtfpl.net/ -// -// For more information, the home page: -// http://pieroxy.net/blog/pages/lz-string/testing.html -// +/* + +@licstart The following is the entire license notice for the +JavaScript code in this page. + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +Version 2, December 2004 + +Copyright (c) 2013 Pieroxy http://pieroxy.net/blog/pages/lz-string/testing.html + +Everyone is permitted to copy and distribute verbatim or modified +copies of this license document, and changing it is allowed as long +as the name is changed. + +WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. You just DO WHAT THE FUCK YOU WANT TO. + +@licend The above is the entire license notice +for the JavaScript code in this page. + +*/ + // LZ-based compression algorithm, version 1.4.4 var LZString = (function() { @@ -493,9 +509,3 @@ var LZString = { }; return LZString; })(); - -if (typeof define === 'function' && define.amd) { - define(function () { return LZString; }); -} else if( typeof module !== 'undefined' && module != null ) { - module.exports = LZString -}