Permalink
Browse files

more garden

  • Loading branch information...
1 parent 40f4758 commit 0a00a1f4d2abe45b0db6927c3e7bde32f4417f5a @blaflamme blaflamme committed Apr 19, 2012
Showing with 17 additions and 1 deletion.
  1. +17 −1 CHANGES.txt
View
18 CHANGES.txt
@@ -5,7 +5,23 @@
better dependency loading and module isolation to play better with mutiple
library versions. Recurrent problem was with async loading and application
specific jquery library where the expected version was overrided by the
- toolbar one.
+ toolbar one.
+
+ If you are already using requirejs and want the toolbar to load, just add it
+ to your path and module:
+
+ require.config({
+ paths: {
+ "jquery": "jquery-1.7.2.min",
+ "toolbar": "/_debug_toolbar/static/js/toolbar"
+ }
+ });
+
+ require(["jquery", "toolbar"], function($, toolbar) {
+ $(function() {
+ // your module
+ });
+ });
1.0.1 (2012-03-27)
------------------

0 comments on commit 0a00a1f

Please sign in to comment.