Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Aug 22, 2017
1 parent 8158b02 commit d5486fc
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 20 deletions.
6 changes: 6 additions & 0 deletions dist/dom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export interface IDom {
*/
createElement(tagName: string): Element;
/**
* Creates the specified HTML attribute
* @param name A string that specifies the name of attribute to be created.
* @return The created attribute.
*/
createAttribute(name: string): Attr;
/**
* Creates a new Text node.
* @param text A string to populate the new Text node.
* @return A Text node.
Expand Down
1 change: 1 addition & 0 deletions dist/dom.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/feature.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export interface IGlobal extends Window {
import { DOMWindow, JSDOM } from 'jsdom';
export interface IGlobal extends DOMWindow {
MutationObserver: typeof MutationObserver;
Element: typeof Element;
jsdom: typeof JSDOM;
SVGElement: typeof SVGElement;
XMLHttpRequest: typeof XMLHttpRequest;
CustomEvent: typeof CustomEvent;
Expand Down
1 change: 1 addition & 0 deletions dist/global.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference path="nodejs-global.d.ts" />
/// <reference types="node" />
/**
* Initializes the PAL with the NodeJS-targeted implementation.
*/
Expand All @@ -8,3 +7,4 @@ export declare function initialize(): void;
* @description initializes and makes variables like 'window' into NodeJS globals
*/
export declare function globalize(): NodeJS.Global;
export declare function reset(window?: Window): void;
11 changes: 10 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/nodejs-dom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ export declare class NodeJsDom implements IDom {
addEventListener(eventName: string, callback: EventListener, capture: boolean): void;
removeEventListener(eventName: string, callback: EventListener, capture: boolean): void;
createElement(tagName: string): Element;
createAttribute(name: string): Attr;
createTextNode(text: string): Text;
createComment(text: string): Comment;
createDocumentFragment(): DocumentFragment;
createTemplateElement(): HTMLTemplateElement;
createMutationObserver(callback: (changes: MutationRecord[], instance: MutationObserver) => void): MutationObserver;
createCustomEvent(eventType: string, options: Object): CustomEvent;
dispatchEvent(evt: Event): void;
Expand Down
7 changes: 7 additions & 0 deletions dist/nodejs-dom.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d5486fc

Please sign in to comment.