From 08d6ceaddf4b1db5a80c0e4d0d9f4a54d6233a54 Mon Sep 17 00:00:00 2001 From: Jono Menz Date: Wed, 20 Aug 2014 14:32:50 +0930 Subject: [PATCH] Prepared for submission to plugin repository Added necessary .json file and updated licensing info --- MIT-LICENSE.txt | 21 +++++++++++++++++++++ focuspoint.jquery.json | 32 ++++++++++++++++++++++++++++++++ js/jquery.focuspoint.js | 2 +- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 MIT-LICENSE.txt create mode 100644 focuspoint.jquery.json diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt new file mode 100644 index 0000000..7f1e8a2 --- /dev/null +++ b/MIT-LICENSE.txt @@ -0,0 +1,21 @@ +Copyright 2014 Jonathon Menz and other contributors, +https://github.com/jonom/jquery-focuspoint + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/focuspoint.jquery.json b/focuspoint.jquery.json new file mode 100644 index 0000000..1433489 --- /dev/null +++ b/focuspoint.jquery.json @@ -0,0 +1,32 @@ +{ + "name": "focuspoint", + "title": "jQuery FocusPoint", + "description": "jQuery plugin for 'responsive cropping'. Dynamically crop images to fill available space without cutting out the image's subject. Great for full-screen images.", + "keywords": [ + "crop", + "cropping", + "image", + "responsive", + "fill", + "background", + "full-screen", + "focus", + "focuspoint" + ], + "version": "1.0.0", + "author": { + "name": "Jonathon Menz", + "url": "http://jonathonmenz.com" + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/jonom/jquery-focuspoint/blob/1.0.0/MIT-LICENSE.txt" + } + ], + "bugs": "https://github.com/jonom/jquery-focuspoint/issues", + "homepage": "https://github.com/jonom/jquery-focuspoint", + "dependencies": { + "jquery": ">=1.9" + } +} \ No newline at end of file diff --git a/js/jquery.focuspoint.js b/js/jquery.focuspoint.js index caa4bdf..7d800df 100755 --- a/js/jquery.focuspoint.js +++ b/js/jquery.focuspoint.js @@ -2,7 +2,7 @@ * jQuery FocusPoint; version: 1.0.0 * Author: http://jonathonmenz.com * Source: https://github.com/jonom/jquery-focuspoint - * Copyright (c) 2014 J. Menz; Dual licensed: MIT/GPL + * Copyright (c) 2014 J. Menz; MIT License */ ; (function($) {