Skip to content

Instantly share code, notes, and snippets.

@a-ignatov-parc
Created March 19, 2012 11:06
Show Gist options
  • Save a-ignatov-parc/2107744 to your computer and use it in GitHub Desktop.
Save a-ignatov-parc/2107744 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
$(function() {
Rens.container = $('.l-wrapper');
Rens.init({
Profile: {
isRegistered: YES,
isSignedIn: NO,
isRedirected: YES,
isFilled: YES,
FirstName: null,
LastName: null,
PatronymicName: null,
Birthday: null,
PrimaryPhone: [],
SMSOverride: [],
Email: null,
EmailOverride: NO,
Country: null,
AddrRegion: null,
AddrCity: null,
AddrArea: null,
AddrStreet: null,
AddrIndex: null,
AddrHouse: null,
AddrHouseExt: null,
AddrFlat: null
}
});
});
</script>
initialize: function(initData) {
...
Rens
.set('Profile', {
initData: initData.Profile
})
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment