This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1EsdADticFeK4GjLUAkXysYW3atmQ3KyKq https://explorer.blockstack.org/address/1EsdADticFeK4GjLUAkXysYW3atmQ3KyKq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@gridWidth: 1170; | |
@gutterWidth: 30; | |
@numberOfColumns: 12; | |
@columnWidth: (@gridWidth - ((@numberOfColumns - 1) * @gutterWidth)) / @numberOfColumns; | |
.row { | |
width: 1170px; | |
margin: 0 auto; | |
overflow: hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
'intern!object', | |
'intern/chai!assert', | |
'require' | |
], function (registerSuite, assert, require) { | |
var request, | |
url = 'http://localhost/Projects/intern-examples/dojo-example'; | |
registerSuite({ | |
name: 'Todo (functional)', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
define([ | |
${1:'dojo/_base/declare'} | |
], function (${2:declare}) { | |
return declare(${3}); | |
}); | |
]]></content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// register someTask, which is either an array of | |
// tasks or an empty array based on someCondition | |
grunt.registerTask('someTask', (function () { | |
return someCondition ? [ 'submodules' ] : []; | |
})()); | |
// someTask is then used multiple times throughout | |
// the rest of the Gruntfile. | |
grunt.registerTask('default', [ 'someTask', 'watch:stylus' ]); | |
grunt.registerTask('test', [ 'someTask', 'intern-init', 'intern' ]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
all: [1, 5, 13, 2, 6, 7, 3, ...], | |
owner: [5, 4, 8, 2, 13, 5, 3, ...] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scale = parseFloat(height - 1) / max; | |
var render = function (v, i){ | |
v *= scale; | |
c.fillRect(i * width, height - v, width - 1, v); | |
}; | |
var i, len; | |
for(i=0, len=data.owner.length; i<len; i++){ | |
render(data.owner[i], i); | |
} |