Skip to content

Instantly share code, notes, and snippets.

@DimitarChristoff
Created March 16, 2012 14:50
Show Gist options
  • Save DimitarChristoff/2050395 to your computer and use it in GitHub Desktop.
Save DimitarChristoff/2050395 to your computer and use it in GitHub Desktop.
prototype for json
var foo = {
"Section": {
type: "subHeading",
output: "Insurance Provider",
values: [
{
type: "image",
value: "imagesrouce.gif"
},
{
type: "image",
value: "imagesrouce2.gif"
}
]
},
};
var comparison = {
"labels": [
{
key: "name",
displayType: ["image"],
labelType: "heading"
},
{
key: "annualPrice",
displayType: ["money", "heading"],
labelType: "subHeading"
},
{
}
],
providers: [
{
name: "Ageas",
annualPrice: ""
}
]
}
(function(scope) {
var productMapper = scope.productMapper = new Class({
});
}(COMMON || {}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment