Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 6a80961

Browse files
committed
chore(release): 0.0.1-alpha.20
1 parent 5b47bb2 commit 6a80961

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-react-native",
3-
"version": "0.0.1-alpha.19",
3+
"version": "0.0.1-alpha.20",
44
"description": "A React Native renderer for Angular 2",
55
"scripts": {
66
"test": "gulp test.browser/ci",

src/renderer/renderer.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ export class ReactNativeElementSchemaRegistry extends ElementSchemaRegistry {
4747
validateAttribute(name: string): {error: boolean; msg?: string} {
4848
return {error: false};
4949
}
50+
allKnownElementNames(): string[] {
51+
return [];
52+
}
53+
normalizeAnimationStyleProperty(propName: string): string {
54+
return propName;
55+
}
56+
normalizeAnimationStyleValue(
57+
camelCaseProp: string, userProvidedProp: string,
58+
val: string|number): {error: string, value: string} {
59+
return {error: null, value: '' + val}
60+
}
5061
}
5162

5263
export class ReactNativeSanitizer implements Sanitizer {

0 commit comments

Comments
 (0)