projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rename QDeclarative symbols to QQuick and QQml
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
jsimport
/
importWithNoImports.js
1
// This js file has no imports, and so should inherit
2
// scope from the QML file which includes it.
3
4
function componentError() {
5
var i = 5;
6
var errorIsOne = Component.error == 1;
7
if (errorIsOne == true) {
8
i = i + 7;
9
}
10
return i;
11
}