Create core-2.2.0a.js

Added `inject` property and JavaScript type() injections.