| Index: native_client_sdk/src/examples/demo/life/example.js
|
| diff --git a/native_client_sdk/src/examples/demo/pi_generator/example.js b/native_client_sdk/src/examples/demo/life/example.js
|
| similarity index 69%
|
| copy from native_client_sdk/src/examples/demo/pi_generator/example.js
|
| copy to native_client_sdk/src/examples/demo/life/example.js
|
| index dfc77467a41061f074de90d0a18823bad139f16d..0afee49e50388c5bd1f76d472f7f745d1738ae16 100644
|
| --- a/native_client_sdk/src/examples/demo/pi_generator/example.js
|
| +++ b/native_client_sdk/src/examples/demo/life/example.js
|
| @@ -2,15 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Start up the paint timer when the NaCl module has loaded.
|
| -function moduleDidLoad() {
|
| - setInterval(postPaintMessage, 5);
|
| -}
|
| -
|
| -function postPaintMessage() {
|
| - common.naclModule.postMessage('paint');
|
| -}
|
| -
|
| // Handle a message coming from the NaCl module. The message payload is
|
| // assumed to contain the current estimated value of Pi. Update the Pi
|
| // text display with this value.
|
|
|