Sha256: d06e2d6d6af42fe3c3087da673f80c824b05d91622fe98b5173540ed66d09ba3
Contents?: true
Size: 549 Bytes
Versions: 10
Compression:
Stored size: 549 Bytes
Contents
document.observe('dom:loaded', function() { var log = function(text) { var p = new Element('p').update(text); $('console').insert(p); }; ['Added', 'Removed'].forEach(function(action) { document.observe('nested:field' + action, function(e) { log(action + ' some field') }); document.observe('nested:field' + action + ':tasks', function(e) { log(action + ' task field') }); document.observe('nested:field' + action + ':milestones', function(e) { log(action + ' milestone field') }); }); });
Version data entries
10 entries across 10 versions & 3 rubygems