Sha256: 8765d25f95db2c0bc2922d262ad47332ff6a6ea5cd4a3f8f5df124dd03c960ef
Contents?: true
Size: 339 Bytes
Versions: 10
Compression:
Stored size: 339 Bytes
Contents
class Tenon.features.CocoonHooks constructor: -> $(document).on('cocoon:after-insert', @afterInsert) afterInsert: (e, insertedItem) => @$insertedItem = $(insertedItem) @_checkTenonContent() $('select').select2() _checkTenonContent: -> if @$insertedItem.find('.tn-tc') new Tenon.features.tenonContent.Base
Version data entries
10 entries across 10 versions & 1 rubygems