Comparing version 4.3.1 to 4.3.2
12
api.json
@@ -7,3 +7,3 @@ { | ||
"filename": "src/space-pen.coffee", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L75", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L75", | ||
"sections": [], | ||
@@ -14,3 +14,3 @@ "classMethods": [ | ||
"sectionName": null, | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L85", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L85", | ||
"visibility": "Public", | ||
@@ -37,3 +37,3 @@ "summary": "Add the given subview wired to an outlet with the given name", | ||
"sectionName": null, | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L91", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L91", | ||
"visibility": "Public", | ||
@@ -54,3 +54,3 @@ "summary": "Add a text node with the given text content", | ||
"sectionName": null, | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L97", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L97", | ||
"visibility": "Public", | ||
@@ -77,3 +77,3 @@ "summary": "Add a new tag with the given name", | ||
"sectionName": null, | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L102", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L102", | ||
"visibility": "Public", | ||
@@ -96,3 +96,3 @@ "summary": "Add new child DOM nodes from the given raw HTML string.", | ||
"sectionName": null, | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.1/src/space-pen.coffee#L205", | ||
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.2/src/space-pen.coffee#L205", | ||
"visibility": "Public", | ||
@@ -99,0 +99,0 @@ "summary": "Preempt events registered with jQuery's `::on`.", |
@@ -365,4 +365,12 @@ (function() { | ||
$.fn.view = function() { | ||
var _ref; | ||
return (_ref = this[0]) != null ? _ref.spacePenView : void 0; | ||
var element, viewConstructorName; | ||
if (element = this[0]) { | ||
if (element.__spacePenView != null) { | ||
viewConstructorName = element.__spacePenView.constructor.name; | ||
if (Grim != null) { | ||
Grim.deprecate("Accessing `" + viewConstructorName + "` via `$::view()` is deprecated. Use the raw DOM node or underlying model object instead."); | ||
} | ||
} | ||
return element.spacePenView; | ||
} | ||
}; | ||
@@ -369,0 +377,0 @@ |
{ | ||
"name": "space-pen", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "Write markup on the final frontier", | ||
@@ -39,5 +39,5 @@ "main": "./lib/space-pen.js", | ||
"dependencies": { | ||
"grim": "^0.12.0", | ||
"grim": "^0.13.0", | ||
"underscore-plus": "1.x" | ||
} | ||
} |
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
279073
8138
+ Addedamdefine@1.0.1(transitive)
+ Addedcoffee-script@1.7.1(transitive)
+ Addedcoffeestack@0.7.0(transitive)
+ Addedgrim@0.13.0(transitive)
+ Addedmkdirp@0.3.5(transitive)
+ Addedsource-map@0.1.43(transitive)
- Removedgrim@0.12.0(transitive)
Updatedgrim@^0.13.0