Browse files

update docs

  • Loading branch information...
1 parent 44fe20a commit 166c8c2e62d6b93eddd5c59fe2d645907a204cfd @adamlogic committed May 4, 2009
Showing with 6 additions and 7 deletions.
  1. +6 −7 README.textile
@@ -8,10 +8,14 @@ h2. How do I use it?
Just include auto_update_stylesheets.js in your page, and call $.autoUpdateStylesheets() on dom-ready.
+Drag "this link":javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','');document.getElementsByTagName('head')[0].appendChild(s);})(); to your bookmark toolbar. Click the bookmarklet once to activate it, again to toggle it off.
h2. What are the restrictions/dependencies?
-* jQuery is required
-* all stylesheets must be in the same domain
+* jQuery is required (NOT FOR THE BOOKMARKLET)
+* all stylesheets must be in the same domain as the page they are included on
* you must have access to edit the source stylesheet
h2. What's the point of this?
@@ -20,8 +24,3 @@ My CSS workflow typically involves writing my stylesheets directly in Firefox us
The second big win comes later when I need to fix my CSS in IE. With this script I can open IE, Firefox, and Safari and see how my changes affect each browser in real-time.
-h2. What's next?
-* make a bookmarklet
-* remove jQuery dependency (or at least include it in the bookmarklet)
-* remove same-domain dependency (no idea how to accomplish this)

0 comments on commit 166c8c2

Please sign in to comment.