iframejs.jslib 569 B

1234567891011121314151617181920212223
  1. mergeInto(LibraryManager.library, {
  2. CreateIFrame: function ()
  3. {
  4. window.location.href = 'https://fangzhen.cocorobo.cn/blockly';
  5. },
  6. gotoUnity: function (type)
  7. {
  8. window.location.href = 'https://fangzhen.cocorobo.cn/unity?type='+type;
  9. },
  10. SayHello: function(){
  11. window.alert("hello,world!")
  12. },
  13. ReportReady: function(){
  14. window.ReportReady();
  15. },
  16. noActive: function(type){
  17. window.noActive(type);
  18. },
  19. noCamera: function(str){
  20. window.noCamera(Pointer_stringify(str));
  21. },
  22. });