Ievgen Naida 5 年 前
コミット
6b5b097fc4
1 ファイル変更8 行追加9 行削除
  1. 8 9
      README.md

+ 8 - 9
README.md

@@ -48,17 +48,16 @@ Features:
 
 
 ```TypeScript
 ```TypeScript
 import {
 import {
-  default as timeline,
   TimelineOptions,
   TimelineOptions,
-  Timeline,
-  AnimationTimelineLane,
-  ScrollEventArgs
+  Timeline
 } from "animation-timeline-js";
 } from "animation-timeline-js";
 
 
-timeline.initialize({ id: 'timeline' });
+  const options = new TimelineOptions();
+  options.id = 'timeline';
+  new Timeline(options);
 ```
 ```
 
 
-### Draw the outline tree
+### Draw outline tree
 
 
 Scroll events can be synchronized with the outline at the left side of the control.
 Scroll events can be synchronized with the outline at the left side of the control.
 
 
@@ -69,7 +68,7 @@ Scroll events can be synchronized with the outline at the left side of the contr
 
 
 ```
 ```
 
 
-## Data structure
+## Model
 
 
 ### Events
 ### Events
 
 
@@ -111,13 +110,13 @@ to pack JavaScript as a bundle:
   npm run build
   npm run build
 ```
 ```
 
 
-### Build tests:
-
+### Build Tests
 To build TypeScript unittests command should be executed: 
 To build TypeScript unittests command should be executed: 
 ```bash
 ```bash
   npm run build-tests
   npm run build-tests
 ```
 ```
 
 
+### Run Tests
 Tests execution can be started by opening tests/unittests.html. 
 Tests execution can be started by opening tests/unittests.html. 
 External mocha libs are used so internet is required.
 External mocha libs are used so internet is required.