_st.js 331 B

123456789101112131415
  1. /*
  2. _st points to a function used all over the compiled amber code that
  3. takes any value (JavaScript or Smalltalk) and returns a proper Amber Smalltalk receiver.
  4. null or undefined -> nil,
  5. plain JS object -> wrapped JS object,
  6. otherwise unchanged
  7. */
  8. define("amber_vm/_st", ["./boot"], function (boot) {
  9. return boot._st;
  10. });