Hi! Tonight I have this idea, a "firecolor" to Firebug... Well, let me explain what it means.
For those who develop JS Core projects (as jQuery, for instance) or very complex projects, there are two problems: code garbage and heavy codes. This idea is basically how the Profile, but coloring the code, dependings of ocasion. The fire generally is "red" :p then I suggest the low color be "yellow" and the high color "red". I'll explain better: First, you need choice the JS that you will to "firecolor", example: jQuery. Second, you will execute the jQuery test library. Third, you will see what part of code you don't use (white part), parts that are light (low cost, yellow part) and parts that are heavy (high cost, red part). Can exists two colors types: cost by time, and cost by execution. Example: - Code: var a = 1; if(a == 1) return 1; Color: [color]var a = 1; if(a == 1) return 1;[/color] - Code: var a = 2; if(a == 1) return 1; Color: [color]var a = 2; if(a == 1) [/color] return 1; Note: the "return 1" don't is executed because a == 2, not 1. Bye. -- 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 http://groups.google.com/group/firebug?hl=en.
