Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
prebuilts
/
fullsdk-darwin
/
platform-tools
/
9d1c10f15c6bd2905d692a4f9285d877483cc224
/
.
/
systrace
/
catapult
/
common
/
py_vulcanize
/
py_vulcanize
/
js_utils.py
blob: 6e6ca9db674be52b9c3d030d4b1d54444f814352 [
file
] [
log
] [
blame
]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
def
EscapeJSIfNeeded
(
js
):
return
js
.
replace
(
'</script>'
,
'<\/script>'
)