Created
July 16, 2014 09:28
-
-
Save lohithgn/f1e2a491fd2c65dc22d1 to your computer and use it in GitHub Desktop.
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 app = app || {}; | |
app.Partner = (function() | |
{ | |
'use strict' | |
var partnerViewModel = (function() | |
{ | |
var partnerUid; | |
var show = function(e){ | |
partnerUid = e.view.params.uid; | |
var partner = app.Partners.partners.getByUid(partnerUid); | |
appSettings.sessionSettings.selectedPartner = partner; | |
kendo.bind(e.view.element, partner, kendo.mobile.ui) | |
} | |
return { | |
show:show, | |
}; | |
}()); | |
return partnerViewModel; | |
}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment