On 2014/06/05 15:28:03, marja wrote:
yurys@: the "has source url" bool is set to false in Scanner::Next(), so this
only accepts the magic comment if there are no tokens after it.
Could you please clarify whether this would work for code like

function foo() {}
//@ sourceURL=foo.js
function bar() {}

?
I don't like this syntax and would prefer if we didn't support it, but I we
support it in our current implementation
and it is possible that some of our users would be upset if we change that.
We can still change it later (I hope the diff wouldn't be big)


vsevik: what do you want to do in the case where we have both sourceURL and
sourceMappingURL?
I'd like to have both of them

do you want script.source_url and script.source_mapping_url
separately?
Yes

https://codereview.chromium.org/316173002/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to