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
### Keybase proof | |
I hereby claim: | |
* I am ncrohn on github. | |
* I am ncrohn (https://keybase.io/ncrohn) on keybase. | |
* I have a public key whose fingerprint is 1D8B E051 9FF6 09CE C6F6 BF66 BC15 F679 DE83 47B7 | |
To claim this, I am signing this object: |
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
{ | |
"name": "consumer-name", | |
"version": "1.0.0" | |
} |
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
{ | |
indexOf: function(arr, item) { | |
var ret = -1, i; | |
for(i=0; i<arr.length; i++) { | |
if(arr[i] === item) { | |
ret = i; | |
break; | |
} |
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 NickCrohn = function(world) { | |
var firstName = 'Nicholas', | |
middleName = 'William', | |
lastName = 'Crohn', | |
favoriteFood = { | |
name: 'Lasagna', | |
isFood: true, | |
isDrink: false |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
lint: { | |
bundle: ['bundles/**/common/src/**/site/lib/**/*.js'] | |
}, | |
jshint: { | |
options: { |
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
function reroute(func, context) { | |
return function() { | |
var args = arguments; | |
args.push(this); | |
func.apply(context, args); | |
}; | |
} | |
socket.on('windowCreated', reroute(this.windowCreated, this)); |
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
$(document).ready(function() { | |
var inputs = $("input[type='checkbox']"); | |
inputs.each(function(idx, item) { | |
new CzechBox(item); | |
}); | |
}); | |
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
SC.View.design(SC.Animatable, { | |
layout: { top: 20+(25*i), right: 0, left: 20, height: 25 }, | |
transitions: { | |
height: { duration: .25, timing: SC.Animatable.TRANSITION_EASE_IN_OUT } | |
} | |
//--- more code --- | |
//--- in render method --- |
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
Epsilon.ExportMappingDataView = SC.View.extend({ | |
/** @scope Epsilon.ExportMappingDataView.prototype */ | |
content: null, | |
contentBindingDefault: SC.Binding.multiple(), | |
render: function(context, firstTime) { | |
sc_super(); |
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
config :some_framework | |
:required => :your_app | |
# or this | |
config 'target/framework' | |
:required => :your_app | |
# 'target/framework' would be like 'sproutcore/core_tools' |
NewerOlder