This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
collaborate [2016/09/08 09:47] liz created |
collaborate [2017/03/23 15:00] (current) liz [Motion detect] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Collaborative work ====== | ====== Collaborative work ====== | ||
| - | In the long run we will have a way to work more organically with code fragments in a shared repository. In the short term however we just have a simple page in here where people can edit code sections that will be merged in LOL. | + | In the long run we will have a way to work more organically with code fragments in a shared repository - Probably built into Jennifer. The current front-runners are (add any suggestions you think may work): |
| + | |||
| + | * [[http://collabedit.com/uv34g]] | ||
| + | |||
| + | |||
| + | In the short term however we just have a simple page in here where people can edit code sections that will be merged in LOL.Feel free to add sections from the [[todo|Todo List]] if you think you have anything that may help 8-O | ||
| + | |||
| + | ===== AI ===== | ||
| - | ====== AI ====== | ||
| Part of the AI works by matching on keywords then taking an action - Any suggestions for keywords with resulting actions will be appreciated (only need to describe - will be converted to the script language later) | Part of the AI works by matching on keywords then taking an action - Any suggestions for keywords with resulting actions will be appreciated (only need to describe - will be converted to the script language later) | ||
| <code> | <code> | ||
| Line 9: | Line 15: | ||
| </code> | </code> | ||
| - | ====== beforeunload event to the task page ====== | + | ===== Languages ===== |
| + | |||
| + | Currently languages are catered for by phrase files that simple swap english words for those in a selected language. Please update or improve any files as needed. | ||
| + | * [[lang:de|]] - German | ||
| + | * [[lang:fr|]] - French | ||
| + | * [[lang:it|]] - Italian | ||
| + | * [[lang:nl|]] - Dutch | ||
| + | |||
| + | You can also add a new language if you like using the same format. Changes made will merge into the system within 24 hours. | ||
| + | |||
| + | We aim to also use your selected language for the options page so expect a new batch of words to be added for translation in the next week. | ||
| + | ===== beforeunload event to the task page ===== | ||
| Guess to do this will need a change to the body html: | Guess to do this will need a change to the body html: | ||
| <code> | <code> | ||
| Line 18: | Line 35: | ||
| <code> | <code> | ||
| <script> | <script> | ||
| + | var ended = false; | ||
| function exittask() { | function exittask() { | ||
| + | if (ended == false) { | ||
| return "Are you sure you want to leave - if task not finished, Jennifers mood will drop!"; | return "Are you sure you want to leave - if task not finished, Jennifers mood will drop!"; | ||
| + | } | ||
| } | } | ||
| </script> | </script> | ||
| </code> | </code> | ||
| - | Whilst the above will work it would be nice to have a flag (that can be set in javascript so you don't get the warning if you have finished the task. | + | Whilst the above will work it would be nice to stop if you have finished the task. but I guess you can run somthinglike this in the javascript when the task is finished. |
| + | <code> | ||
| + | body.onbeforeunload=""; | ||
| + | </code> | ||