Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

PixelJS.proxy Method

Invokes a function within a specified context.

Parameters

Name Description
callback The function to be invoked.
context The object that should be assigned to the this object when invoking the function.
additionalArguments Optional: an array of arguments to be passed to the function.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.