I was trying to use following code in my project, but got
cc.ContainerStrategy is undefined
code below: http://www.cocos2d-x.org/docs/manual/framework/html5/resolution-policy-design/en
var policy = new cc.ResolutionPolicy(cc.ContainerStrategy.PROPORTION_TO_FRAME, cc.ContentStrategy.EXACT_FIT);
cc.EGLView.getInstance().setDesignResolutionSize(320, 480, policy);
any reason?