Skip to content

Instantly share code, notes, and snippets.

View erichocean's full-sized avatar

Erich Ocean erichocean

  • Xy Group Ltd
  • North Carolina
View GitHub Profile
body {
position: absolute ;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
padding: 0px;
margin: 0px;
overflow: hidden ;
}
<% split_view :main_split, :direction => :horizontal do %>
<% scroll_view :folder_source_list_scroller, :can_collapse => false ,:min_thickness => 180 do %>
<%= source_list_view :folder_source_list, :view => 'OI.FolderSourceView', :height => 693, :bind => { :content => 'OI.foldersController.arrangedObjects', :selection => 'OI.foldersController.selection' } %>
<% end %>
<%= split_divider_view :main_split_divider, :width => 5 %>
<% split_view :main, :can_collapse => false, :direction => :horizontal, :min_thickness => 180 do %>
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = [email protected]:onitunes/photobooth.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = refs/*:refs/*
<script type="text/javascript" src="../swfupload/swfupload.js"></script>
<script type="text/javascript" src="js/swfupload.queue.js"></script>
<script type="text/javascript" src="js/fileprogress.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<script type="text/javascript">
var swfu;
window.onload = function() {
var settings = {
flash_url : "../swfupload/swfupload_f9.swf",
def find_resource_entry(filename, opts={}, seen=nil)
extname = File.extname(filename)
rootname = filename.gsub(/#{extname}$/,'')
entry_extname = entry_rootname = nil
ret = entries_for(:resource, opts.merge(:hidden => :none)).reject do |entry|
entry_extname = File.extname(entry.filename)
entry_rootname = entry.filename.gsub(/#{entry_extname}$/,'')
ext_match = (extname.nil? || extname.size == 0) || (entry_extname == extname)
# Returns the URL for the named resource
def static_url(resource_name, opts = {})
opts[:language] ||= language
entry = bundle.find_resource_entry(resource_name, opts)
entry.nil? ? '' : entry.cacheable_url
end
/**
Returns the name of this class. If the name is not known, triggers
a search. This can be expensive the first time it is called.
*/
objectClassName: function() {
if (!this._objectClassName) this._findObjectClassNames() ;
if (this._objectClassName) return this._objectClassName ;
var ret = this ;
while(ret && !ret._objectClassName) ret = ret._type;
return (ret && ret._objectClassName) ? ret._objectClassName : 'Anonymous' ;
require('core');
// this code just copies in the requisite SC.ButtonView behavior to enable a standard image view to function as a button
MyApp.ImageButtonView = SC.ImageView.extend({
value: null, // could also use a CSS selector here -- see SC.ImageView
isEnabled: YES,
action: null,
target: null,
/**
Call by your subclass anytime you want the view to pick up the current
value from the form and post it out.
@param partialChange (optional) YES if this is a partial change.
@returns result of validation.
*/
fieldValueDidChange: function(partialChange) {
// get the field value and set it.
greeting: SC.LabelView.extend({
valueBinding: "OI.userController.login",
localize: false,
escapeHTML: true
})