Skip to content
Browse files

[fix] qml2js: add self packages.

Fixes compilation of single file that declares a package.
  • Loading branch information...
1 parent 92c0daa commit 045dd6673edd993dad97e2e5d9d05f1f2029e9be @arthuraa arthuraa committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/qml2js/qml2js.ml
View
2 compiler/qml2js/qml2js.ml
@@ -234,7 +234,7 @@ struct
let js_init = JsUtils.export_to_global_namespace (List.map snd js_init) in
let js_code = js_init @ env_js_input.js_code in
- let opx_requires = ObjectFiles.fold_dir
+ let opx_requires = ObjectFiles.fold_dir ~packages:true
(fun requires opx -> opx :: requires) [] in
let save = {S.

0 comments on commit 045dd66

Please sign in to comment.
Something went wrong with that request. Please try again.