Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.53 KB | None | 0 0
  1. 332,336d331
  2. <        * Whether the user has initiated crop on this instance
  3. <        */    
  4. <       this.isCropped = false;
  5. <       /**
  6. <        * @var boolean
  7. 1140,1142c1135
  8. <      
  9. <       this.isCropped = true;
  10. <      
  11. ---
  12. >
  13. 1253,1261c1246,1252
  14. <       if(this.isCropped) {       
  15. <           this.options.onEndCrop(
  16. <               this.areaCoords,
  17. <               {
  18. <                   width: this.calcW(),
  19. <                   height: this.calcH()
  20. <               }
  21. <           );
  22. <       }
  23. ---
  24. >       this.options.onEndCrop(
  25. >           this.areaCoords,
  26. >           {
  27. >               width: this.calcW(),
  28. >               height: this.calcH()
  29. >           }
  30. >       );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement