{"action":"created","issue":{"url":"https://api.github.com/repos/fengyuanchen/cropper/issues/364","labels_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/364/comments","events_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/364/events","html_url":"https://github.com/fengyuanchen/cropper/issues/364","id":91327690,"number":364,"title":"cropper is not a function","user":{"login":"hwaynefair","id":5210784,"avatar_url":"https://avatars.githubusercontent.com/u/5210784?v=3","gravatar_id":"","url":"https://api.github.com/users/hwaynefair","html_url":"https://github.com/hwaynefair","followers_url":"https://api.github.com/users/hwaynefair/followers","following_url":"https://api.github.com/users/hwaynefair/following{/other_user}","gists_url":"https://api.github.com/users/hwaynefair/gists{/gist_id}","starred_url":"https://api.github.com/users/hwaynefair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwaynefair/subscriptions","organizations_url":"https://api.github.com/users/hwaynefair/orgs","repos_url":"https://api.github.com/users/hwaynefair/repos","events_url":"https://api.github.com/users/hwaynefair/events{/privacy}","received_events_url":"https://api.github.com/users/hwaynefair/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T18:28:21Z","updated_at":"2015-06-29T14:07:14Z","closed_at":"2015-06-29T13:48:36Z","body":"Love your extensive documentation - but especially all the functionality built into this cropper!\r\n\r\nBUT - for the  life of me I cannot get it to work inside an ASP MVC application!\r\n\r\nI've worked iwth java script for years - and typically can take such projects like this and incorporate into my web applications - but not so here...\r\n\r\nI've tried everything from the \"quick start\" suggested - to importing everything from the demo project - being sure to check css and script links etc..... but I STILL can't get it to work - and always (whatever my approach) get the dreaded \"cropper is not a function\".\r\n\r\nIs there any way you you possibly help me? I'd love to use this cropper if at all possible.\r\n\r\nThanks so much!!!\r\n\r\nWayne Fair\r\n\r\n////////////////////////////\r\nUPDATE:\r\nI DID get it to work sort of...\r\nBut what I have discovered is that if I put any of the method calls inside another function - I still get the \"cropper is not a function\"\r\n \r\nLike:\r\n function btnClicked() {\r\n           $().cropper('getCroppedCanvas');\r\n\r\n           $().cropper('getCroppedCanvas', {\r\n               width: 160,\r\n               height: 90\r\n           });\r\n  \r\n        };\r\n "},"comment":{"url":"https://api.github.com/repos/fengyuanchen/cropper/issues/comments/116681120","html_url":"https://github.com/fengyuanchen/cropper/issues/364#issuecomment-116681120","issue_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/364","id":116681120,"user":{"login":"fengyuanchen","id":3456749,"avatar_url":"https://avatars.githubusercontent.com/u/3456749?v=3","gravatar_id":"","url":"https://api.github.com/users/fengyuanchen","html_url":"https://github.com/fengyuanchen","followers_url":"https://api.github.com/users/fengyuanchen/followers","following_url":"https://api.github.com/users/fengyuanchen/following{/other_user}","gists_url":"https://api.github.com/users/fengyuanchen/gists{/gist_id}","starred_url":"https://api.github.com/users/fengyuanchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengyuanchen/subscriptions","organizations_url":"https://api.github.com/users/fengyuanchen/orgs","repos_url":"https://api.github.com/users/fengyuanchen/repos","events_url":"https://api.github.com/users/fengyuanchen/events{/privacy}","received_events_url":"https://api.github.com/users/fengyuanchen/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T14:07:13Z","updated_at":"2015-06-29T14:07:13Z","body":"Thank you too @hwaynefair."}}