I hereby claim:
- I am caneruguz on github.
- I am caneruguz (https://keybase.io/caneruguz) on keybase.
- I have a public key ASCHBsWrmOol3NsX99Su0LyWGXm-EBUZ5-tC8EXJ_a3rkQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Quick toggle plugin to toggle visibility of elements within the page by defining a trigger and a target | |
* | |
* Usage: | |
* $(document).ready(function(){ | |
* $('.my-item').qToggle({'animation' : 'fade', animationOptions : { duration : 200 }}); | |
* }); | |
*/ | |
// Create the defaults once |
/* Media queries used on blog.staydecent.ca by Adrian Unger | |
check my full source at: | |
http://blog.staydecent.ca/static/css/style-0.1.6.css */ | |
@media only screen and (min-width:768px) and (max-width:1269px) { | |
/* In my particular design, I used a fluid grid limited to a | |
max-width of 1140px, while (if there is enough room) | |
pushing the menu outside of layout, requiring a total | |
limit of at least 1270px. | |
So, this first query applies to any screen-width less |
self.makeTableRow = function(revision, index) { | |
var isSelected = index === model.selectedRevision; | |
return m('.m-b-md.p-md.osf-box' + (isSelected ? '.osf-box-lt' : ''), [ | |
m('.version-top.clearfix.m-b-sm', [ | |
m('span', { style : 'font-size: 18px' }, isSelected ? | |
revision.displayVersion : | |
m('a', {href: revision.osfViewUrl}, revision.displayVersion) | |
), | |
m('.pull-right', |
/* | |
* Return the rounded number and the new remainder using past remainder. | |
* | |
* @param {number} number The number that needs to be rounded | |
* @param {number} priorRemainder The remainder that is left over from last time that needs to be added to the calculation | |
*/ | |
function multiRound(number, priorRemainder) { | |
var floored = Math.floor(number + priorRemainder); | |
var difference = (number + priorRemainder) - floored; | |
return { |
npm install intern-geezer --save-dev
. the geezer branch is capable of drivingpackages
attribute in loader
(that's for dealing with the local app)[ | |
{ | |
"id" : 0, | |
"title" : "Dashboard", | |
"color" : "navy", | |
"minimize" : false, | |
"exposeWidth" : 300, | |
"exposeHeight" : 300, | |
"css" : "dashboard ht-module-inverted", | |
"columns" :[ |