src/redux/actions/tasks.js
/**
 * added by Mariana
 * @description function that embeds books.google.com/talktobooks/ site into rightanswerquestion iframe
 * @param url  website address to embed
 */
added by Mariana
@description function that embeds books.google.com/talktobooks/ site into rightanswerquestion iframe
@param url  website address to embed
added by Mariana @description function that embeds books . google . com / talktobooks / site into rightanswerquestion iframe @param url website address to embed
function loadURL(url) {
  var script = document.createElement('script');
  script.src =
    'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20data.headers%20where%20url%3D%22' +
    encodeURIComponent(url) +
    '%22&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=getData';
  document.body.appendChild(script);
  return {
    type: LOAD_ACTIVATE_URL,
  };
}
function loadURL ( url ) { var script = document . createElement ( 'script' ) ; script . src = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20data.headers%20where%20url%3D%22' + encodeURIComponent ( url ) + '%22&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=getData' ; document . body . appendChild ( script ) ; return { type : LOAD_ACTIVATE_URL , } ; }
added by Mariana
 @description function that embeds books.google.com/talktobooks/ site into rightanswerquestion iframe
 @param url  website address to embed
added by Mariana @description function that embeds books . google . com / talktobooks / site into rightanswerquestion iframe @param url website address to embed