Sha256: c15398c41d4c048746f3b986586674748d578ca107e01973a8d0f199ad0774b3

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

jQuery.fn.comments = function() {
  var comments = [];

  this.each(function(i, node) {
    var child = node.firstChild;
    while (child) {
      if (child.nodeType === 8) {
        comments.push(child.nodeValue);
      }
      child = child.nextSibling;
    }
  });

  return comments;
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stack_tracy-0.1.9 ui/assets/comments.js
stack_tracy-0.1.8 ui/assets/comments.js
stack_tracy-0.1.7 ui/assets/comments.js
stack_tracy-0.1.6 ui/assets/comments.js
stack_tracy-0.1.5 ui/assets/comments.js
stack_tracy-0.1.4 ui/assets/comments.js