summaryrefslogtreecommitdiff
path: root/deps/wse/src/wse_demo.erl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/wse/src/wse_demo.erl')
-rw-r--r--deps/wse/src/wse_demo.erl24
1 files changed, 0 insertions, 24 deletions
diff --git a/deps/wse/src/wse_demo.erl b/deps/wse/src/wse_demo.erl
deleted file mode 100644
index 3f0c40b..0000000
--- a/deps/wse/src/wse_demo.erl
+++ /dev/null
@@ -1,24 +0,0 @@
-%%%---- BEGIN COPYRIGHT -------------------------------------------------------
-%%%
-%%% Copyright (C) 2007 - 2014, Rogvall Invest AB, <tony@rogvall.se>
-%%%
-%%% This software is licensed as described in the file COPYRIGHT, which
-%%% you should have received as part of this distribution. The terms
-%%% are also available at http://www.rogvall.se/docs/copyright.txt.
-%%%
-%%% You may opt to use, copy, modify, merge, publish, distribute and/or sell
-%%% copies of the Software, and permit persons to whom the Software is
-%%% furnished to do so, under the terms of the COPYRIGHT file.
-%%%
-%%% This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-%%% KIND, either express or implied.
-%%%
-%%%---- END COPYRIGHT ---------------------------------------------------------
--module(wse_demo).
--export([run/2]).
-
-run(Ws, Where) ->
- ElemNode = wse:createElement(Ws, "p"),
- TextNode = wse:createTextNode(Ws, "Hello world"),
- wse:appendChild(Ws, ElemNode, TextNode),
- wse:appendChild(Ws, wse:id(Where), ElemNode).