Closed habemus-papadum closed 9 years ago
Cheers
Would you mind removing lt_snippets_compiled.js and lt_snippets_compiled.js.map from the pull request ? I'll add the transpiled stuff once I make a release.
I can't reproduce the error and I'm having trouble understanding how the suggested fix changes anything.
I believe the issue is that .contains() is not portable javascript cf. http://stackoverflow.com/questions/1789945/how-can-i-check-if-one-string-contains-another-substring
Perhaps only noticeable when running LT under atom-shell...
This should be fixed with version 0.1.1
Hi -- I'm trying to use lt-snippets with Lighttable bundled as the Juno editor from http://junolab.org
Juno is basically a recent version of Lighttable which with some plugins and users behaviors bundled. I am trying to add lt-snippets using the plugin manager (which in theory should not be a problem; e.g. I was able to add gitlight to Juno)
I tried creating a basic snippet, which does work correctly when I execute the "expand based on editor token" command (e.g. lt-snippets expands the text correctly), but it does dump an error message to the console:
I'm just getting started with Lighttable so I'm not entirely sure what's the best way to track down this error. Any suggestions would be most welcome!
thanks!