HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Lollipop MR1
|
5.1.0_r3
下载
查看原文件
收藏
根目录
external
chromium_org
third_party
polymer
extract_inline_scripts.sh
#!/bin/bash # 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. set -e if [ "$#" -ne 2 ] then echo "Usage: $0
" echo echo "Copies
to
and extracts all inline scripts from" \ "Polymer HTML files found in the destination directory to separate JS" \ "files. A JS file extracted from the file with name 'foo.html' will" \ "have a name 'foo-extracted.js'. Inclusion of the script file will be" \ "added to 'foo.html': ''." exit 1 fi src="$1" dst="$2" if [ -e "$dst" ] then echo "ERROR: '$dst' already exists. Please remove it before running the" \ "script." 1>&2 exit 1 fi cp -r "$src" "$dst" find "$dst" -name "*.html" \ -not -path "*/demos/*" \ -not -name "demo*.html" \ -not -name "index.html" \ -not -name "metadata.html" | \ xargs grep -l "
登录后可以享受更多权益
您还没有登录,登录后您可以:
收藏Android系统代码
收藏喜欢的文章
多个平台共享账号
去登录
首次使用?从这里
注册