Home Download Buy Blog Forum Support

Addition of script type to scope

Addition of script type to scope

Postby kissmyface on Wed Feb 20, 2013 1:17 pm

I was wondering if it would be possible to add the script 'type' attribute to the scope resolution in html files:

Currently both of these have the same scope of 'text.html.basic source.js.embedded.html'
Example

<script type="text/x-handlebars">
Hello
</script>

<script>
var hello = 'hello';
</script>

I'm suggesting that the top script should have a more qualified scope to allow for better targeting of snippets

text.html.basic source.js.embedded.html type.text_x_handlebars
kissmyface
 
Posts: 4
Joined: Fri Aug 26, 2011 9:04 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests