Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Version 4 introduces better support for HiDPI (Retina) displays. It allows you t

## Upgrading to Version 4

There is only 1 breaking change that occured with the version 4 release. When you initialize CamanJS with a canvas and an image, the parameter order has changed. It is now:
There is only 1 breaking change that occurred with the version 4 release. When you initialize CamanJS with a canvas and an image, the parameter order has changed. It is now:

``` javascript
Caman("#canvas-id", "/path/to/image.png", function() {});
Expand Down
2 changes: 1 addition & 1 deletion src/core/caman.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ class Caman extends Module
@replaceCanvas(canvas)

# Returns the original pixel data while maintaining any
# cropping or resizing that may have occured.
# cropping or resizing that may have occurred.
# **Warning**: this is currently in beta status.
#
# @return [Array] Original pixel values still visible after cropping or resizing.
Expand Down