You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by ol...@apache.org on 2012/04/10 10:31:28 UTC

svn commit: r1311631 - /incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js

Author: olamy
Date: Tue Apr 10 08:31:28 2012
New Revision: 1311631

URL: http://svn.apache.org/viewvc?rev=1311631&view=rev
Log:
webapp sample separation of key and content in the output

Modified:
    incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js

Modified: incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js?rev=1311631&r1=1311630&r2=1311631&view=diff
==============================================================================
--- incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js (original)
+++ incubator/directmemory/trunk/examples/server-example/src/main/webapp/js/sample.js Tue Apr 10 08:31:28 2012
@@ -123,7 +123,7 @@ $(function() {
           },
           200:function( data ) {
             var wine = $.parseJSON(data);
-            displayInfo('get from cache with key:'+wine.description);
+            displayInfo('get from cache with key:'+key+",value:"+wine.description);
           },
           500:function(data){
             displayError("error get from cache");