Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit0dbe27e

Browse files
committed
Don't use .css here
1 parentbda43ec commit0dbe27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎script/enterprise-cutter‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ begin
5050
doc.css('img').eachdo |img|
5151
img['src']="/enterprise/#{version}#{img['src']}"ifimg['src'] =~/^\//
5252
end
53-
doc.css('.not-enterprise').remove
53+
doc.search('//*[@class="not-enterprise"]').remove
5454
File.open(html_file,'w'){ |file|file.write(doc.to_html)}
5555
end
5656

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp