News Thursday, June 14

var request = new XMLHttpRequest(); request.open(‘GET’, “https://topfeed37.firebaseio.com/v1/pages/school_learnstartup_net/_p_rkpj0xshe_unit_testing_angularjs_build_bugfree_apps_that_always_work__/twitter_poll/url.json”, true); request.onload = function() { if (request.status >= 200 && request.status < 400) { var tweet_url = JSON.parse(request.responseText); if (tweet_url !== null) { var poll = '‘; document.getElementById(‘tweet_poll’).innerHTML = poll; if (typeof twttr !== ‘undefined’) { twttr.widgets.load(); } } } else { } }; request.onerror = function() { }; request.send(); Tags:

Tags:

Tags:

The post Angular, javascript, angular4, appeared first on JSNews.



Source link https://jsnews.io/angular/angular-javascript-angular4/

LEAVE A REPLY

Please enter your comment!
Please enter your name here