Created
September 27, 2011 16:59
-
-
Save nbartlomiej/1245611 to your computer and use it in GitHub Desktop.
Lisense API draft, callbacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wordsPerSentenceNotifier = new Notifier(wordCounter, sentenceCounter); | |
wordsPerSentenceNotifier.evaluate = function(wordCount, sentenceCount){ | |
if(wordCount/sentenceCount>50){ | |
var n = new Notification("I am so not going to read it."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment