Sha256: 8295da06ac774117c9df083950237224c8776324fad73d4b8d295356d9fb54d1
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
//= require slug /* globals slug */ (function() { "use strict"; App.register('component').enter(function() { var titleInput = $('.title-to-slug-title'); var slugInput = $('.title-to-slug-slug'); var titleAsSlug; titleInput.bind('propertychange change click keyup input paste', function() { titleAsSlug = slug(titleInput.val(), { lower: true }); slugInput.val(titleAsSlug); slugInput.blur(); }); }); })();
Version data entries
11 entries across 11 versions & 1 rubygems