Sign in
gerrit
/
java-prettify
/
77149c813fdb901b3eb62b226fc3c6f9346b7a2c
/
.
/
test
/
prettify
/
PrettifyTest
/
source
/
issue217.txt
blob: 821a97361e1b8a3820a1cb6357289a4e6c1ff8d3 [
file
] [
log
] [
blame
]
<pre id="issue217" class="prettyprint lang-js">
if(!/^https?:\/\//i.test(val) && foo == 'bar') {
val = 'http://' + val;
}