Sha256: 9165683f97761fb888956b4d02ab02795cc6a618e58d23a48b775852fb0cf5dc
Contents?: true
Size: 691 Bytes
Versions: 6
Compression:
Stored size: 691 Bytes
Contents
// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // //= require jquery //= require jquery_ujs //= require redactor //= require bootstrap //= require_tree . function loadTextEditor(elem){ elem.find(".js-editor").redactor({}) } $(function(){ loadTextEditor($("body")) }) $("body").ajaxSuccess(function(){ loadTextEditor($("body")) })
Version data entries
6 entries across 6 versions & 1 rubygems