Kevin Lubick | 3088c69 | 2020-04-24 15:06:19 -0400 | [diff] [blame] | 1 | // Adds compile-time JS functions to augment the SkottieKit interface. |
2 | (function(SkottieKit) { | ||||
3 | |||||
4 | |||||
5 | // This intentionally dangles because we want all the | ||||
6 | // JS code to be in the same scope, but JS doesn't support | ||||
7 | // namespaces like C++ does. Thus, we simply include this | ||||
8 | // preamble.js file, all the source .js files and then postamble.js | ||||
9 | // to bundle everything in the same scope. |