Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- typemap for Date made instrinsic

  • Loading branch information...
commit f9d265003178b765e409b8b0bb26036d37357078 1 parent 38de2be
authored January 04, 2011
4  lib/KiokuJS/Node.js
@@ -48,7 +48,7 @@ Class('KiokuJS.Node', {
48 48
         // node will produce separate first-class (extrinisic) entry unless it (or its typemap) has `intrinsic` flag set
49 49
         extrinsic   : false,
50 50
         
51  
-        // node will produce intrinsic entries
  51
+        // node will produce intrinsic entries (take a priority over the `extrinsic`)
52 52
         intrinsic   : false,
53 53
         
54 54
         // node will be skipped from the collapse result (effectively from all store operations)
@@ -176,7 +176,7 @@ Class('KiokuJS.Node', {
176 176
         },
177 177
         
178 178
         
179  
-        afterInsert : function (entry) {
  179
+        afterInsert : function (result) {
180 180
             this.clearEntry()
181 181
         }
182 182
         
3  lib/KiokuJS/TypeMap/Date.js
@@ -6,7 +6,8 @@ Class('KiokuJS.TypeMap.Date', {
6 6
     
7 7
     
8 8
     has : {
9  
-        forClass    : 'Date'
  9
+        forClass    : 'Date',
  10
+        intrinsic   : true
10 11
     },
11 12
     
12 13
         

0 notes on commit f9d2650

Please sign in to comment.
Something went wrong with that request. Please try again.