diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.js')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.js b/tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.js deleted file mode 100644 index 14daa7629f..0000000000 --- a/tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.js +++ /dev/null @@ -1,17 +0,0 @@ -function bindProperty() -{ - a = (function(){ return aNumber * 10 }) -} - - -function TestObject() { } -TestObject.prototype.aNumber = 928349 -TestObject.prototype.bindFunction = function() { - return this.aNumber * 10 // this should not use the TestObject's aNumber -} -var testObj = new TestObject() - -function bindPropertyWithThis() -{ - a = testObj.bindFunction -} |