~loic.molinari/+junk/qtdeclarative-shadereffectsource-changes

« back to all changes in this revision

Viewing changes to tests/auto/qml/qqmlecmascript/data/jsimport/testImportScoping.qml

  • Committer: Loïc Molinari
  • Date: 2012-04-21 17:59:51 UTC
  • Revision ID: loic.molinari@canonical.com-20120421175951-bqx68caaf5zrp76l
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
 
 
3
// For backward compatibility, importing a script which has no imports,
 
4
// should run the script in the parent context.  See QTBUG-17518.
 
5
 
 
6
import "importWithNoImports.js" as TestNoImportScoping
 
7
 
 
8
QtObject {
 
9
    id: testQtObject
 
10
    property int componentError: TestNoImportScoping.componentError()
 
11
}