From bdac06a1ca8f5f1cc0648ba7f3a065d1df634185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Cevey?= Date: Mon, 29 Sep 2014 11:48:47 +0100 Subject: [PATCH 1/3] Add jquery.Jcrop override --- .../github/tapmodo/Jcrop@0.9.12.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package-overrides/github/tapmodo/Jcrop@0.9.12.json diff --git a/package-overrides/github/tapmodo/Jcrop@0.9.12.json b/package-overrides/github/tapmodo/Jcrop@0.9.12.json new file mode 100644 index 0000000..60c2e72 --- /dev/null +++ b/package-overrides/github/tapmodo/Jcrop@0.9.12.json @@ -0,0 +1,16 @@ +{ + "main": "js/jquery.Jcrop", + "shim": { + "js/jquery.Jcrop": [ + "jquery" + ] + }, + "files": [ + "js/jquery.Jcrop.js", + "css/Jcrop.gif", + "css/jquery.Jcrop.css" + ], + "buildConfig": { + "uglify": true + } +} From 0e569c728f9fafed28e985d4c642ab23d582151b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Cevey?= Date: Mon, 29 Sep 2014 12:04:48 +0100 Subject: [PATCH 2/3] Add jquery as a dependency --- package-overrides/github/tapmodo/Jcrop@0.9.12.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package-overrides/github/tapmodo/Jcrop@0.9.12.json b/package-overrides/github/tapmodo/Jcrop@0.9.12.json index 60c2e72..bbd6f89 100644 --- a/package-overrides/github/tapmodo/Jcrop@0.9.12.json +++ b/package-overrides/github/tapmodo/Jcrop@0.9.12.json @@ -1,5 +1,8 @@ { "main": "js/jquery.Jcrop", + "dependencies": { + "jquery": "*" + }, "shim": { "js/jquery.Jcrop": [ "jquery" From a008428c3e8532725af56b4c740ab1b9e6385aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Cevey?= Date: Mon, 29 Sep 2014 12:07:28 +0100 Subject: [PATCH 3/3] add jcrop to registry --- registry.json | 1 + 1 file changed, 1 insertion(+) diff --git a/registry.json b/registry.json index 7e3cfc0..b00d58c 100644 --- a/registry.json +++ b/registry.json @@ -35,6 +35,7 @@ "handlebars": "github:components/handlebars.js", "handlebars.js": "github:components/handlebars.js", "intro": "github:usablica/intro.js", + "jcrop": "github:tapmodo/Jcrop", "jiff": "github:cujojs/jiff", "jquery": "github:components/jquery", "jquery-file-upload": "github:blueimp/jQuery-File-Upload",