Code Monkey home page Code Monkey logo

Comments (6)

inmysocks avatar inmysocks commented on June 14, 2024

Instead of changing everything to fit outdated browsers I only changed the modules that should be active in a browser and made the others (hopefully) inactive in a browser. I have no way to test this on IE so I can't say if it worked for compatibility there.

from tw5-bob.

halsbox avatar halsbox commented on June 14, 2024

Hi, inmysocks! Thank you for fast response!
With latest commits I get following errors in IE11 dev console (see below). "Invalid character" is GRAVE ACCENT that is used in ES6 template literals and is not supported by IE. The patch from first message was made by semi-automatic replacing of something like

`string${code}string`

with

"string"+code+"string"

until IE started to load page without errors.
IE log:

Syntax error in boot module $:/plugins/OokTech/MultiUser/FileSystemMonitor.js: Invalid character
SyntaxError: Invalid character
   at $tw.utils.evalGlobal (https://wiki.lan.hiddenforsecurity.org/:9892:3)
   at $tw.modules.execute (https://wiki.lan.hiddenforsecurity.org/:10181:5)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:10221:3)
   at $tw.utils.each (https://wiki.lan.hiddenforsecurity.org/:9527:5)
   at $tw.modules.forEachModuleOfType (https://wiki.lan.hiddenforsecurity.org/:10220:2)
   at $tw.boot.startup (https://wiki.lan.hiddenforsecurity.org/:11498:2)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:11660:3)
   at $tw.boot.decryptEncryptedTiddlers (https://wiki.lan.hiddenforsecurity.org/:10847:3)
   at $tw.boot.boot (https://wiki.lan.hiddenforsecurity.org/:11658:2)
   at _boot (https://wiki.lan.hiddenforsecurity.org/:11667:2)
Syntax error in boot module $:/plugins/OokTech/NodeSettings/NodeSettings.js: Invalid character
SyntaxError: Invalid character
   at $tw.utils.evalGlobal (https://wiki.lan.hiddenforsecurity.org/:9892:3)
   at $tw.modules.execute (https://wiki.lan.hiddenforsecurity.org/:10181:5)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:10221:3)
   at $tw.utils.each (https://wiki.lan.hiddenforsecurity.org/:9527:5)
   at $tw.modules.forEachModuleOfType (https://wiki.lan.hiddenforsecurity.org/:10220:2)
   at $tw.boot.startup (https://wiki.lan.hiddenforsecurity.org/:11498:2)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:11660:3)
   at $tw.boot.decryptEncryptedTiddlers (https://wiki.lan.hiddenforsecurity.org/:10847:3)
   at $tw.boot.boot (https://wiki.lan.hiddenforsecurity.org/:11658:2)
   at _boot (https://wiki.lan.hiddenforsecurity.org/:11667:2)
Syntax error in boot module $:/plugins/OokTech/MultiUser/NodeMessageHandlers.js: Invalid character
SyntaxError: Invalid character
   at $tw.utils.evalGlobal (https://wiki.lan.hiddenforsecurity.org/:9892:3)
   at $tw.modules.execute (https://wiki.lan.hiddenforsecurity.org/:10181:5)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:10221:3)
   at $tw.utils.each (https://wiki.lan.hiddenforsecurity.org/:9527:5)
   at $tw.modules.forEachModuleOfType (https://wiki.lan.hiddenforsecurity.org/:10220:2)
   at $tw.boot.startup (https://wiki.lan.hiddenforsecurity.org/:11498:2)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:11660:3)
   at $tw.boot.decryptEncryptedTiddlers (https://wiki.lan.hiddenforsecurity.org/:10847:3)
   at $tw.boot.boot (https://wiki.lan.hiddenforsecurity.org/:11658:2)
   at _boot (https://wiki.lan.hiddenforsecurity.org/:11667:2)
Syntax error in boot module $:/core/modules/commands/wsserver.js: Invalid character
SyntaxError: Invalid character
   at $tw.utils.evalGlobal (https://wiki.lan.hiddenforsecurity.org/:9892:3)
   at $tw.modules.execute (https://wiki.lan.hiddenforsecurity.org/:10181:5)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:10221:3)
   at $tw.utils.each (https://wiki.lan.hiddenforsecurity.org/:9527:5)
   at $tw.modules.forEachModuleOfType (https://wiki.lan.hiddenforsecurity.org/:10220:2)
   at Commander.initCommands (eval code:129:2)
   at exports.startup (eval code:34:2)
   at $tw.boot.executeNextStartupTask (https://wiki.lan.hiddenforsecurity.org/:11550:5)
   at $tw.boot.startup (https://wiki.lan.hiddenforsecurity.org/:11507:2)
   at Anonymous function (https://wiki.lan.hiddenforsecurity.org/:11660:3)
Unable to get property 'name' of undefined or null reference
SCRIPT5007: Unable to get property 'name' of undefined or null reference
File: commander.js, Line: 130, Column: 3

from tw5-bob.

inmysocks avatar inmysocks commented on June 14, 2024

Ah, ok. It looks like IE is going to complain if there are any backtics in the file even if they aren't in a part that is used. I was hoping just not having the scripts active would do it. I will remove the backtics now.

from tw5-bob.

inmysocks avatar inmysocks commented on June 14, 2024

All the changes should be pushed not, let me know if there are any problems when you get a chance to try it out.

from tw5-bob.

halsbox avatar halsbox commented on June 14, 2024

Perfect! No error in IE.

from tw5-bob.

inmysocks avatar inmysocks commented on June 14, 2024

Yay! I am going to close this.

from tw5-bob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.