Do with it whatever you want, no credit nothing required.
Would appreciate it though if you would rename the Silv variable to your own to avoid conflicts 😉
It seems he hints that he doesn't know how to alias and that he is just trying something. So even with anonymous functions he would cause it to crash sooner or later.
If he would have used my template it wouldn't be possible to have a duplicate alias though 😉 . No need for an anonymous function. But IF you skip on the anonymous function, you better know exactly what you are doing or things turn ugly. So I would also recommend him using an anonymous function (for now).
I highly recommend any starting plugin writers to use the anonymous function around all of your code at first. When you get more experienced, drop it later on.
Also there is a bug in his code:
shrap_x_interpreter.apply(this);should be:
shrap_x_interpreter.apply(this, arguments);The other possible problem is that if he did not use an anonymous function, he indeed now declared an (probably accidental) public variable called shrap_x_interpreter which also clutters the global window namespace. On top of that it doesn't sound very unique so if he would create another plugin, it would probably conflict already. Each alias must be unique (per scope).