<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Great!<br>
<br>
I suspect the files are small enough to send by attachment to an
email. I am sure as we move into this there will be more 'official'
ways to do this.<br>
<br>
Packaging is something I haven't given much thought to. My guess is
that we should package it for the XO as a Sugar Activity, although a
reasonable alternative is <br>
to put it in a special place such as /home/olpc/Documents/jsplayer
and let the user launch it in the browser by
<a class="moz-txt-link-freetext" href="file:///home/olpc/Documents/jsplayer/">file:///home/olpc/Documents/jsplayer/</a>. It could also be packaged as
a 'plugin' to the Browse activity. For deployments with a local
server, it could be something like <a class="moz-txt-link-freetext" href="http://schoolserver/jsplayer">http://schoolserver/jsplayer</a>.<br>
<br>
Tony<br>
<br>
<div class="moz-cite-prefix">On 03/10/2015 02:43 PM, Richa Sehgal
wrote:<br>
</div>
<blockquote
cite="mid:CAPYWsU_OqdDHLd+YoJrsLWuYr=iggdXKDVNspRWc90S9VJW50w@mail.gmail.com"
type="cite">
<div dir="ltr">Dear Tony,<br>
<br>
I have created a light-weight version of jsfiddle which lets
user enters HTML, CSS and JavaScript code, and when the user
clicks Run method, the code is executed. Its a very basic
prototype, with no fancy design stuff, but I will create a great
design for the actual Activity that would be integrated in
Sugar.<br>
To enable the code to run in offline mode, I have used basic
HTML and JS primitives without jquery library and so on. So it
should be very easy to just download the file and open in any
browser. The code takes the HTML, CSS and JS input and inserts
it in the relevant HTML tags in the iframe DOM (like style,
etc).<br>
There are two files - jsfiddle-prototype.html and style.css. I
am not sure what the policies of this mailing lists are for
sharing files, so I would send these separately to you. Please
let me know otherwise.<br>
<br>
I hope you like the prototype. Please send me your opinion and
the next steps in the project. I am really looking forward to
have a JS Shell Activity integrated in Sugar :)<br>
<br>
Thanks a lot,<br>
Richa</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Mar 8, 2015 at 11:44 PM, Tony
Anderson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Great,
carry on!<span class="HOEnZb"><font color="#888888"><br>
<br>
Tony</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 03/09/2015 02:10 PM, Richa Sehgal wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Tony,<br>
<br>
Thanks for replying back. I am glad to you have as my
mentor! Using the underlying JS course for testing is
a great idea. We can integrate that as a help tutorial
- depending upon the time available.<br>
<br>
Currently I have started looking into the
implementation of jsfiddle and would report back about
my learnings. I am sure that there are other platforms
too - I would look into these too. I would make a
prototype and share with you the code. This way we can
put our thinking hats together and iterate over a
concrete plan. I also have some ideas that would make
this tool more fun and engaging to use, keeping in
mind that the target audience is students.<br>
<br>
Thanks a lot,<br>
Richa<br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>