Comments (6)
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.
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.
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.
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.
Perfect! No error in IE.
from tw5-bob.
Yay! I am going to close this.
from tw5-bob.
Related Issues (20)
- How to start subwiki after clicking on link? HOT 2
- Refresh throttling requires multiple conditions to take effect
- Crashes on Fetch list of media and will not allow manually setting the root path
- Remove/clarify references to switched off features
- Unexpected end of JSON input HOT 2
- edit lock stays, after locking browser was closed before saveing the draft
- $:/Bob/AvailableLanguageList is not json but declared as such HOT 1
- Could Bob be on Tiddlyhost? HOT 2
- WebSocket Upgrade header string comparison is case sensitive and collides with apache reverse proxy mod_proxy_wstunnel HOT 1
- Can TW5-BOB be used straight from hosted on GitHub, with autosaving, from all devices? HOT 3
- http.server.listen() was called more than once HOT 9
- Are you planning new release? HOT 2
- Update handling of broken websocket connectitons
- Make a more robust handler for save errors on the server
- Update syncer and adaptors to allow saving tiddlers in bulk
- Bob deletes tiddler when edited via edit-text HOT 5
- possible to use header to set username ? HOT 2
- WebSocket Error seems to be causing existing node.js wikis to not be added to Bob
- saving drafts
- Can you port load-from-fs to the core? Or as a standalone plugin watch-fs? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tw5-bob.