Hi all,

I took the latest HelloBootAMD example(https://github.com/firebug/
extension-examples/) and tried to rewrite already existing FB
extension around it. At the very end of the initialize method of
MyModule I added just this :
/////////////////////////////////////
var g = function(){
        yield 1;
}
FBTrace.sysout(g.next());
//////////////////////////////////////
This gave me the following warning:
/////////////////////////////////////
errors.observe showChromeMessages off, dropped: [JavaScript Warning:
"yield is a reserved identifier" {file: "chrome://hellobootamd/content/
myModule.js" line: 29 column: 7 source: "                                       
                yield 1;
"}]
////////////////////////////////////
Nothing logged in FBTrace. This is an attempt to reproduce a greater
problem in which I can't use generators defined in separate AMD module
imported in modules that inherit from Firebug.Module and
Firebug.Panel. Or "yield is undefined" or "<name_of_my_class> is not a
constructor" occur in this case.

Any ideas ?

Best regards,
Dido

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to