You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Accessing page resources (css/js/img) using code from resource-managerHello,
I am trying to build something based on Dragonfly code. For a simple app that retrives page assets such ass css and js files I do need only part of the overall code. In my case dragonfly / src / resource-manager should to the trick.
How is a page fetched by Dragonfly, does the only needed code for this is in resource-manager or Dragonfly access some other browser internals? Seems like the whole thing relies on window.services['resource-manager'] and I can't find it defined anyware.
Dragonfly itself doesn't fetch any resource. Everything is done with the Scope interface. Take e.g. a look how to make a simple error logger with it (the documentation is a bit out of date, so not everything is correct anymore, sorry for that). That should give you an idea how to work with the interface.