lo-tp / sm2-plus

A Javascript Implementation of an Improved Version of Spaced Repetition Algorithm.
https://www.npmjs.com/package/sm2-plus
MIT License
54 stars 10 forks source link

Little typos in README.md code example #3

Closed UtkuKaan closed 7 years ago

UtkuKaan commented 7 years ago
  1. import { simulte } from 'sm2-plus'
    simulate(0.3, 0.1);

Trying to import named export simulate as simulte.

2.

const testWord = {
  word: 'test',
  update: TODAY - 17,    
  difficulty: 0.2,
  interval: 100,
}; 

interval: 100, -----> interval: 100

lo-tp commented 7 years ago

@UtkuKaan

UtkuKaan commented 7 years ago

@lo-tp

interval: 100, -----> interval: 100 (no comma at the end 😃)

Thanks 👍