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
<!-- With theme included --> | |
<link href="/static/sproutcore/standard_theme/en/current/stylesheet.css?1264724547" rel="stylesheet" type="text/css" /> | |
<link href="/static/sproutcore/testing/en/current/stylesheet.css?1264724546" rel="stylesheet" type="text/css" /> | |
<link href="/static/sproutcore/foundation/en/current/stylesheet.css?1264724546" rel="stylesheet" type="text/css" /> | |
<link href="/static/sproutcore/desktop/en/current/stylesheet.css?1264724546" rel="stylesheet" type="text/css" /> | |
<link href="/static/epsilon_theme/en/current/stylesheet.css?1265305781" rel="stylesheet" type="text/css" /> | |
<!-- Without theme included --> |
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' |
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
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
$(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
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
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
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
{ | |
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
{ | |
"name": "consumer-name", | |
"version": "1.0.0" | |
} |
OlderNewer