Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task-number: QTBUG-19136
- Loading branch information
Aaron Kennedy
committed
Jun 23, 2011
1 parent
f153846
commit b35d6b4
Showing
5 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/auto/declarative/qdeclarativeecmascript/data/importScope.1.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
var value = 240 |
3 changes: 3 additions & 0 deletions
3
tests/auto/declarative/qdeclarativeecmascript/data/importScope.2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
function getValue() { | ||
return ImportScope1.value | ||
} |
7 changes: 7 additions & 0 deletions
7
tests/auto/declarative/qdeclarativeecmascript/data/importScope.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import QtQuick 1.0 | ||
import "importScope.1.js" as ImportScope1 | ||
import "importScope.2.js" as ImportScope2 | ||
|
||
QtObject { | ||
property int test: ImportScope2.getValue() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters