stealjs / steal-conditional

Conditional loading
https://stealjs.com/docs/steal-conditional.html
MIT License
6 stars 1 forks source link

Negation syntax #63

Open leoj3n opened 5 years ago

leoj3n commented 5 years ago

I agree with this comment:

https://github.com/systemjs/systemjs/issues/285#issuecomment-103015801

However, I think a better negation syntax would be ^ instead of ~, especially since steal supports ~/ for referencing modules relative to the project root (which makes the current ~ negation syntax confusing) and ^ would have greater parity with stache:

https://canjs.com/doc/can-stache.tags.inverse.html