Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Van Cutsem committed Apr 4, 2013
1 parent ca4b525 commit ba20f11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/membrane.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
// is used
var dryToWetMaker = function(dryToWetCache, wetToDryCache, dryToWetRef, wetToDryRef) {

// This function is called whenever a dry object crosses the membrane
// to the wet side. It should convert the dryTarget to its wet counterpart.
return function(dryTarget) {

if (Object(dryTarget) !== dryTarget) {
Expand Down Expand Up @@ -272,7 +274,7 @@
return Reflect.isExtensible(wetShadowTarget);
},

// FIXME: skipped onFreeze, onSeal, onIsFrozen, onIsSealed
// FIXME: skipped freeze, seal, isFrozen, isSealed traps

has: function(wetShadowTarget, name) {
if (revoked) throw new Error("revoked");
Expand Down
4 changes: 3 additions & 1 deletion notification/membrane.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
// is used
var dryToWetMaker = function(dryToWetCache, wetToDryCache, dryToWetRef, wetToDryRef) {

// This function is called whenever a dry object crosses the membrane
// to the wet side. It should convert the dryTarget to its wet counterpart.
return function(dryTarget) {

if (Object(dryTarget) !== dryTarget) {
Expand Down Expand Up @@ -278,7 +280,7 @@
return undefined;
},

// FIXME: skipped onFreeze, onSeal, onIsFrozen, onIsSealed
// FIXME: skipped onFreeze, onSeal, onIsFrozen, onIsSealed traps

onHas: function(wetShadowTarget, name) {
if (revoked) throw new Error("revoked");
Expand Down

0 comments on commit ba20f11

Please sign in to comment.