This file contains hidden or 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
| type message = {author: string | |
| ; text: string} | |
| room = Network.cloud("room"): Network.network(message) | |
| user_update(x: message) = | |
| line = <div class="line"> | |
| <div class="user">{x.author}:</div> | |
| <div class="message">{x.text}</div> | |
| </div> |
This file contains hidden or 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
| /* Hierarchical PubSub for Extjs * Ext.ux.Sprocket.PubSub | |
| * Version: 2.0 | |
| * | |
| * Copyright (c) 2008-2009 - David Davis, All Rights Reserved | |
| * [email protected] | |
| * http://xant.us/ | |
| * | |
| * License: BSD | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are met: |
This file contains hidden or 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
| { | |
| "foo" : "bar", | |
| "baz" : "qux" | |
| } |
This file contains hidden or 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
| { | |
| "_id": "16082da4d4881adbdf6548012b000848", | |
| "_rev": "1-aeed80105d238d26d5ba3685adbd7b6b", | |
| "collection": "things", | |
| "name": "Aardvark" | |
| } |
OlderNewer