| Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/common.js
|
| diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/common.js b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/common.js
|
| index f7df0d83b550c0d5abf7a3f8ff28e10591a2dd24..6901fe76a0523a289c5b2f8bfe54e1d13e206153 100644
|
| --- a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/common.js
|
| +++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/common.js
|
| @@ -26,7 +26,10 @@ var common = (function () {
|
| moduleEl.setAttribute('width', width);
|
| moduleEl.setAttribute('height',height);
|
| moduleEl.setAttribute('src', tool + '/' + name + '.nmf');
|
| - moduleEl.setAttribute('type', 'application/x-nacl');
|
| + if (tool == 'win')
|
| + moduleEl.setAttribute('type', 'application/x-ppapi');
|
| + else
|
| + moduleEl.setAttribute('type', 'application/x-nacl');
|
|
|
| // The <EMBED> element is wrapped inside a <DIV>, which has both a 'load'
|
| // and a 'message' event listener attached. This wrapping method is used
|
|
|