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
var uiODataSimple = (function() { | |
var API = {}; | |
API.DataJS = require('ti.sap.odata'); | |
API.collectionCache = null; | |
API.useXMLNotJSON = true; | |
API.dataType = API.useXMLNotJSON ? 'application/atom+xml' : 'application/json'; | |
API.queryString = '=xml'; |
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
// | |
// blog.clearlyionnovative.com | |
// twitter: @aaronksaunders | |
// | |
// Model file for integration Appcelerator Titanium Alloy with Wordpress JSON Plugin | |
// | |
exports.definition = { | |
config : { | |
"columns" : {}, |
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
class IosCustomTabBar | |
constructor: (options) -> | |
@tabGroup = options.tabGroup | |
@backgroundImage = options.backgroundImage | |
@initializeUI() | |
initializeUI: -> | |
@createCustomTabBar() |
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
class WmsWebCma::ApplicationController < ActionController::Base | |
protect_from_forgery | |
before_filter :set_locale | |
helper_method :current_agent, :company_branding | |
def current_agent | |
@current_agent ||= (session[:current_agent] ? Agent.find(session[:current_agent]["uuid"]) : nil) | |
end |