Skip to content

Commit

Permalink
Updated JSBin and changed the html demo parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanBishop committed Jun 5, 2015
1 parent 094a613 commit f98eb6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ An image cropping tool for AngularJS. Features a rectangular crop area. The crop

## Live demo

[Live demo on JSBin](http://output.jsbin.com/fukeqe/8/)
[Live demo on JSBin](http://jsbin.com/fukeqe/9/)

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion test/cropper-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div ng-controller="ImageCropperCtrl as ctrl">
<input type="file" img-cropper-fileread image="cropper.sourceImage" />
<div>
<canvas width="500" height="300" id="canvas" image-cropper image="cropper.sourceImage" cropped-image="cropper.croppedImage" crop-width="400" crop-height="200" min-width="200" min-height="100" keep-aspect="true" crop-area-bounds="bounds"></canvas>
<canvas width="500" height="300" id="canvas" image-cropper image="cropper.sourceImage" cropped-image="cropper.croppedImage" crop-width="400" crop-height="200" min-width="100" min-height="50" keep-aspect="true" crop-area-bounds="bounds"></canvas>
</div>
<div>Cropped Image (Left: {{bounds.left}} Right: {{bounds.right}} Top: {{bounds.top}} Bottom: {{bounds.bottom}})</div>
<div ng-show="cropper.croppedImage!=null"><img ng-src="{{cropper.croppedImage}}" /></div>
Expand Down

0 comments on commit f98eb6b

Please sign in to comment.