Please, try my experimental build here: http://www.softwareishard.com/temp/firebug-1.10.0a6newloader1.xpi
...and let me know if it works for you Honza > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of dido > Sent: Monday, April 02, 2012 5:21 PM > To: Firebug > Subject: [firebug] 'yield' usage problem in AMD modules > > 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 -- 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
