Good question Thiago,

I dont know what your definition of import is.
The markup generated is actually spelling out all my modules at the bottom as 
shown here

</script><script
 src="/assets/meta/z8d348af1/tapestry5/require.js" 
type="text/javascript"></script><script 
src="/assets/meta/z12d98417/tapestry5/underscore-1.5.2.js" 
type="text/javascript"></script><script 
src="/assets/meta/zd746764f/tapestry5/t53-compatibility.js" 
type="text/javascript"></script><script 
src="/assets/meta/z8631d47d/tapestry5/jquery.js" 
type="text/javascript"></script><script 
type="text/javascript">require(["t5/core/pageinit"], function(pi) { 
pi([
  "/assets/meta/z8c24aeca/js/bower_components/bootstrap/js/bootstrap.js",
  
"/assets/meta/z4d846000/js/bower_components/angular-cookies/angular-cookies.js",
  "/assets/meta/z62fa7458/js/bower_components/angular-mocks/angular-mocks.js",
  
"/assets/meta/z4ba9064e/js/bower_components/angular-resource/angular-resource.js",
  "/assets/meta/z97f0edc9/js/bower_components/angular-route/angular-route.js",
  
"/assets/meta/z1ccb7eb9/js/bower_components/angular-scenario/angular-scenario.js",
  
"/assets/meta/ze32e99de/js/bower_components/angular-translate/angular-translate.js",
  
"/assets/meta/z4cd0a7c9/js/bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files.js",
  
"/assets/meta/z70475bfa/js/bower_components/angular-translate-storage-cookie/angular-translate-storage-cookie.js",
  "/assets/meta/za0803954/js/bower_components/angular/angular.min.js",
  "/assets/meta/psi/z7584ae1a/mixins/date-time.js",
  "/assets/meta/psi/z8dee8f2b/mixins/Gallery.js",
  "/assets/meta/psi/zba28d564/mixins/TransparentText.js",
  "/assets/meta/psi/z182b3936/mixins/TransparentTextImage.js",
  "/assets/meta/psi/za58fd9c5/app.js",
  "/assets/meta/psi/z3636d550/mixins/ngscripts/partialmodal.js",
  "/assets/meta/ze8aeab29/tapestry5/scriptaculous_1_9_0/dragdrop.js"
], [
  [
    "t5/core/pageinit:evalJavaScript",
    "Tapestry.DEBUG_ENABLED = true;"
  ],
  [
    "t5/core/pageinit:focus",
    "itemsPerPageSelect"
  ]
]); });</script></body>
</html>

My scripts are the ones from the bower path, mixins and top of path.
So this is obviously the JavaScriptStack interface in action. Isnt this the 
import ?
Import meaning you specify the module with script tag, type, src in the head 
section.
What is this PI function? does it do anything?
I dont know what JavaScriptStack is doing under the hood enough to believe I 
need to do anything further.
                                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                        All I am thinking is a 
JavaScriptStack  class exists for me to implement and that it should do it all 
? Thats why I am sifting thru the markup generated.

Can you elaborate what I need to do in order to get my script loaded ?
I thought using the JavaScriptStack interface was sufficient since its in there 
it should load them... no ?
Thank You for clarifications

                                          

Reply via email to