2010-09-04 21:05:28 -04:00
|
|
|
! Copyright (C) 2010 Slava Pestov.
|
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
|
|
USING: accessors furnace.actions math.parser
|
2010-09-17 02:52:49 -04:00
|
|
|
http.server.responses webapps.mason.backend ;
|
2010-09-04 21:05:28 -04:00
|
|
|
IN: webapps.mason.increment-counter
|
|
|
|
|
|
|
|
: <increment-counter-action> ( -- action )
|
|
|
|
<action>
|
|
|
|
[
|
|
|
|
[
|
|
|
|
increment-counter-value
|
2014-04-22 16:47:25 -04:00
|
|
|
number>string <text-content>
|
2010-09-04 21:05:28 -04:00
|
|
|
] with-mason-db
|
|
|
|
] >>submit ;
|