Created
July 15, 2014 19:48
-
-
Save tanshio/727f909fd9339c97f445 to your computer and use it in GitHub Desktop.
deepcopy-sample-1
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
shop = {}; | |
shop.chara ={ | |
'elmo':{ | |
'name':'えるも', | |
'item':'あいす', | |
'itemList':{ | |
'ice':{ | |
'name':'アイス', | |
'list':[ | |
//商品名,商品説明,svg色配列['class','プロパティ','値'] | |
['バニラアイス','バニラあじのアイス', [['outline','stroke','#ccc'],['top','fill','#ccc'],['bottom','fill','#000']]], | |
['ストロベリーアイス','イチゴあじのアイス',[['outline','stroke','red'],['top','fill','#ccc'],['bottom','fill','#000']]], | |
['チョコアイス','チョコあじのアイス', [['outline','stroke','#000'],['top','fill','#ccc'],['bottom','fill','#000']]], | |
['メロンアイス','メロンあじのアイス', [['outline','stroke','green'],['top','fill','#ccc'],['bottom','fill','#000']]], | |
['みかんアイス','みかんあじのアイス', [['outline','stroke','orange'],['top','fill','#ccc'],['bottom','fill','#000']]] | |
] | |
}, | |
'chipice':{ | |
'name':'アイス', | |
'list':[ | |
['チョコチップミントアイス','ミントアイスのなかにチョコチップがはいったアイス',[['outline','stroke','#ccc'],['inner','fill','green']]], | |
['スイカアイス','スイカあじのアイスのなかにチョコがはいったアイス', [['outline','stroke','#ccc'],['inner','fill','green']]], | |
['クッキーバニラ','バニラアイスの中にクッキーがはいったアイス', [['outline','stroke','#ccc'],['inner','fill','brown']]] | |
] | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment