Comparing version 3.5.0 to 3.6.0
@@ -110,3 +110,3 @@ export declare type IBobrilChild = boolean | string | IBobrilNode; | ||
export declare function postEnhance(node: IBobrilNode, methods: IBobrilComponent): IBobrilNode; | ||
export declare function assign(target: Object, source: Object): Object; | ||
export declare function assign(target: Object, ...sources: Object[]): Object; | ||
export declare function preventDefault(event: Event): void; | ||
@@ -287,1 +287,15 @@ export declare function cloneNode(node: IBobrilNode): IBobrilNode; | ||
export declare function svgRect(x: number, y: number, width: number, height: number): string; | ||
export interface IL10NConfig { | ||
defaultLocale?: string; | ||
pathToIntlJs?: string; | ||
pathToIntlLocaleDataJsonp?: string; | ||
pathToIntlMessageFormatJs?: string; | ||
pathToIntlMessageFormatLocaleData?: string; | ||
pathToTranslation?: (locale: string) => string; | ||
} | ||
export declare function jsonp(url: string): Promise<any>; | ||
export declare function t(message: string | number, params?: Object, translationHelp?: string): string; | ||
export declare function initLocalization(config?: IL10NConfig): Promise<any>; | ||
export declare function setLocale(locale: string): Promise<any>; | ||
export declare function getLocale(): string; | ||
export declare function registerTranslations(locale: string, msgs: string[]): void; |
{ | ||
"name": "bobril", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "Component Oriented MVC Framework with virtual DOM and CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
{ | ||
"version": "1.5.0-alpha", | ||
"version": "1.5.0-beta", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"target": "es6", | ||
"module": "commonjs", | ||
@@ -6,0 +6,0 @@ "declaration": true, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
287269
8225
5