fix typo writable
s/writeable/writable
This commit is contained in:
@@ -27,7 +27,7 @@ var Test = function(Foo) {
|
||||
|
||||
Object.defineProperties(Test.prototype, {
|
||||
test: {
|
||||
writeable: true,
|
||||
writable: true,
|
||||
|
||||
value: function() {
|
||||
Foo.prototype.test.call(this);
|
||||
@@ -43,7 +43,7 @@ var Test = function(Foo) {
|
||||
|
||||
Object.defineProperties(Test, {
|
||||
foo: {
|
||||
writeable: true,
|
||||
writable: true,
|
||||
|
||||
value: function() {
|
||||
Foo.foo.call(this);
|
||||
|
||||
@@ -14,7 +14,7 @@ var Test = function(Foo) {
|
||||
Test.__proto__ = Foo;
|
||||
Object.defineProperties(Test, {
|
||||
test: {
|
||||
writeable: true,
|
||||
writable: true,
|
||||
|
||||
value: function() {
|
||||
return Foo.wow.call(this);
|
||||
|
||||
@@ -2,7 +2,7 @@ var Test = function () {
|
||||
var Test = function Test() { };
|
||||
Object.defineProperties(Test.prototype, {
|
||||
test: {
|
||||
writeable: true,
|
||||
writable: true,
|
||||
value: function () {
|
||||
return 5 + 5;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ var A = function() {
|
||||
|
||||
Object.defineProperties(A, {
|
||||
a: {
|
||||
writeable: true,
|
||||
writable: true,
|
||||
value: function() {}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user