Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
code prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
josmardias committed Mar 23, 2015
1 parent 40ccda7 commit 64bd176
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 11 deletions.
1 change: 1 addition & 0 deletions iframe/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
});

})(jQuery, jQuery);

1 change: 1 addition & 0 deletions iframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@
<script src="app.js"></script>

</html>

3 changes: 2 additions & 1 deletion iframe/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ input {
width: 100%;
height: 30px;
margin-bottom: 20px;
padding: 0 5px 0 5px;
padding: 0 5px 0 5px;
line-height: 26px;
}

label {
display: inline-block;
width: 100%;
}

3 changes: 2 additions & 1 deletion iframe/panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ html {
position: relative;
height: 100%;
width: 100%;
background: rgba(0,0,0,0.6);
background: rgba(0, 0, 0, 0.6);
}

body {
Expand All @@ -17,3 +17,4 @@ body {
background: #f5f5f5;
box-sizing: border-box;
}

2 changes: 1 addition & 1 deletion iframe/panel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function ($, jQuery, undefined) {


})(jQuery, jQuery);

8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
<script src="integration.js"></script>

<script>

function callIntegration () {
Integration.init("FDE786FD654FD5FE");
}
function callIntegration() {
Integration.init("FDE786FD654FD5FE");
}

</script>

</html>

1 change: 1 addition & 0 deletions integration.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ body.integration-noscroll {
body.integration-ios8.integration-safari {
position: static;
}

7 changes: 4 additions & 3 deletions integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ var Integration = (function () {
_PageState.addEventListener = function (el, eventName, callback) {
el.addEventListener("eventName", callback);
restoreObj.eventListener.push({
el: el, callback: callback
el: el,
callback: callback
});
};

Expand Down Expand Up @@ -62,7 +63,6 @@ var Integration = (function () {
return _PageState;
})();


_Integration.init = function (accessId) {
var iframe = document.createElement("iframe");
var props = {
Expand Down Expand Up @@ -95,7 +95,7 @@ var Integration = (function () {
PageState.restore();
var iframe = document.getElementById(iframeId);
var parent = iframe.parentNode;
if(!parent) {
if (!parent) {
return this;
}
parent.removeChild(iframe);
Expand All @@ -104,3 +104,4 @@ var Integration = (function () {

return _Integration;
})();

2 changes: 1 addition & 1 deletion site.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ button {
border-color: #5ca941;
background-color: #60b044;
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.15);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
font-size: 13px;
vertical-align: middle;
border-radius: 3px;
Expand Down

0 comments on commit 64bd176

Please sign in to comment.