Skip to content

Instantly share code, notes, and snippets.

@warpech
Created February 24, 2014 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warpech/9199740 to your computer and use it in GitHub Desktop.
Save warpech/9199740 to your computer and use it in GitHub Desktop.
{
"dummyCRM":{
"Apps":[
{
"Appname":"En Bambim",
"Description":"Supercool En tracking app, made by Albert Einstein.",
"Html":"",
"Rating":0,
"Thumbnail":{
},
"Buy$":null
}
],
"Html":"<template repeat=\"{{Apps}}\"><article style=\"border: 1px solid #DDD; border-radius:0.4em; padding: 0 1.5em 1.5em\"><h2>{{Appname}}</h2>{{Description}}<button bind=\"{{Buy$}}\" onclick=\"setModelValue(this)\" value=\"null\">buy</button></article></template>",
"StoreName":""
},
"App2":{
"lastName$":"Einstien",
"call$":null,
"Html":"<article><input value=\"{{lastName$}}\"><button onclick=\"this.model.call$ = null\" value=\"{{call$}}\">call</button></article>"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment