show diff in post history view

This commit is contained in:
Régis Hanol
2013-04-29 02:02:04 +02:00
parent 9e3b70c20e
commit ede9d2a0a8
6 changed files with 1434 additions and 22 deletions

View File

@@ -3,7 +3,8 @@
// TODO: automate this to grab from the manifest, Rails voodoo should be able to get it
var map = {
'defer/html-sanitizer-bundle': <%= asset_path('defer/html-sanitizer-bundle.js').inspect.html_safe %>
'defer/html-sanitizer-bundle': <%= asset_path('defer/html-sanitizer-bundle.js').inspect.html_safe %>,
'defer/google_diff_match_patch': <%= asset_path('defer/google_diff_match_patch.js').inspect.html_safe %>
};
var assetPath = function(asset){