busykai/brackets-livedev2 — pull request #26 by sebaslv (2014-07-07 14:35:07+00:00)
Title: Add notifications on added/removed import-ed stylesheets

Add support for @imports when notifying on added/removed stylesheets. Refactoring ```DocumentObserver```:
- split ```onNodesChanged``` into ```onNodesAdded``` and ```onNodesRemoved```. Inspect
import rules when adding a new stylesheet and extract dependencies.
Iterate on dependencies when removing a stylesheet.
- separate stylesheet related logic from observation and group that
into a new ```CSS``` object.
- initial integration with existing logic from ```related()```

@shahabl, please take a look at the integration with the existing logic for extracting import-ed stylesheets. We would have to unify/simplify how we extract and notify them.