@glimmer/node
Advanced tools
Comparing version 0.29.1 to 0.29.2
@@ -56,2 +56,3 @@ define('@glimmer/node', ['exports', '@glimmer/runtime'], function (exports, _glimmer_runtime) { 'use strict'; | ||
var TEXT_NODE = 3; | ||
function currentNode(cursor) { | ||
@@ -102,3 +103,3 @@ var element = cursor.element, | ||
return this.__appendComment('%empty%'); | ||
} else if (current && current.nodeType === Node.TEXT_NODE) { | ||
} else if (current && current.nodeType === TEXT_NODE) { | ||
this.__appendComment('%sep%'); | ||
@@ -109,2 +110,12 @@ } | ||
SerializeBuilder.prototype.pushRemoteElement = function pushRemoteElement(element, cursorId) { | ||
var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; | ||
var dom = this.dom; | ||
var script = dom.createElement('script'); | ||
script.setAttribute('id', cursorId); | ||
dom.insertBefore(element, script, nextSibling); | ||
_NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling); | ||
}; | ||
return SerializeBuilder; | ||
@@ -124,2 +135,2 @@ }(_glimmer_runtime.NewElementBuilder); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xpbW1lci1ub2RlLmpzIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9ub2RlL2xpYi9ub2RlLWRvbS1oZWxwZXIudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9ub2RlL2xpYi9zZXJpYWxpemUtYnVpbGRlci50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBTaW1wbGVET00gZnJvbSAnc2ltcGxlLWRvbSc7XG5pbXBvcnQgeyBET01UcmVlQ29uc3RydWN0aW9uLCBCb3VuZHMsIENvbmNyZXRlQm91bmRzIH0gZnJvbSAnQGdsaW1tZXIvcnVudGltZSc7XG5pbXBvcnQgeyBTaW1wbGUgfSBmcm9tICdAZ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OztvRUFHcEMsUUFDWDtZQUFJLFVBQVUsWUFBWTtZQUV0QixXQUFXLElBQUk7bUJBQ1YsS0FBSyxnQkFBZ0I7ZUFDdkIsSUFBSSxXQUFXLFFBQVEsYUFBYSxXQUFXO2lCQUMvQyxnQkFBZ0I7O2VBR2hCLDZCQUFNLHdCQUFhOzs7OEVBR1YsU0FBeUI7WUFBbUIsa0ZBQW1DO1lBQ3pGLE1BQVE7O1lBQ1YsU0FBUyxJQUFJLGNBQWM7ZUFDeEIsYUFBYSxNQUFNO1lBQ3RCLGFBQWEsU0FBUyxRQUFRO3FDQUM1Qiw2QkFBa0IsU0FBUyxVQUFVOzs7O0VBdkMvQ0U7O0FBMkNBLDBCQUFpQyxLQUFrQixRQUNqRDtXQUFPLGlCQUFpQixpQkFBaUIsS0FBSzs7Ozs7Ozs7In0= |
@@ -10,2 +10,3 @@ 'use strict'; | ||
const TEXT_NODE = 3; | ||
function currentNode(cursor) { | ||
@@ -43,3 +44,3 @@ let { element, nextSibling } = cursor; | ||
return this.__appendComment('%empty%'); | ||
} else if (current && current.nodeType === Node.TEXT_NODE) { | ||
} else if (current && current.nodeType === TEXT_NODE) { | ||
this.__appendComment('%sep%'); | ||
@@ -49,2 +50,9 @@ } | ||
} | ||
pushRemoteElement(element, cursorId, nextSibling = null) { | ||
let { dom } = this; | ||
let script = dom.createElement('script'); | ||
script.setAttribute('id', cursorId); | ||
dom.insertBefore(element, script, nextSibling); | ||
super.pushRemoteElement(element, cursorId, nextSibling); | ||
} | ||
} | ||
@@ -54,2 +62,2 @@ function serializeBuilder(env, cursor) { | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9ub2RlL2xpYi9zZXJpYWxpemUtYnVpbGRlci50cyJdLCJ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cyB7XG4gICAgbGV0IGZpcnN0ID0gdGhpcy5fX2FwcGVuZENvbW1lbnQoJyVnbGltbWVyJScpO1xuICAgIHN1cGVyLl9fYXBwZW5kSFRNTChodG1sKTtcbiAgICBsZXQgbGFzdCA9IHRoaXMuX19hcHBlbmRDb21tZW50KCclZ2xpbW1lciUnKTtcbiAgICByZXR1cm4gbmV3IENvbmNyZXRlQm91bmRzKHRoaXMuZWxlbWVudCwgZmlyc3QsIGxhc3QpO1xuICB9XG5cbiAgX19hcHBlbmRUZXh0KHN0cmluZzogc3RyaW5nKTogU2ltcGxlLlRleHQge1xuICAgIGxldCBjdXJyZW50ID0gY3VycmVudE5vZGUodGhpcyk7XG5cbiAgICBpZiAoc3RyaW5nID09PSAnJykge1xuICAgICAgcmV0dXJuIHRoaXMuX19hcHBlbmRDb21tZW50KCclZW1wdHklJykgYXMgYW55IGFzIFNpbXBsZS5UZXh0O1xuICAgIH0gZWxzZSBpZiAoY3VycmVudCAmJiBjdXJyZW50Lm5vZGVUeXBlID09PSBOb2RlLlRFWFRfTk9ERSkge1xuICAgICAgdGhpcy5fX2FwcGVuZENvbW1lbnQoJyVzZXAlJyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHN1cGVyLl9fYXBwZW5kVGV4dChzdHJpbmcpO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBzZXJpYWxpemVCdWlsZGVyKGVudjogRW52aXJvbm1lbnQsIGN1cnNvcjogeyBlbGVtZW50OiBTaW1wbGUuRWxlbWVudCwgbmV4dFNpYmxpbmc6IE9wdGlvbjxTaW1wbGUuTm9kZT4gfSkge1xuICByZXR1cm4gU2VyaWFsaXplQnVpbGRlci5mb3JJbml0aWFsUmVuZGVyKGVudiwgY3Vyc29yKTtcbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiw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ZW1wdHklJykgYXMgYW55IGFzIFNpbXBsZS5UZXh0O1xuICAgIH0gZWxzZSBpZiAoY3VycmVudCAmJiBjdXJyZW50Lm5vZGVUeXBlID09PSBURVhUX05PREUpIHtcbiAgICAgIHRoaXMuX19hcHBlbmRDb21tZW50KCclc2VwJScpO1xuICAgIH1cblxuICAgIHJldHVybiBzdXBlci5fX2FwcGVuZFRleHQoc3RyaW5nKTtcbiAgfVxuXG4gIHB1c2hSZW1vdGVFbGVtZW50KGVsZW1lbnQ6IFNpbXBsZS5FbGVtZW50LCBjdXJzb3JJZDogc3RyaW5nLCAgbmV4dFNpYmxpbmc6IE9wdGlvbjxTaW1wbGUuTm9kZT4gPSBudWxsKSB7XG4gICAgbGV0IHsgZG9tIH0gPSB0aGlzO1xuICAgIGxldCBzY3JpcHQgPSBkb20uY3JlYXRlRWxlbWVudCgnc2NyaXB0Jyk7XG4gICAgc2NyaXB0LnNldEF0dHJpYnV0ZSgnaWQnLCBjdXJzb3JJZCk7XG4gICAgZG9tLmluc2VydEJlZm9yZShlbGVtZW50LCBzY3JpcHQsIG5leHRTaWJsaW5nKTtcbiAgICBzdXBlci5wdXNoUmVtb3RlRWxlbWVudChlbGVtZW50LCBjdXJzb3JJZCwgbmV4dFNpYmxpbmcpO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBzZXJpYWxpemVCdWlsZGVyKGVudjogRW52aXJvbm1lbnQsIGN1cnNvcjogeyBlbGVtZW50OiBTaW1wbGUuRWxlbWVudCwgbmV4dFNpYmxpbmc6IE9wdGlvbjxTaW1wbGUuTm9kZT4gfSkge1xuICByZXR1cm4gU2VyaWFsaXplQnVpbGRlci5mb3JJbml0aWFsUmVuZGVyKGVudiwgY3Vyc29yKTtcbn1cbiJdfQ== |
@@ -36,2 +36,3 @@ "use strict"; | ||
var TEXT_NODE = 3; | ||
function currentNode(cursor) { | ||
@@ -82,3 +83,3 @@ var element = cursor.element, | ||
return this.__appendComment('%empty%'); | ||
} else if (current && current.nodeType === Node.TEXT_NODE) { | ||
} else if (current && current.nodeType === TEXT_NODE) { | ||
this.__appendComment('%sep%'); | ||
@@ -89,2 +90,12 @@ } | ||
SerializeBuilder.prototype.pushRemoteElement = function pushRemoteElement(element, cursorId) { | ||
var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; | ||
var dom = this.dom; | ||
var script = dom.createElement('script'); | ||
script.setAttribute('id', cursorId); | ||
dom.insertBefore(element, script, nextSibling); | ||
_NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling); | ||
}; | ||
return SerializeBuilder; | ||
@@ -96,2 +107,2 @@ }(_runtime.NewElementBuilder); | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9ub2RlL2xpYi9zZXJpYWxpemUtYnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsQUFBTyxBQUFFLEFBQWlCLEFBQTBCLEFBQWMsQUFBZSxBQUFNLEFBQWtCLEFBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFJMUcscUJBQXFCLEFBQThFLFFBQ2pHLEFBQUk7UUFBRSxBQUFPLFVBQWtCLEFBQU0sQUFBQyxBQUV0QyxBQUFFLEFBQUM7UUFGWSxBQUFXLEFBQUU7O1FBRXhCLEFBQVcsZ0JBQUssQUFBSSxBQUFDLE1BQUMsQUFBQyxBQUN6QixBQUFNO2VBQUMsQUFBTyxRQUFDLEFBQVMsQUFBQyxBQUMzQixBQUFDLEFBQUMsQUFBSTtXQUFDLEFBQUMsQUFDTixBQUFNO2VBQUMsQUFBVyxZQUFDLEFBQWUsQUFBQyxBQUNyQyxBQUFDLEFBQ0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vcklkOiBzdHJpbmcsICBuZXh0U2libGluZzogT3B0aW9uPFNpbXBsZS5Ob2RlPiA9IG51bGwpIHtcbiAgICBsZXQgeyBkb20gfSA9IHRoaXM7XG4gICAgbGV0IHNjcmlwdCA9IGRvbS5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtcbiAgICBzY3JpcHQuc2V0QXR0cmlidXRlKCdpZCcsIGN1cnNvcklkKTtcbiAgICBkb20uaW5zZXJ0QmVmb3JlKGVsZW1lbnQsIHNjcmlwdCwgbmV4dFNpYmxpbmcpO1xuICAgIHN1cGVyLnB1c2hSZW1vdGVFbGVtZW50KGVsZW1lbnQsIGN1cnNvcklkLCBuZXh0U2libGluZyk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHNlcmlhbGl6ZUJ1aWxkZXIoZW52OiBFbnZpcm9ubWVudCwgY3Vyc29yOiB7IGVsZW1lbnQ6IFNpbXBsZS5FbGVtZW50LCBuZXh0U2libGluZzogT3B0aW9uPFNpbXBsZS5Ob2RlPiB9KSB7XG4gIHJldHVybiBTZXJpYWxpemVCdWlsZGVyLmZvckluaXRpYWxSZW5kZXIoZW52LCBjdXJzb3IpO1xufVxuIl19 |
import { NewElementBuilder, ConcreteBounds } from "@glimmer/runtime"; | ||
const TEXT_NODE = 3; | ||
function currentNode(cursor) { | ||
@@ -34,3 +35,3 @@ let { element, nextSibling } = cursor; | ||
return this.__appendComment('%empty%'); | ||
} else if (current && current.nodeType === Node.TEXT_NODE) { | ||
} else if (current && current.nodeType === TEXT_NODE) { | ||
this.__appendComment('%sep%'); | ||
@@ -40,2 +41,9 @@ } | ||
} | ||
pushRemoteElement(element, cursorId, nextSibling = null) { | ||
let { dom } = this; | ||
let script = dom.createElement('script'); | ||
script.setAttribute('id', cursorId); | ||
dom.insertBefore(element, script, nextSibling); | ||
super.pushRemoteElement(element, cursorId, nextSibling); | ||
} | ||
} | ||
@@ -45,2 +53,2 @@ export function serializeBuilder(env, cursor) { | ||
} | ||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dGlhbFJlbmRlcihlbnYsIGN1cnNvcik7XG59XG4iXX0= |
@@ -10,2 +10,3 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
import { NewElementBuilder, ConcreteBounds } from "@glimmer/runtime"; | ||
var TEXT_NODE = 3; | ||
function currentNode(cursor) { | ||
@@ -56,3 +57,3 @@ var element = cursor.element, | ||
return this.__appendComment('%empty%'); | ||
} else if (current && current.nodeType === Node.TEXT_NODE) { | ||
} else if (current && current.nodeType === TEXT_NODE) { | ||
this.__appendComment('%sep%'); | ||
@@ -63,2 +64,12 @@ } | ||
SerializeBuilder.prototype.pushRemoteElement = function pushRemoteElement(element, cursorId) { | ||
var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; | ||
var dom = this.dom; | ||
var script = dom.createElement('script'); | ||
script.setAttribute('id', cursorId); | ||
dom.insertBefore(element, script, nextSibling); | ||
_NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling); | ||
}; | ||
return SerializeBuilder; | ||
@@ -70,2 +81,2 @@ }(NewElementBuilder); | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9ub2RlL2xpYi9zZXJpYWxpemUtYnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLEFBQU8sU0FBRSxBQUFpQixtQkFBMEIsQUFBYyxBQUFlLHNCQUFNLEFBQWtCLEFBQUM7QUFJMUcscUJBQXFCLEFBQThFO0FBQ2pHLEFBQUksUUFBRSxB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IFRFWFRfTk9ERSkge1xuICAgICAgdGhpcy5fX2FwcGVuZENvbW1lbnQoJyVzZXAlJyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHN1cGVyLl9fYXBwZW5kVGV4dChzdHJpbmcpO1xuICB9XG5cbiAgcHVzaFJlbW90ZUVsZW1lbnQoZWxlbWVudDogU2ltcGxlLkVsZW1lbnQsIGN1cnNvcklkOiBzdHJpbmcsICBuZXh0U2libGluZzogT3B0aW9uPFNpbXBsZS5Ob2RlPiA9IG51bGwpIHtcbiAgICBsZXQgeyBkb20gfSA9IHRoaXM7XG4gICAgbGV0IHNjcmlwdCA9IGRvbS5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtcbiAgICBzY3JpcHQuc2V0QXR0cmlidXRlKCdpZCcsIGN1cnNvcklkKTtcbiAgICBkb20uaW5zZXJ0QmVmb3JlKGVsZW1lbnQsIHNjcmlwdCwgbmV4dFNpYmxpbmcpO1xuICAgIHN1cGVyLnB1c2hSZW1vdGVFbGVtZW50KGVsZW1lbnQsIGN1cnNvcklkLCBuZXh0U2libGluZyk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHNlcmlhbGl6ZUJ1aWxkZXIoZW52OiBFbnZpcm9ubWVudCwgY3Vyc29yOiB7IGVsZW1lbnQ6IFNpbXBsZS5FbGVtZW50LCBuZXh0U2libGluZzogT3B0aW9uPFNpbXBsZS5Ob2RlPiB9KSB7XG4gIHJldHVybiBTZXJpYWxpemVCdWlsZGVyLmZvckluaXRpYWxSZW5kZXIoZW52LCBjdXJzb3IpO1xufVxuIl19 |
{ | ||
"name": "@glimmer/node", | ||
"version": "0.29.1", | ||
"version": "0.29.2", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/node", | ||
"dependencies": { | ||
"@glimmer/runtime": "^0.29.1", | ||
"@glimmer/compiler": "^0.29.1", | ||
"@glimmer/interfaces": "^0.29.1", | ||
"@glimmer/object-reference": "^0.29.1", | ||
"@glimmer/runtime": "^0.29.2", | ||
"@glimmer/compiler": "^0.29.2", | ||
"@glimmer/interfaces": "^0.29.2", | ||
"@glimmer/object-reference": "^0.29.2", | ||
"simple-dom": "^0.3.0" | ||
@@ -11,0 +11,0 @@ }, |
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
73079
577
Updated@glimmer/compiler@^0.29.2
Updated@glimmer/interfaces@^0.29.2
Updated@glimmer/runtime@^0.29.2