Skip to content

Commit

Permalink
Add def, rebuild, fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pointful-mikkel committed Jul 12, 2016
1 parent 40c807a commit 5a2b496
Show file tree
Hide file tree
Showing 5 changed files with 352 additions and 302 deletions.
5 changes: 5 additions & 0 deletions modules/miso.util.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ module.exports = {
}
},

// Returns a default value, if value is undefined
def: function(value, defValue) {
return (typeof value !== "undefined")? value: defValue;
},

readyBinder: function(){
var bindings = [];
return {
Expand Down
5 changes: 5 additions & 0 deletions modules/miso.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ module.exports = {
}
},

// Returns a default value, if value is undefined
def: function(value, defValue) {
return (typeof value !== "undefined")? value: defValue;
},

readyBinder: function(){
var bindings = [];
return {
Expand Down
2 changes: 1 addition & 1 deletion public/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ html, body, #misoAttachmentNode {margin: 0; padding: 0; background: #fff; font-s

.menu-active .miso-nav {overflow-y: scroll }

#misoAttachmentNode {font-size: 1.6rem; position: relative; width: 100%; padding-top: 5rem; background: #fff; }
#misoAttachmentNode {font-size: 1.6rem; position: relative; width: 100%; padding-top: 5rem; background: #fff; overflow-x: hidden}


.main-container {padding: 0}
Expand Down
7 changes: 6 additions & 1 deletion public/miso.js

Large diffs are not rendered by default.

Loading

0 comments on commit 5a2b496

Please sign in to comment.