Sha256: 307f5fcadce65c1582c85a3cd39c08ce6a538ea6ae044dfa2dcb66a100fa00f7
Contents?: true
Size: 695 Bytes
Versions: 39
Compression:
Stored size: 695 Bytes
Contents
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. Spotlight.onLoad(function(){ SirTrevor.setDefaults({ uploadUrl: $('[data-attachment-endpoint]').data('attachment-endpoint') }); var instance = $('.js-st-instance').first(); if (instance.length) { var editor = new SirTrevor.Editor({ el: instance, onEditorRender: function() { serializeObservedForms(observedForms()); }, blockTypeLimits: { "SearchResults": 1, "Tweet": -1 } }); new Spotlight.BlockLimits(editor).enforceLimits(); } $('.carousel').carousel(); });
Version data entries
39 entries across 39 versions & 1 rubygems