Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlogic committed May 4, 2009
1 parent 44fe20a commit 166c8c2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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.

*OR*

Drag "this link":javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://auto-update-stylesheets.googlecode.com/files/load_it.js?v=1');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?
Expand All @@ -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.