commit | 61e00a9ae8bd9d905327a782ad5c947abe452681 | [log] [tgz] |
---|---|---|
author | brohlfs <brohlfs@google.com> | Tue Mar 26 12:52:45 2019 +0100 |
committer | brohlfs <brohlfs@google.com> | Tue Mar 26 12:53:37 2019 +0100 |
tree | d4745c544f9b5484c364c5a2dc01ce07094312eb | |
parent | d4392949ca0a1b7d0eb8ce62de226884a0a7874b [diff] |
Pass require() as an externs def to the JS compiler. Bug: Issue 10653 Change-Id: I2bb56a8069e7a9f6f8b323f7cae62de948db9a44
A plugin that provides a rich image diffing experience in PolyGerrit. Currently, the plugin features two modes: Highlight Mode and Onion Skin.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Yarn - Node package manager
Use Homebrew to install yarn on macOS:
brew install yarn
Reference here for instruction on how to install on other systems.
Clone the repo and run
yarn install
to install the dependencies.
This mode uses the Resemble.JS (1.2.1) library in its development The following features are included in this mode:
Onion Skin mode is a great way for users to notice changes in the images that might be overlooked when you look at them side by side. By overlaying the new image on top of the old image, the users can change the opacity to see the transition that were made.
The following features are included in this mode:
This plugin uses polymer-cli to test.
Inside your image-diff repo, run polymer serve
to start a local web server and open localhost:8080/test
to view your tests. See here for more info.
Reference here on how to set up your Gerrit testsite and here for PolyGerrit plugin development.