Vinzent03 / tab-switcher

Tab Switcher - Obsidian Plugin
GNU General Public License v3.0
123 stars 6 forks source link

File extension typo? #2

Closed oliverholms closed 3 years ago

oliverholms commented 3 years ago

Hi,

Shouldn't it be main.js as opposed to main.ts as per the readme?

Plugin works as advertised with the extension changed (and with it left as is strangely?)

I am new to coding so ignore me if I am missing something obvious.

Thank you for the plugin — I'm sure it's going to really help me.

Oliver

phibr0 commented 3 years ago

You need to compile the .ts (Typescript) file to a .js (Javascript) File

phibr0 commented 3 years ago

Or you download my precompiled Javascript File from the Releases Page

phibr0 commented 3 years ago

The Readme says main.js

oliverholms commented 3 years ago

Thank you for clarifying, I was confused by the difference between the main.js in the readme and the main.ts file in the repo. I haven't used Typescript before so I didn't recognise the .ts extension (and when I googled it I came up with something to do with video files).

I have downloaded the precompiled file from the Releases page and it is working as expected. Thank you.