forked from scottcheng/cropit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed rendering mechanism, markup structure, and class names
Breaking change: .cropit-image-preview is now .cropit-preview. .cropit-image-preview-container is no longer needed even for image background. New markup: ``` .cropit-preview .cropit-preview-background-container img.cropit-preview-background .cropit-preview-image-container img.cropit-preview-image ``` Only .cropit-preview is required when initiating the pluging. All other elements are generated within cropit. Now preview image is rendered as a `<img>` tag, and both preview image and background image are moved around using CSS transform. Improved performance using `will-change`.
- Loading branch information
Scott Cheng
committed
Feb 27, 2016
1 parent
f6eb24f
commit b1f1d01
Showing
12 changed files
with
172 additions
and
337 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.