After some more code digging and experiments I can answer my own question. A theme is a normal plugin and as such does not inherit any behavior from other plugins.
So you need to copy everything you need from the base theme library.js to your child theme. And of course, you need to declare client scripts explicitly.
Loading of missing templates from base theme is the only link between the base and the child theme.
how to remove header and footer from 404 error templates.
I have created 404.tpl , and added my custom message. however, I dont want anything else to appear. I tried to use Jquery to do this and it works but after the page is load, so it shows the header and footer for a second then hide them. is it possible to do so before page load ??
thank you !!
the answer is in this topic :