benbalter/WP-Document-Revisions — pull request #57 by cojennin (2013-05-30 20:42:31+00:00)
Title: Alter "this" to "e.target" to fix issue when a user clicks on the resto...

...re link.

This request relates to issue #55.

Note some oddities in this pull request. A newer version of coffeescript (v1.6.2) was utilized during compilation so there will a few modifications to wp-document-revisions.dev.js outside of the norm. The actual legitimate change that accompanies this pull request is on line 52 of wp-document-revisions.dev.js (line 44 in wp-document-revisions.coffee).

I was unsure of the software used for minification, so I used uglifyjs (installed with npm, v2.3.6).

I can fix any of the steps I used to build if they differ from the standard.

I tested with WP 3.5.1 in the most recent versions of Chrome, Safari, Firefox and IE8.