Modeled data-almond script tag attribute to have a HtmlRequireJsAlmondReplacement relation
Added new HtmlRequireJsAlmondReplacement relation type to drawGraph transform
Added replaceRequireJsWithAlmond transform. Relates to One-com/assetgraph-builder#52
Added new test case to make sure almond doesn't replace other scripts
Fix problems with non-requirejs assets being replaced with almond. Also avoid double replacement and removing already removed assets from graph
Don't replace requirejs with almond if requirejs is used actively as a script loader
Typo
Simplify graph traversal to find requirejs scripts to replace
Avoid populating external assets so the test case has identical results online and offline
Typo
Added new Precondition error type
Reuse existing relations better and only detach requirejs and almond assets if they aren't referenced from somewhere else
Merge pull request #132 from One-com/almond

RequireJs Almond replacement