mirror of
				https://github.com/skishore/makemeahanzi.git
				synced 2025-11-01 03:45:51 +08:00 
			
		
		
		
	Turn on persistence layer
This commit is contained in:
		| @ -118,7 +118,8 @@ Tracker.autorun(() => { | ||||
|     types.map((x) => { if (glyph.stages[x]) last_completed_stage = x; }); | ||||
|     constructStage(last_completed_stage); | ||||
|   } else { | ||||
|     // TODO(skishore): Save the glyph at this point. | ||||
|     Meteor.call('saveGlyph', glyph, | ||||
|                 (error, data) => { if (error) console.error(error) }); | ||||
|     if (!_.isEqual(glyph.metadata, last_glyph.metadata)) { | ||||
|       stage.refreshUI(glyph.character, glyph.metadata); | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaunak Kishore
					Shaunak Kishore