Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

jbrudvik/equatable-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Bower version

EquatableSelection()

An object for observing and comparing current text selections.

When instantiated, captures the current selection and computes a count of words and characters selected.

May be compared for equality against other EquatableSelection instances.

Should be treated as immutable.

EquatableSelection.isEqual(other:EquatableSelection)

Return true if two EquatableSelection objects are equal, false otherwise

Development

Generate documentation

$ npm install -g dox
$ ./generate-docs > README.md

Deploy

Where X.Y.Z is the new version number:

$ git tag -a vX.Y.Z
$ git push --tags

About

Observes and compares text selections

Resources

License

Stars

Watchers

Forks

Packages

No packages published