[wp-trac] [WordPress Trac] #23497: Revisions Rewrite using JS/Backbone
WordPress Trac
noreply at wordpress.org
Mon Feb 18 13:57:40 UTC 2013
#23497: Revisions Rewrite using JS/Backbone
-------------------------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Revisions | Review
Severity: normal | Version: 3.5.1
Keywords: has-patch needs-refresh dev- | Resolution:
feedback |
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
Replying to [comment:4 scribu]:
> You should transform the code that starts after `// Set up the buttons`
into one or more Backbone views.
yes, i agree. i had it set up that way originally, but ran into problems
with my slider which would get reloaded when the review refreshed. so i
redid it this way because it worked... ideally i'd like to switch the code
so the individual revision models are self rendering, rather than having
the overall diff view doing the render. this should also allow the 1st
diff to display as the rest are still loading.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23497#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list