I have created a repo with basic skeleton for the extension

1) The repo is here: https://github.com/janodvarko/fireless
2) It's based on HelloBootAMD example:
https://github.com/firebug/extension-examples/tree/master/HelloBootAMD
3) So, it's restart-less and it uses AMD module syntax (just like the
rest of Firebug)
4) There is also ANT script for building the result XPI, just run
'ant' in the extension directory
5) The important module is chrome/content/lessModule. It monkey-
patches all instance of the Style panel to override the getSourceLink
method. See: 
https://github.com/janodvarko/fireless/blob/master/chrome/content/lessModule.js#L39
You should put your code into 'Firebug.LessModule.getSourceLink'
method.

We can change the way how the Style panel is customized if you think
this is not the right way (it's a bit hacky, but should work for the
prototype).

Let me know if you have any questions!

Honza

-- 
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