From 97f591c7dfe500f21a66238ee64b4b074c2e4d3a Mon Sep 17 00:00:00 2001 From: Phips Peter Date: Wed, 24 Sep 2014 11:15:28 -0700 Subject: [PATCH] Reformatting for style changes with IntelliJ Just want to uphold good style. --- react/react.d.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/react/react.d.ts b/react/react.d.ts index 020eb1fd6..c97810448 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -5,12 +5,19 @@ declare module "react" { export function createClass(specification: Specification): Factory

; + export function renderComponent(component: Descriptor, container: Element, callback?: () => void): void; + export function unmountComponentAtNode(container: Element): boolean; + export function renderComponentToString(component: Descriptor): string; + export function renderComponentToStaticMarkup(component: Descriptor): string; + export function isValidClass(factory: Factory): boolean; + export function isValidComponent(component: Descriptor): boolean; + export function initializeTouchEvents(shouldUseTouch: boolean): void; export interface Descriptor

{ @@ -47,7 +54,7 @@ declare module "react" { getDomNode(): Element; } - export interface Component extends DomReferencer{ + export interface Component extends DomReferencer { refs: { [key: string]: DomReferencer }; @@ -129,7 +136,7 @@ declare module "react" { } // Events - export interface SyntheticEvent { + export interface SyntheticEvent { bubbles: boolean; cancelable: boolean; currentTarget: EventTarget; @@ -386,9 +393,11 @@ declare module "react" { y?: any; } - interface DomElement extends Factory {} + interface DomElement extends Factory { + } - interface SvgElement extends Factory {} + interface SvgElement extends Factory { + } export var DOM: { // HTML