Commits

Sean Wilkinson  committed 48d8830

Changed an ES5 property descriptor to work around a problem in Chrome ...

  • Participants
  • Parent commits d978ec0

Comments (0)

Files changed (1)

File src/quanah.js

              // `defineProperty` instead of by assigning directly because then
              // I can edit the ES5 meta-properties.
              //
-             // NOTE: I commented the next three lines out because their values
-             // are the default ones specified by the ES5.1 standard.
+             // NOTE: I commented two out of the next three lines out because
+             // their values are the defaults specified by the ES5.1 standard.
                 //configurable: false,
                 //enumerable: false,
-                //writable: false,
+                writable: true,
                 value: target
             });
             return target;
         });
 
         Object.defineProperty(AVar.prototype, 'Q', {
-         // NOTE: I commented two of the next three lines out because
-         // their values are the default ones specified by the ES5.1
-         // standard.
+         // NOTE: I commented the next three lines out because their values are
+         // the default ones specified by the ES5.1 standard.
             //configurable: false,
             //enumerable: false,
             //writable: false,