Welcome Guest, Not a member yet? Register   Sign In
Good documentation?
#1

[eluser]Unknown[/eluser]
Hi everyone,

the docs say that CodeIgniter is well documented however at http://ellislab.com/codeigniter/user-gui...pages.html there is code in the footer.php that is not explained. It is bunch of JavaScript. What does it do?

Code:
[removed]if(!NREUMQ.f){NREUMQ.f=function(){NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.src=(("http:"===document.location.protocol)?"http:":"https:")+"//"+"js-agent.newrelic.com/nr-100.js";document.body.appendChild(e);if(NREUMQ.a)NREUMQ.a();};NREUMQ.a=window.onload;window.onload=NREUMQ.f;};NREUMQ.push(["nrfj","beacon-5.newrelic.com","eb488e72a1","2666983","NgEEZBYHDUFWVk0KWg9LJUUXEgxfGFZWB1AIAwhZEAMRHUJGXBEYBhEPVAFGThJyWVUKRi0FBA==",0,40,new Date().getTime(),"","","","",""]);[removed]

The second thing is in http://ellislab.com/codeigniter/user-gui...ction.html there is no data inserted into the news table so viewing the result of the actions done in the tutorial is meaningless.

EDIT:
So the community is not that active either?
#2

[eluser]pickupman[/eluser]
The javascript snippet in the docs is loading NewRelic. Not exactly sure what the purpose of the snippet would be used for in the tutorial, other than to show an example of using some inline javascript on a page.

The other tutorial link you mentioned ("News"), doesn't show any code for adding any news items. The tutorial only show retrieving and displaying items from a table.




Theme © iAndrew 2016 - Forum software by © MyBB