pgra071 / milkthecow

Automatically exported from code.google.com/p/milkthecow
0 stars 0 forks source link

Create a RTM utilities library #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There should be a library separate from milkthecow.js that handles all the
RTM API calls, rtm.js
This library should be done with Object-Oriented Javascript:
var RTM = { variable: value, ... }
RTM.method = function(){}

This has many benefits:
 * rtm.js can be re-used by others
 * makes code much more organized and easier to navigate through
 * variables are encapsulated within the RTM class, avoiding conflicts and
leaking
 * md5.js can also be included into rtm.js

P.S. setISO8601 and date.format.js should be in one file or be included
into milkthecow.js  

Original issue reported on code.google.com by hong.rich on 8 Jan 2009 at 7:56

GoogleCodeExporter commented 8 years ago
setISO8601 and date.format.js are in the same file date.js

Original comment by hong.rich on 28 Jan 2009 at 11:39

GoogleCodeExporter commented 8 years ago
After further investigation, it seemed non-trivial to separate pure rtm 
functions
from widget functions. So this would be low priority for now.

Original comment by hong.rich on 20 Jul 2009 at 6:42

GoogleCodeExporter commented 8 years ago
This issue was closed by revision fac14d7c44.

Original comment by hong.rich on 29 Jan 2010 at 4:18

GoogleCodeExporter commented 8 years ago

Original comment by hong.rich on 29 Jan 2010 at 4:22