Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #61 from hiradimir/master
Browse files Browse the repository at this point in the history
supports MultiBytes and use local jquery same version
  • Loading branch information
jjbennett authored Sep 22, 2016
2 parents d377798 + 8d480a0 commit 8b869e1
Show file tree
Hide file tree
Showing 4 changed files with 10,312 additions and 7,183 deletions.
4 changes: 2 additions & 2 deletions src/org/salesforce/apexdoc/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

public class Constants {

public static final String HEADER_OPEN = "<html><head>" +
"<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.1.js'></script>" +
public static final String HEADER_OPEN = "<html><head>" +
"<script type='text/javascript' src='jquery-1.11.1.js'></script>" +
"<script type='text/javascript' src='CollapsibleList.js'></script>" +
"<script type='text/javascript' src='ApexDoc.js'></script>" +
"<link rel='stylesheet' type='text/css' href='ApexDoc.css' /> " +
Expand Down
4 changes: 2 additions & 2 deletions src/org/salesforce/apexdoc/FileManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private boolean createHTML(TreeMap<String, String> mapFNameToContent, IProgressM
File file = new File(fileName);
fos = new FileOutputStream(file);
dos = new DataOutputStream(fos);
dos.writeBytes(contents);
dos.write(contents.getBytes());
dos.close();
fos.close();
infoMessages.append(fileName + " Processed...\n");
Expand Down Expand Up @@ -405,7 +405,7 @@ private void copy(String toFileName) throws IOException, Exception {
docopy("ApexDoc.css", toFileName);
docopy("ApexDoc.js", toFileName);
docopy("CollapsibleList.js", toFileName);
docopy("jquery-latest.js", toFileName);
docopy("jquery-1.11.1.js", toFileName);
docopy("toggle_block_btm.gif", toFileName);
docopy("toggle_block_stretch.gif", toFileName);

Expand Down
Loading

0 comments on commit 8b869e1

Please sign in to comment.