Socket
Socket
Sign inDemoInstall

raml

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

test/remove_a_text_node.coffee

14

lib/raml/nodes.js

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc