comparison nodejs/animate.js @ 907:55767e444436

Add Stub functions.
author wycc
date Sun, 03 Oct 2010 07:42:07 +0800
parents f4fd7a16361d
children 410478ded5d2
comparison
equal deleted inserted replaced
902:e86b4d56ddea 907:55767e444436
255 linear.prototype.stop = linear_stop; 255 linear.prototype.stop = linear_stop;
256 linear.prototype.finish = linear_finish; 256 linear.prototype.finish = linear_finish;
257 exports.linear = linear; 257 exports.linear = linear;
258 258
259 259
260 /* Following functions is not defined completed. 260 function multilinear_update()
261 Mark it out to prevent error message. 261 {
262 262 }
263
264 function multilinear_start()
265 {
266 }
267
268 function multilinear_stop()
269 {
270 }
271
272 function multilinear_finish()
273 {
274 }
263 function multilinear(action,start,stages) { 275 function multilinear(action,start,stages) {
264 sys.puts("Multilinear word is not implemented yet"); 276 sys.puts("Multilinear word is not implemented yet");
265 } 277 }
266 278
267 exports.multilinear = multilinear; 279 exports.multilinear = multilinear;
268 multilinear.prototype.update = multilinear_update; 280 multilinear.prototype.update = multilinear_update;
269 multilinear.prototype.start = multilinear_start; 281 multilinear.prototype.start = multilinear_start;
270 multilinear.prototype.stop = multilinear_stop; 282 multilinear.prototype.stop = multilinear_stop;
271 multilinear.prototype.finish = multilinear_finish; 283 multilinear.prototype.finish = multilinear_finish;
272 284 function exponential_update()
285 {
286 }
287 function exponential_start()
288 {
289 }
290 function exponential_stop()
291 {
292 }
293 function exponential_finish()
294 {
295 }
273 function exponential(action,start,stages) { 296 function exponential(action,start,stages) {
274 sys.puts("exponential word is not implemented yet"); 297 sys.puts("exponential word is not implemented yet");
275 } 298 }
276 299
277 exports.exponential = exponential; 300 exports.exponential = exponential;
278 exponential.prototype.update = exponential_update; 301 exponential.prototype.update = exponential_update;
279 exponential.prototype.start = exponential_start; 302 exponential.prototype.start = exponential_start;
280 exponential.prototype.stop = exponential_stop; 303 exponential.prototype.stop = exponential_stop;
281 exponential.prototype.finish = exponential_finish; 304 exponential.prototype.finish = exponential_finish;
282 305
283 */
284
285 function program(words) 306 function program(words)
286 { 307 {
287 this.words = wrods; 308 this.words = wrods;
288 } 309 }
289 310