@atjson/renderer-hir
Advanced tools
Comparing version 0.13.5 to 0.13.6
@@ -6,2 +6,11 @@ # Change Log | ||
## [0.13.6](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/renderer-hir@0.13.5...@atjson/renderer-hir@0.13.6) (2019-04-10) | ||
### π Fixes | ||
* π βοΈ Fix React Renderer so it works again ([#124](https://github.com/CondeNast-Copilot/atjson/issues/124)) | ||
## [0.13.5](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/renderer-hir@0.13.4...@atjson/renderer-hir@0.13.5) (2019-03-21) | ||
@@ -8,0 +17,0 @@ |
@@ -16,3 +16,3 @@ import Document, { Annotation, AnnotationJSON } from '@atjson/document'; | ||
export default class Renderer { | ||
static render(document: Document): any; | ||
static render(document: Document, ...args: any[]): any; | ||
renderAnnotation(annotation: Annotation, context: Context): IterableIterator<any>; | ||
@@ -19,0 +19,0 @@ root(): IterableIterator<any>; |
@@ -95,4 +95,4 @@ "use strict"; | ||
class Renderer { | ||
static render(document) { | ||
let renderer = new this(); | ||
static render(document, ...args) { | ||
let renderer = new this(...args); | ||
return compile(renderer, new hir_1.HIR(document).rootNode, { document }); | ||
@@ -115,2 +115,2 @@ } | ||
exports.default = Renderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBMkQ7QUFNM0QsTUFBTSxNQUFNLEdBQVk7SUFDdEIsR0FBRyxFQUFFLE9BQU87SUFDWixHQUFHLEVBQUUsTUFBTTtJQUNYLEdBQUcsRUFBRSxNQUFNO0lBQ1gsR0FBRyxFQUFFLFFBQVE7SUFDYixJQUFJLEVBQUUsUUFBUTtJQUNkLEdBQUcsRUFBRSxRQUFRO0lBQ2IsR0FBRyxFQUFFLFFBQVE7Q0FDZCxDQUF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EVBQUUsT0FBTyxDQUFDLENBQUM7U0FDekQ7UUFDRCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFRCxDQUFDLElBQUk7UUFDSCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFRCxJQUFJLENBQUMsSUFBWSxFQUFFLENBQVU7UUFDM0IsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUF4QkQsMkJBd0JDIn0= |
@@ -16,3 +16,3 @@ import Document, { Annotation, AnnotationJSON } from '@atjson/document'; | ||
export default class Renderer { | ||
static render(document: Document): any; | ||
static render(document: Document, ...args: any[]): any; | ||
renderAnnotation(annotation: Annotation, context: Context): IterableIterator<any>; | ||
@@ -19,0 +19,0 @@ root(): IterableIterator<any>; |
@@ -91,4 +91,4 @@ import { HIR, TextAnnotation } from '@atjson/hir'; | ||
export default class Renderer { | ||
static render(document) { | ||
let renderer = new this(); | ||
static render(document, ...args) { | ||
let renderer = new this(...args); | ||
return compile(renderer, new HIR(document).rootNode, { document }); | ||
@@ -110,2 +110,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLEdBQUcsRUFBVyxjQUFjLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFNM0QsTUFBTSxNQUFNLEdBQVk7SUFDdEIsR0FBRyxFQUFFLE9BQU87SUFDWixHQUFHLEVBQUUsTUFBTTtJQUNYLEdBQUcsRUFBRSxNQUFNO0lBQ1gsR0FBRyxFQUFFLFFBQVE7SUFDYixJQUFJLEVBQUUsUUFBUTtJQUNkLEdBQUcsRUFBRSxRQUFRO0lBQ2IsR0FBRyxFQUFFLFFBQVE7Q0FDZCxDQUFDO0FBSUYsTUFBTSxV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QUMsQ0FBQztTQUN6RDtRQUNELE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVELENBQUMsSUFBSTtRQUNILE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVELElBQUksQ0FBQyxJQUFZLEVBQUUsQ0FBVTtRQUMzQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7Q0FDRiJ9 |
{ | ||
"name": "@atjson/renderer-hir", | ||
"version": "0.13.5", | ||
"version": "0.13.6", | ||
"description": "A brand new TypeScript library.", | ||
@@ -22,3 +22,3 @@ "main": "dist/commonjs/index.js", | ||
}, | ||
"gitHead": "ce59797d9035473355a2b26045c9d49ebca8dcfb" | ||
"gitHead": "3e6d93820b905282c1ccedcbaae7958f551050a8" | ||
} |
@@ -121,4 +121,5 @@ import Document, { Annotation, AnnotationJSON } from '@atjson/document'; | ||
static render(document: Document) { | ||
let renderer = new this(); | ||
static render(document: Document, ...args: any[]) { | ||
// @ts-ignore | ||
let renderer = new this(...args); | ||
@@ -125,0 +126,0 @@ return compile(renderer, new HIR(document).rootNode, { document }); |
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
44701
416