converts a TERP link in a module to an iframe hosted by Tutor

Currently the demo Tutor site is used and some basic styles applied to the iframe.  When we merge the TERP code and deploy it to production, we'll need to update this line to reflect the production URL.

cc @philschatz, @edwoodward, @kathi-fletcher
I think the href will change too much, but what about "terp-pilot-" ?

Kathi


On Mon, Jun 23, 2014 at 9:43 AM, Philip Schatz <notifications@github.com>
wrote:

> In src/scripts/modules/media/body/body.coffee:
>
> > @@ -38,6 +38,14 @@ define (require) ->
> >      onRender: () ->
> >        MathJax?.Hub.Queue(['Typeset', MathJax.Hub], @$el.get(0))
> >
> > +      # Converts a TERP link to an OST-hosted iframe
> > +      @$el.find('a[href*="terp-"]').each () ->
>
> This will probably match too much. Is there a more-specific URL we can
> use? Like href^="https://srotmy-wave-8747.herokuapp.com/terp/"?
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/Connexions/webview/pull/580/files#r14078483>.
>



-- 
Katherine Fletcher, kathi.fletcher@gmail.com
<kathi.fletcher@gmail.com>
Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog:
kefletcher.blogspot.com
<kathi.fletcher@gmail.com>