This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'xcodeproj' | |
path = ARGV.shift | |
xcproj = Xcodeproj::Project.open(path) | |
# Fix schemes not being defined | |
xcproj.recreate_user_schemes |
This file contains hidden or 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
Data.sessions.getAll( | |
function(xml) { | |
$(xml).find("session").each(function(id, session) { | |
var title = $(session).find('title').text(); | |
myView.addToList(title); | |
}; | |
}, | |
function(errorText) { | |
alert("There was an error: " + errorText); | |
} |
This file contains hidden or 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
if (Ext.is.Blackberry) { | |
// Fix BlackBerry OS 7 issue where tapping on | |
// text fields does not give focus | |
Ext.gesture.Manager.onTouchEnd = function(e) { | |
if (this.isFrozen) { | |
return; | |
} |
This file contains hidden or 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
/** | |
* Android 3+ doesn't like url params | |
* for file:// ajax request, so let's remove them! | |
*/ | |
Ext.define('MyApp.proxy.NoParamAjax', { | |
extend: 'Ext.data.proxy.Ajax', | |
alias: 'proxy.noparamajax', | |