From: David Thompson Date: Fri, 13 Mar 2015 15:46:26 +0000 (-0400) Subject: Workaround LibreJS parser bug. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Fwip-librejs;p=KiwiIRC.git Workaround LibreJS parser bug. LibreJS 6.0.8 chokes on the identifier 'module', for some reason. Renaming to 'mod' makes things magically work again. --- diff --git a/client/assets/libs/engine.io.js b/client/assets/libs/engine.io.js index a43ae9f..24739e3 100644 --- a/client/assets/libs/engine.io.js +++ b/client/assets/libs/engine.io.js @@ -1,10 +1,10 @@ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.eio=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o