From 747d4c3c4419aa5787268fe46bdfb8896effe387 Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Sun, 3 Jan 2016 03:21:28 +0000 Subject: [PATCH] Released version 0.5.0 --- CHANGELOG.md | 2 +- bower.json | 2 +- dist/joindin.min.css | 2 +- dist/joindin.min.js | 4 ++-- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df74f17..16beb90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -# Next +# 0.5.0 (03-01-2016) * [!] The library is not executed on load anymore ([#11][]) * [!} Replaced JSONP with CORS ([#9][]) diff --git a/bower.json b/bower.json index 28c97f3..00090cc 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "joindin-js", - "version": "0.4.0", + "version": "0.5.0", "description": "The official JavaScript library to embed Joind.in comments, talks, and more.", "main": [ "src/joindin.js", diff --git a/dist/joindin.min.css b/dist/joindin.min.css index 19747d3..2e2eeec 100644 --- a/dist/joindin.min.css +++ b/dist/joindin.min.css @@ -1 +1 @@ -.joindin-speaker,.joindin-talk-comment{border:1px solid #DDD;background:#FFF;padding:10px}.joindin-cfps a,.joindin-speaker a,.joindin-talk a{color:#2368AF}.joindin-speaker{border-radius:5px;display:inline-block}.joindin-speaker h1{margin-bottom:5px;margin-top:0}.joindin-speaker img{margin-right:10px;vertical-align:middle}.joindin-talk-comment{border-radius:5px}.joindin-talk-comment blockquote{margin:0}.joindin-talk-comment blockquote:after{clear:both;content:"";display:table}.joindin-talk-comment .rating-wrapper{float:left;width:140px}.joindin-talk-comment .text-wrapper{overflow:hidden}.joindin-talk-comment .text-wrapper p{margin-top:0}.joindin-talk{background:#F0F4F8;border:1px solid #D7DCDF;border-radius:6px;margin-bottom:10px;padding:10px 15px}.joindin-talk h1{margin-bottom:5px;margin-top:0}.joindin-talk img{display:block;margin-top:10px}.joindin-event{border-radius:5px;display:inline-block;padding:10px}.joindin-cfps,.joindin-event{background:#FFF;border:1px solid #DDD}.joindin-event img{float:left;margin-bottom:10px;margin-right:10px;vertical-align:middle}.joindin-event a{color:#2368AF;display:block;margin-bottom:5px}.joindin-event h1{margin-bottom:5px;margin-top:0}.joindin-event p{clear:both}.joindin-event dl{padding-left:20px}.joindin-event dt{display:list-item;float:left;margin-right:3px}.joindin-event dd{margin:0}.joindin-cfps{border-radius:5px;display:inline-block}.joindin-cfps ul{list-style-type:none;margin:0;max-height:250px;overflow:auto;padding:0}.joindin-cfps li{padding:10px}.joindin-cfps li:nth-child(2n){background-color:#F0F4F8}.joindin-cfps li:after{clear:both;content:"";display:table}.joindin-cfps li+li{margin-top:10px}.joindin-cfps .icon-wrapper{float:left;height:48px;margin-right:15px;width:48px}.joindin-cfps img{max-width:100%}.joindin-cfps .info-wrapper{overflow:hidden}.joindin-cfps a{display:block;margin-bottom:5px}.joindin-cfps h1{font-size:25px;margin-bottom:5px;margin-top:0}.joindin-cfps[data-theme=grain],.joindin-event[data-theme=grain],.joindin-speaker[data-theme=grain],.joindin-talk-comment[data-theme=grain],.joindin-talk[data-theme=grain]{background-color:#DDCBAF;border-color:#A89B89;color:#000}.joindin-cfps[data-theme=grain] a,.joindin-event[data-theme=grain] a,.joindin-speaker[data-theme=grain] a,.joindin-talk[data-theme=grain] a{color:#000}.joindin-cfps[data-theme=grain] li:nth-child(2n){background-color:#A89B89}.joindin-cfps[data-theme=picton],.joindin-event[data-theme=picton],.joindin-speaker[data-theme=picton],.joindin-talk-comment[data-theme=picton],.joindin-talk[data-theme=picton]{background-color:#55ACEE;border-color:#CCC;color:#FFF}.joindin-cfps[data-theme=picton] a,.joindin-event[data-theme=picton] a,.joindin-speaker[data-theme=picton] a,.joindin-talk[data-theme=picton] a{color:#FFF}.joindin-cfps[data-theme=picton] li:nth-child(2n){background-color:#D9534F}.joindin-cfps[data-theme=shark],.joindin-event[data-theme=shark],.joindin-speaker[data-theme=shark],.joindin-talk-comment[data-theme=shark],.joindin-talk[data-theme=shark]{background:#2B2E36;border-color:#B56B65;color:#FFF}.joindin-cfps[data-theme=shark] a,.joindin-event[data-theme=shark] a,.joindin-speaker[data-theme=shark] a,.joindin-talk[data-theme=shark] a{color:#FFF}.joindin-cfps[data-theme=shark] li:nth-child(2n){background-color:#B00} \ No newline at end of file +.joindin-cfps a,.joindin-speaker a,.joindin-talk a{color:#2368AF}.joindin-speaker{background:#FFF;border:1px solid #DDD;border-radius:5px;display:inline-block;padding:10px}.joindin-speaker h1{margin-bottom:5px;margin-top:0}.joindin-speaker img{margin-right:10px;vertical-align:middle}.joindin-talk-comment{background:#FFF;border:1px solid #DDD;border-radius:5px;padding:10px}.joindin-talk-comment blockquote{margin:0}.joindin-talk-comment blockquote:after{clear:both;content:"";display:table}.joindin-talk-comment .rating-wrapper{float:left;width:140px}.joindin-talk-comment .rating-wrapper img{max-width:95%}.joindin-talk-comment .text-wrapper{overflow:hidden}.joindin-talk-comment .text-wrapper p{margin-top:0}.joindin-talk{background:#F0F4F8;border:1px solid #D7DCDF;border-radius:6px;margin-bottom:10px;padding:10px 15px}.joindin-talk h1{margin-bottom:5px;margin-top:0}.joindin-talk img{display:block;margin-top:10px}.joindin-event{background:#FFF;border:1px solid #DDD;border-radius:5px;display:inline-block;padding:10px}.joindin-event img{float:left;margin-bottom:10px;margin-right:10px;vertical-align:middle}.joindin-event a{color:#2368AF;display:block;margin-bottom:5px}.joindin-event h1{margin-bottom:5px;margin-top:0}.joindin-event p{clear:both}.joindin-event dl{padding-left:20px}.joindin-event dt{display:list-item;float:left;margin-right:3px}.joindin-event dd{margin:0}.joindin-cfps{background:#FFF;border:1px solid #DDD;border-radius:5px;display:inline-block}.joindin-cfps ul{list-style-type:none;margin:0;max-height:250px;overflow:auto;padding:0}.joindin-cfps li{padding:10px}.joindin-cfps li:nth-child(2n){background-color:#F0F4F8}.joindin-cfps li:after{clear:both;content:"";display:table}.joindin-cfps li+li{margin-top:10px}.joindin-cfps .icon-wrapper{float:left;height:48px;margin-right:15px;width:48px}.joindin-cfps img{max-width:100%}.joindin-cfps .info-wrapper{overflow:hidden}.joindin-cfps a{display:block;margin-bottom:5px}.joindin-cfps h1{font-size:25px;margin-bottom:5px;margin-top:0}.joindin-cfps[data-theme=grain],.joindin-event[data-theme=grain],.joindin-speaker[data-theme=grain],.joindin-talk-comment[data-theme=grain],.joindin-talk[data-theme=grain]{background-color:#DDCBAF;border-color:#A89B89;color:#000}.joindin-cfps[data-theme=grain] a,.joindin-event[data-theme=grain] a,.joindin-speaker[data-theme=grain] a,.joindin-talk[data-theme=grain] a{color:#000}.joindin-cfps[data-theme=grain] li:nth-child(2n){background-color:#A89B89}.joindin-cfps[data-theme=picton],.joindin-event[data-theme=picton],.joindin-speaker[data-theme=picton],.joindin-talk-comment[data-theme=picton],.joindin-talk[data-theme=picton]{background-color:#55ACEE;border-color:#CCC;color:#FFF}.joindin-cfps[data-theme=picton] a,.joindin-event[data-theme=picton] a,.joindin-speaker[data-theme=picton] a,.joindin-talk[data-theme=picton] a{color:#FFF}.joindin-cfps[data-theme=picton] li:nth-child(2n){background-color:#D9534F}.joindin-cfps[data-theme=shark],.joindin-event[data-theme=shark],.joindin-speaker[data-theme=shark],.joindin-talk-comment[data-theme=shark],.joindin-talk[data-theme=shark]{background:#2B2E36;border-color:#B56B65;color:#FFF}.joindin-cfps[data-theme=shark] a,.joindin-event[data-theme=shark] a,.joindin-speaker[data-theme=shark] a,.joindin-talk[data-theme=shark] a{color:#FFF}.joindin-cfps[data-theme=shark] li:nth-child(2n){background-color:#B00} \ No newline at end of file diff --git a/dist/joindin.min.js b/dist/joindin.min.js index 82222d7..8a1b4db 100644 --- a/dist/joindin.min.js +++ b/dist/joindin.min.js @@ -1,2 +1,2 @@ -/*! JoindIn.js 0.4.0 | Aurelio De Rosa (@AurelioDeRosa) | MIT/GPL-3.0 Licensed */ -!function(a,b){"use strict";function c(a,b,c){for(var d=0;d=200&&c.status<300||304===c.status?void b(c):void b(c)}),c.open("GET",a,!0),c.send()}function n(a){var b,c=p[a.getAttribute("data-type")],d=a.getAttribute("data-id"),e=r;if("cfps"===c)e+="events?filter=cfp",b=h;else if("events"===c)e+=c+"/"+d,b=i;else if("talk_comments"===c)e+=c+"/"+d,b=k;else if("talks"===c)e+=c+"/"+d,b=l;else{if("users"!==c)throw new Error("Data type not recognized");e+=c+"/"+d+"/talks",b=j}m(e+"?format=json",function(c){b(a,JSON.parse(c.response))})}function o(){[].forEach.call(document.querySelectorAll(q),n)}var p={cfps:"cfps",event:"events",speaker:"users",talk:"talks","talk-comment":"talk_comments"},q=".joindin-embed",r="http://api.joind.in/v2.1/",s="https://joind.in/inc/img/rating-RATING.gif",t="https://joind.in/inc/img/event_icons/",u=document.createElement.bind(document);return{init:o}}); \ No newline at end of file diff --git a/package.json b/package.json index f95fa3b..0fff289 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joindin-js", - "version": "0.4.0", + "version": "0.5.0", "description": "The official JavaScript library to embed Joind.in comments, talks, and more.", "main": "src/joindin.js", "repository": {