Skip to content

DOM tree mirroring implementation using mutation observers

License

Notifications You must be signed in to change notification settings

sourcec0de/tree-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tree-mirror

This node module provides a way to observe DOM tree changes and mirror them between two parties.

To see how this works check the README.md in the build directory.

Development

Make sure node and npm is installed. Then installed the required development dependencies by navigating to the project root and issuing

npm install

You can run the Webpack development server via

npm run watch

Alternatively you can build the dev or production versions respectively

npm run build:dev
npm run build:prod

which will output to the build directory. However if you are running the dev server, you will not see any file saved.

Tests

To run unit tests use

npm run test:unit

To run integration tests in browser with Karma use

npm run test:integration

To run all tests in a single run use

npm run test:all

Other

To remove bundles and logs we use the cleanup gulp task

npm run clean

About

DOM tree mirroring implementation using mutation observers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published