Where to load webix? -


trying learn webix (and javascript @ all). common practice loading javascript libraries @ end of body.

the webix quick start doc says:

<!doctype html>// specifies document type <html>     <head>     <link rel="stylesheet" href="../../codebase/webix.css" type="text/css">      <script src="../../codebase/webix.js" type="text/javascript"></script>       </head>     <body> 

e.g. loads library in head.

questions:

  • the webix lib should loaded in <head>?
  • if yes, should loaded jquery , twitter bootstrap?
  • and in order?

you can place webix.js anywhere on page. sure js code uses webix api used after webix.js loading

normally scripts placed @ end of html file add interactivity page. in case of webix ui, without webix.js not see content on page @ all, there no benefits putting webix.js @ end of page.

as jquery - if plan use webix-jquery integration need load webix.js after loading jquery ( @ head, or @ end of file, doesn't matter )


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -