Skip to content

Commit

Permalink
Fix iframe and Add beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
mkv27 committed May 4, 2016
1 parent da49bfb commit 3475bbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Instant Markup v0.1.1-alpha
* Instant Markup v0.1.1-beta
*
* Copyright (c) 2016 mkv27
* MIT Licensed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instant-markup",
"version": "0.1.1-alpha",
"version": "0.1.1-beta",
"description": "A GUI way to make and transform your articles to Facebook Instant Articles",
"main": "main.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/jsonld/Transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ var analyzer = function analyzer (node,i){

function Transformer(node,i){
let data = analyzer(node,i);
console.log(data);
//console.log(data);

if( $('iframe',data).length > 0 ){
let tmp = $('iframe',data);
if( $('.op-social',data).length > 0 ){
let tmp = $('.op-social',data);
data = $.html(tmp);
}else if( $('figure',data).length > 0 ){
let tmp = $('figure',data);
Expand Down

0 comments on commit 3475bbd

Please sign in to comment.