From 5e0697262683fa3c0adfcc001d86a1a2760a996d Mon Sep 17 00:00:00 2001 From: Sanyam Jain Date: Fri, 22 May 2015 20:22:31 +0530 Subject: [PATCH 1/2] UPDATE UI-IC0NPICKER TO WORK WITH ANGULAR 1.3.15 AND BOOTSTRAP 0.13.0 --- dist/scripts/ui-iconpicker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/scripts/ui-iconpicker.js b/dist/scripts/ui-iconpicker.js index 0afc463..df282b8 100644 --- a/dist/scripts/ui-iconpicker.js +++ b/dist/scripts/ui-iconpicker.js @@ -5,17 +5,17 @@ * @author Justin Lau * @copyright Copyright (c) 2014 Justin Lau * @license The MIT License (MIT) - * + * * 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 @@ -153,7 +153,7 @@ module = angular.module("ui-iconpicker/templates/iconpicker", ["ui.bootstrap"]); return module.run([ "$templateCache", function($templateCache) { - return $templateCache.put("templates/iconpicker.html", "\n \n
    \n
  • \n \n
  • \n
\n \n
"); + return $templateCache.put("templates/iconpicker.html", "\n \n
    \n
  • \n \n
  • \n
\n \n
"); } ]); }); From fa7bcb37c77c8501df83c275e3f3c703f862032f Mon Sep 17 00:00:00 2001 From: Sanyam Jain Date: Sat, 23 May 2015 10:52:36 +0530 Subject: [PATCH 2/2] UPDATE TEMPLATE AND VERSION UI-ICONPICKER --- bower.json | 6 +++--- dist/scripts/ui-iconpicker.js | 2 +- dist/scripts/ui-iconpicker.min.js | 4 ++-- dist/styles/ui-iconpicker.css | 8 ++++---- dist/styles/ui-iconpicker.min.css | 2 +- package.json | 2 +- src/scripts/templates/iconpicker.coffee | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bower.json b/bower.json index d3051b5..87d5c05 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "ui-iconpicker", "description": "Bootstrap 3 Icon Picker for AngularJS", - "version": "0.1.4", + "version": "0.1.5", "keywords": [ "Bootstrap", "Font Awesome", @@ -21,8 +21,8 @@ "url": "https://github.com/justin-lau/ui-iconpicker" }, "dependencies": { - "angular": "~1.2.16", - "angular-bootstrap": "~0.10.0", + "angular": "~1.3.15", + "angular-bootstrap": "~0.13.0", "requirejs": "~2.1.11" }, "devDependencies": { diff --git a/dist/scripts/ui-iconpicker.js b/dist/scripts/ui-iconpicker.js index df282b8..207910b 100644 --- a/dist/scripts/ui-iconpicker.js +++ b/dist/scripts/ui-iconpicker.js @@ -153,7 +153,7 @@ module = angular.module("ui-iconpicker/templates/iconpicker", ["ui.bootstrap"]); return module.run([ "$templateCache", function($templateCache) { - return $templateCache.put("templates/iconpicker.html", "\n \n
    \n
  • \n \n
  • \n
\n \n
"); + return $templateCache.put("templates/iconpicker.html", "\n \n
    \n
  • \n \n
  • \n
\n \n
"); } ]); }); diff --git a/dist/scripts/ui-iconpicker.min.js b/dist/scripts/ui-iconpicker.min.js index 370326f..8dd9932 100644 --- a/dist/scripts/ui-iconpicker.min.js +++ b/dist/scripts/ui-iconpicker.min.js @@ -1,6 +1,6 @@ /* - ui-iconpicker v0.1.4 + ui-iconpicker v0.1.5 (c) 2014 Justin Lau http://justin-lau.github.io/ui-iconpicker/ License: MIT */ -(function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("values/icon-groups-map",["angular"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/values/icon-groups-map",[]),o.value("iconGroupsMap",{bootstrap:{prefix:"glyphicon glyphicon-",classes:["asterisk","plus","euro","minus","cloud","envelope","pencil","glass","music","search","heart","star","star-empty","user","film","th-large","th","th-list","ok","remove","zoom-in","zoom-out","off","signal","cog","trash","home","file","time","road","download-alt","download","upload","inbox","play-circle","repeat","refresh","list-alt","lock","flag","headphones","volume-off","volume-down","volume-up","qrcode","barcode","tag","tags","book","bookmark","print","camera","font","bold","italic","text-height","text-width","align-left","align-center","align-right","align-justify","list","indent-left","indent-right","facetime-video","picture","map-marker","adjust","tint","edit","share","check","move","step-backward","fast-backward","backward","play","pause","stop","forward","fast-forward","step-forward","eject","chevron-left","chevron-right","plus-sign","minus-sign","remove-sign","ok-sign","question-sign","info-sign","screenshot","remove-circle","ok-circle","ban-circle","arrow-left","arrow-right","arrow-up","arrow-down","share-alt","resize-full","resize-small","exclamation-sign","gift","leaf","fire","eye-open","eye-close","warning-sign","plane","calendar","random","comment","magnet","chevron-up","chevron-down","retweet","shopping-cart","folder-close","folder-open","resize-vertical","resize-horizontal","hdd","bullhorn","bell","certificate","thumbs-up","thumbs-down","hand-right","hand-left","hand-up","hand-down","circle-arrow-right","circle-arrow-left","circle-arrow-up","circle-arrow-down","globe","wrench","tasks","filter","briefcase","fullscreen","dashboard","paperclip","heart-empty","link","phone","pushpin","usd","gbp","sort","sort-by-alphabet","sort-by-alphabet-alt","sort-by-order","sort-by-order-alt","sort-by-attributes","sort-by-attributes-alt","unchecked","expand","collapse-down","collapse-up","log-in","flash","log-out","new-window","record","save","open","saved","import","export","send","floppy-disk","floppy-saved","floppy-remove","floppy-save","floppy-open","credit-card","transfer","cutlery","header","compressed","earphone","phone-alt","tower","stats","sd-video","hd-video","subtitles","sound-stereo","sound-dolby","sound-5-1","sound-6-1","sound-7-1","copyright-mark","registration-mark","cloud-download","cloud-upload","tree-conifer","tree-deciduous"]},"font-awesome":{prefix:"fa fa-lg fa-",classes:["glass","music","search","envelope-o","heart","star","star-o","user","film","th-large","th","th-list","check","times","search-plus","search-minus","power-off","signal","gear","cog","trash-o","home","file-o","clock-o","road","download","arrow-circle-o-down","arrow-circle-o-up","inbox","play-circle-o","rotate-right","repeat","refresh","list-alt","lock","flag","headphones","volume-off","volume-down","volume-up","qrcode","barcode","tag","tags","book","bookmark","print","camera","font","bold","italic","text-height","text-width","align-left","align-center","align-right","align-justify","list","dedent","outdent","indent","video-camera","picture-o","pencil","map-marker","adjust","tint","edit","pencil-square-o","share-square-o","check-square-o","arrows","step-backward","fast-backward","backward","play","pause","stop","forward","fast-forward","step-forward","eject","chevron-left","chevron-right","plus-circle","minus-circle","times-circle","check-circle","question-circle","info-circle","crosshairs","times-circle-o","check-circle-o","ban","arrow-left","arrow-right","arrow-up","arrow-down","mail-forward","share","expand","compress","plus","minus","asterisk","exclamation-circle","gift","leaf","fire","eye","eye-slash","warning","exclamation-triangle","plane","calendar","random","comment","magnet","chevron-up","chevron-down","retweet","shopping-cart","folder","folder-open","arrows-v","arrows-h","bar-chart-o","twitter-square","facebook-square","camera-retro","key","gears","cogs","comments","thumbs-o-up","thumbs-o-down","star-half","heart-o","sign-out","linkedin-square","thumb-tack","external-link","sign-in","trophy","github-square","upload","lemon-o","phone","square-o","bookmark-o","phone-square","twitter","facebook","github","unlock","credit-card","rss","hdd-o","bullhorn","bell","certificate","hand-o-right","hand-o-left","hand-o-up","hand-o-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-down","globe","wrench","tasks","filter","briefcase","arrows-alt","group","users","chain","link","cloud","flask","cut","scissors","copy","files-o","paperclip","save","floppy-o","square","bars","list-ul","list-ol","strikethrough","underline","table","magic","truck","pinterest","pinterest-square","google-plus-square","google-plus","money","caret-down","caret-up","caret-left","caret-right","columns","unsorted","sort","sort-down","sort-asc","sort-up","sort-desc","envelope","linkedin","rotate-left","undo","legal","gavel","dashboard","tachometer","comment-o","comments-o","flash","bolt","sitemap","umbrella","paste","clipboard","lightbulb-o","exchange","cloud-download","cloud-upload","user-md","stethoscope","suitcase","bell-o","coffee","cutlery","file-text-o","building-o","hospital-o","ambulance","medkit","fighter-jet","beer","h-square","plus-square","angle-double-left","angle-double-right","angle-double-up","angle-double-down","angle-left","angle-right","angle-up","angle-down","desktop","laptop","tablet","mobile-phone","mobile","circle-o","quote-left","quote-right","spinner","circle","mail-reply","reply","github-alt","folder-o","folder-open-o","smile-o","frown-o","meh-o","gamepad","keyboard-o","flag-o","flag-checkered","terminal","code","reply-all","mail-reply-all","star-half-empty","star-half-full","star-half-o","location-arrow","crop","code-fork","unlink","chain-broken","question","info","exclamation","superscript","subscript","eraser","puzzle-piece","microphone","microphone-slash","shield","calendar-o","fire-extinguisher","rocket","maxcdn","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-circle-down","html5","css3","anchor","unlock-alt","bullseye","ellipsis-h","ellipsis-v","rss-square","play-circle","ticket","minus-square","minus-square-o","level-up","level-down","check-square","pencil-square","external-link-square","share-square","compass","toggle-down","caret-square-o-down","toggle-up","caret-square-o-up","toggle-right","caret-square-o-right","euro","eur","gbp","dollar","usd","rupee","inr","cny","rmb","yen","jpy","ruble","rouble","rub","won","krw","bitcoin","btc","file","file-text","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-numeric-asc","sort-numeric-desc","thumbs-up","thumbs-down","youtube-square","youtube","xing","xing-square","youtube-play","dropbox","stack-overflow","instagram","flickr","adn","bitbucket","bitbucket-square","tumblr","tumblr-square","long-arrow-down","long-arrow-up","long-arrow-left","long-arrow-right","apple","windows","android","linux","dribbble","skype","foursquare","trello","female","male","gittip","sun-o","moon-o","archive","bug","vk","weibo","renren","pagelines","stack-exchange","arrow-circle-o-right","arrow-circle-o-left","toggle-left","caret-square-o-left","dot-circle-o","wheelchair","vimeo-square","turkish-lira","try","plus-square-o"]}})})}).call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("services/IconGroupCollection",["angular","values/icon-groups-map"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/services/IconGroupCollection",["ui-iconpicker/values/icon-groups-map"]),o.factory("IconGroupCollection",["iconGroupsMap",function(e){var o;return o=function(){function o(e){null==e&&(e="bootstrap"),this.iconGroupsMap={},this.includeGroups(e)}return o.prototype.filterByGroups=function(e){var o,r,a,t;if(null==e&&(e="bootstrap"),"all"!==e){a=e.split(" "),t=this.iconGroupsMap;for(r in t)o=t[r],-1!==a.indexOf(r)&&delete this.iconGroupsMap[r]}return this},o.prototype.includeGroups=function(o){var r,a,t;null==o&&(o="bootstrap"),t=o.split(" ");for(a in e)r=e[a],null==this.iconGroupsMap[a]&&("all"===o||-1!==t.indexOf(a))&&(this.iconGroupsMap[a]=r);return this},o.prototype.getClassArray=function(){var e,o,r,a,t,n,l,i;e=[],l=this.iconGroupsMap;for(a in l)for(o=l[a],i=o.classes,t=0,n=i.length;n>t;t++)r=i[t],e.push(o.prefix+r);return e},o}()}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("templates/iconpicker",["angular","angular-bootstrap"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/templates/iconpicker",["ui.bootstrap"]),o.run(["$templateCache",function(e){return e.put("templates/iconpicker.html",'\n \n \n \n')}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("directives/ui-iconpicker",["angular","services/IconGroupCollection","templates/iconpicker"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/directives/ui-iconpicker",["ui-iconpicker/services/IconGroupCollection","ui-iconpicker/templates/iconpicker"]),o.directive("uiIconpicker",["IconGroupCollection",function(e){return{replace:!0,restrict:"E",scope:{name:"@",model:"=?ngModel"},templateUrl:"templates/iconpicker.html",link:function(o,r,a){var t;return o.availableIconClasses=new e(a.groups).getClassArray(),o.iconClass=null!=(t=a.value)?t:o.availableIconClasses[0],a.ngModel&&(o.model=o[a.ngModel],o.$watch("iconClass",function(){return o.model=o.iconClass}),o.$watch("model",function(){return o.iconClass=o.model})),o.$dropdownButton=r.find("button").eq(0),o.disabled=null!=a.disabled}}}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("ui-iconpicker",["angular","directives/ui-iconpicker"],o):o(e.angular)})(this,function(e){return e.module("ui-iconpicker",["ui-iconpicker/directives/ui-iconpicker"])})}.call(this); \ No newline at end of file +(function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("values/icon-groups-map",["angular"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/values/icon-groups-map",[]),o.value("iconGroupsMap",{bootstrap:{prefix:"glyphicon glyphicon-",classes:["asterisk","plus","euro","minus","cloud","envelope","pencil","glass","music","search","heart","star","star-empty","user","film","th-large","th","th-list","ok","remove","zoom-in","zoom-out","off","signal","cog","trash","home","file","time","road","download-alt","download","upload","inbox","play-circle","repeat","refresh","list-alt","lock","flag","headphones","volume-off","volume-down","volume-up","qrcode","barcode","tag","tags","book","bookmark","print","camera","font","bold","italic","text-height","text-width","align-left","align-center","align-right","align-justify","list","indent-left","indent-right","facetime-video","picture","map-marker","adjust","tint","edit","share","check","move","step-backward","fast-backward","backward","play","pause","stop","forward","fast-forward","step-forward","eject","chevron-left","chevron-right","plus-sign","minus-sign","remove-sign","ok-sign","question-sign","info-sign","screenshot","remove-circle","ok-circle","ban-circle","arrow-left","arrow-right","arrow-up","arrow-down","share-alt","resize-full","resize-small","exclamation-sign","gift","leaf","fire","eye-open","eye-close","warning-sign","plane","calendar","random","comment","magnet","chevron-up","chevron-down","retweet","shopping-cart","folder-close","folder-open","resize-vertical","resize-horizontal","hdd","bullhorn","bell","certificate","thumbs-up","thumbs-down","hand-right","hand-left","hand-up","hand-down","circle-arrow-right","circle-arrow-left","circle-arrow-up","circle-arrow-down","globe","wrench","tasks","filter","briefcase","fullscreen","dashboard","paperclip","heart-empty","link","phone","pushpin","usd","gbp","sort","sort-by-alphabet","sort-by-alphabet-alt","sort-by-order","sort-by-order-alt","sort-by-attributes","sort-by-attributes-alt","unchecked","expand","collapse-down","collapse-up","log-in","flash","log-out","new-window","record","save","open","saved","import","export","send","floppy-disk","floppy-saved","floppy-remove","floppy-save","floppy-open","credit-card","transfer","cutlery","header","compressed","earphone","phone-alt","tower","stats","sd-video","hd-video","subtitles","sound-stereo","sound-dolby","sound-5-1","sound-6-1","sound-7-1","copyright-mark","registration-mark","cloud-download","cloud-upload","tree-conifer","tree-deciduous"]},"font-awesome":{prefix:"fa fa-lg fa-",classes:["glass","music","search","envelope-o","heart","star","star-o","user","film","th-large","th","th-list","check","times","search-plus","search-minus","power-off","signal","gear","cog","trash-o","home","file-o","clock-o","road","download","arrow-circle-o-down","arrow-circle-o-up","inbox","play-circle-o","rotate-right","repeat","refresh","list-alt","lock","flag","headphones","volume-off","volume-down","volume-up","qrcode","barcode","tag","tags","book","bookmark","print","camera","font","bold","italic","text-height","text-width","align-left","align-center","align-right","align-justify","list","dedent","outdent","indent","video-camera","picture-o","pencil","map-marker","adjust","tint","edit","pencil-square-o","share-square-o","check-square-o","arrows","step-backward","fast-backward","backward","play","pause","stop","forward","fast-forward","step-forward","eject","chevron-left","chevron-right","plus-circle","minus-circle","times-circle","check-circle","question-circle","info-circle","crosshairs","times-circle-o","check-circle-o","ban","arrow-left","arrow-right","arrow-up","arrow-down","mail-forward","share","expand","compress","plus","minus","asterisk","exclamation-circle","gift","leaf","fire","eye","eye-slash","warning","exclamation-triangle","plane","calendar","random","comment","magnet","chevron-up","chevron-down","retweet","shopping-cart","folder","folder-open","arrows-v","arrows-h","bar-chart-o","twitter-square","facebook-square","camera-retro","key","gears","cogs","comments","thumbs-o-up","thumbs-o-down","star-half","heart-o","sign-out","linkedin-square","thumb-tack","external-link","sign-in","trophy","github-square","upload","lemon-o","phone","square-o","bookmark-o","phone-square","twitter","facebook","github","unlock","credit-card","rss","hdd-o","bullhorn","bell","certificate","hand-o-right","hand-o-left","hand-o-up","hand-o-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-down","globe","wrench","tasks","filter","briefcase","arrows-alt","group","users","chain","link","cloud","flask","cut","scissors","copy","files-o","paperclip","save","floppy-o","square","bars","list-ul","list-ol","strikethrough","underline","table","magic","truck","pinterest","pinterest-square","google-plus-square","google-plus","money","caret-down","caret-up","caret-left","caret-right","columns","unsorted","sort","sort-down","sort-asc","sort-up","sort-desc","envelope","linkedin","rotate-left","undo","legal","gavel","dashboard","tachometer","comment-o","comments-o","flash","bolt","sitemap","umbrella","paste","clipboard","lightbulb-o","exchange","cloud-download","cloud-upload","user-md","stethoscope","suitcase","bell-o","coffee","cutlery","file-text-o","building-o","hospital-o","ambulance","medkit","fighter-jet","beer","h-square","plus-square","angle-double-left","angle-double-right","angle-double-up","angle-double-down","angle-left","angle-right","angle-up","angle-down","desktop","laptop","tablet","mobile-phone","mobile","circle-o","quote-left","quote-right","spinner","circle","mail-reply","reply","github-alt","folder-o","folder-open-o","smile-o","frown-o","meh-o","gamepad","keyboard-o","flag-o","flag-checkered","terminal","code","reply-all","mail-reply-all","star-half-empty","star-half-full","star-half-o","location-arrow","crop","code-fork","unlink","chain-broken","question","info","exclamation","superscript","subscript","eraser","puzzle-piece","microphone","microphone-slash","shield","calendar-o","fire-extinguisher","rocket","maxcdn","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-circle-down","html5","css3","anchor","unlock-alt","bullseye","ellipsis-h","ellipsis-v","rss-square","play-circle","ticket","minus-square","minus-square-o","level-up","level-down","check-square","pencil-square","external-link-square","share-square","compass","toggle-down","caret-square-o-down","toggle-up","caret-square-o-up","toggle-right","caret-square-o-right","euro","eur","gbp","dollar","usd","rupee","inr","cny","rmb","yen","jpy","ruble","rouble","rub","won","krw","bitcoin","btc","file","file-text","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-numeric-asc","sort-numeric-desc","thumbs-up","thumbs-down","youtube-square","youtube","xing","xing-square","youtube-play","dropbox","stack-overflow","instagram","flickr","adn","bitbucket","bitbucket-square","tumblr","tumblr-square","long-arrow-down","long-arrow-up","long-arrow-left","long-arrow-right","apple","windows","android","linux","dribbble","skype","foursquare","trello","female","male","gittip","sun-o","moon-o","archive","bug","vk","weibo","renren","pagelines","stack-exchange","arrow-circle-o-right","arrow-circle-o-left","toggle-left","caret-square-o-left","dot-circle-o","wheelchair","vimeo-square","turkish-lira","try","plus-square-o"]}})})}).call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("services/IconGroupCollection",["angular","values/icon-groups-map"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/services/IconGroupCollection",["ui-iconpicker/values/icon-groups-map"]),o.factory("IconGroupCollection",["iconGroupsMap",function(e){var o;return o=function(){function o(e){null==e&&(e="bootstrap"),this.iconGroupsMap={},this.includeGroups(e)}return o.prototype.filterByGroups=function(e){var o,r,a,t;if(null==e&&(e="bootstrap"),"all"!==e){a=e.split(" "),t=this.iconGroupsMap;for(r in t)o=t[r],-1!==a.indexOf(r)&&delete this.iconGroupsMap[r]}return this},o.prototype.includeGroups=function(o){var r,a,t;null==o&&(o="bootstrap"),t=o.split(" ");for(a in e)r=e[a],null==this.iconGroupsMap[a]&&("all"===o||-1!==t.indexOf(a))&&(this.iconGroupsMap[a]=r);return this},o.prototype.getClassArray=function(){var e,o,r,a,t,n,l,i;e=[],l=this.iconGroupsMap;for(a in l)for(o=l[a],i=o.classes,t=0,n=i.length;n>t;t++)r=i[t],e.push(o.prefix+r);return e},o}()}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("templates/iconpicker",["angular","angular-bootstrap"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/templates/iconpicker",["ui.bootstrap"]),o.run(["$templateCache",function(e){return e.put("templates/iconpicker.html",'\n \n \n \n')}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("directives/ui-iconpicker",["angular","services/IconGroupCollection","templates/iconpicker"],o):o(e.angular)})(this,function(e){var o;return o=e.module("ui-iconpicker/directives/ui-iconpicker",["ui-iconpicker/services/IconGroupCollection","ui-iconpicker/templates/iconpicker"]),o.directive("uiIconpicker",["IconGroupCollection",function(e){return{replace:!0,restrict:"E",scope:{name:"@",model:"=?ngModel"},templateUrl:"templates/iconpicker.html",link:function(o,r,a){var t;return o.availableIconClasses=new e(a.groups).getClassArray(),o.iconClass=null!=(t=a.value)?t:o.availableIconClasses[0],a.ngModel&&(o.model=o[a.ngModel],o.$watch("iconClass",function(){return o.model=o.iconClass}),o.$watch("model",function(){return o.iconClass=o.model})),o.$dropdownButton=r.find("button").eq(0),o.disabled=null!=a.disabled}}}])})}.call(this),function(){var e;(e=function(e,o){return"function"==typeof define&&null!=define.amd?define("ui-iconpicker",["angular","directives/ui-iconpicker"],o):o(e.angular)})(this,function(e){return e.module("ui-iconpicker",["ui-iconpicker/directives/ui-iconpicker"])})}.call(this); \ No newline at end of file diff --git a/dist/styles/ui-iconpicker.css b/dist/styles/ui-iconpicker.css index 9dfe06c..a3656ff 100644 --- a/dist/styles/ui-iconpicker.css +++ b/dist/styles/ui-iconpicker.css @@ -1,21 +1,21 @@ /** * ui-iconpicker * - * @version v0.1.4 + * @version v0.1.5 * @author Justin Lau * @copyright Copyright (c) 2014 Justin Lau * @license The MIT License (MIT) - * + * * 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 diff --git a/dist/styles/ui-iconpicker.min.css b/dist/styles/ui-iconpicker.min.css index beb074d..ba5f038 100644 --- a/dist/styles/ui-iconpicker.min.css +++ b/dist/styles/ui-iconpicker.min.css @@ -1,5 +1,5 @@ /* - ui-iconpicker v0.1.4 + ui-iconpicker v0.1.5 (c) 2014 Justin Lau http://justin-lau.github.io/ui-iconpicker/ License: MIT */ diff --git a/package.json b/package.json index f4909a4..67d71ec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ui-iconpicker", "description": "Bootstrap 3 Icon Picker for AngularJS", - "version": "0.1.4", + "version": "0.1.5", "keywords": [ "Bootstrap", "Font Awesome", diff --git a/src/scripts/templates/iconpicker.coffee b/src/scripts/templates/iconpicker.coffee index 322a47e..1ef856d 100644 --- a/src/scripts/templates/iconpicker.coffee +++ b/src/scripts/templates/iconpicker.coffee @@ -47,8 +47,8 @@ umd this, (angular) -> ($templateCache) -> $templateCache.put "templates/iconpicker.html", """ - -