Comparing version 0.1.1 to 0.1.2
@@ -97,5 +97,7 @@ // Generated by CoffeeScript 1.6.3 | ||
this.parent = parent != null ? parent : void 0; | ||
this.cancellators = []; | ||
nd = this.tag_data; | ||
document = (typeof window !== "undefined" && window !== null ? window.document : void 0) || $('body')[0].ownerDocument; | ||
this.node = node = document.createTextNode(''); | ||
this.$elm = $(this.node); | ||
if ((_ref = this.parent) != null) { | ||
@@ -119,2 +121,14 @@ _ref.$elm.append(node); | ||
TextNode.prototype.destroy = function() { | ||
var c, _i, _len, _ref; | ||
_ref = this.cancellators; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
c = _ref[_i]; | ||
c(); | ||
} | ||
this.$elm.remove(); | ||
delete this.cancellators; | ||
return delete this.parent; | ||
}; | ||
return TextNode; | ||
@@ -121,0 +135,0 @@ |
{ | ||
"name": "raml", | ||
"description": "Radioactive Markup Language ( part of the Radioactive Framework )", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Aldo Bucchi <aldo.bucchi@gmail.com>", | ||
@@ -6,0 +6,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47307
43
647