adjusted some more chrome references in make.js and README.js as per @yurydelendik's suggestion
This commit is contained in:
		
							parent
							
								
									4a4f570aed
								
							
						
					
					
						commit
						8dc41e7483
					
				| @ -42,11 +42,11 @@ The Chromium extension is still somewhat experimental but it can be installed tw | |||||||
| ways: | ways: | ||||||
| 
 | 
 | ||||||
| + [Unofficial Version](https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm) - *This extension is maintained by a PDF.js contributor.* | + [Unofficial Version](https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm) - *This extension is maintained by a PDF.js contributor.* | ||||||
| + Build Your Own - Get the code as explained below and issue `node make extension`. Then open | + Build Your Own - Get the code as explained below and issue `node make chromium`. Then open | ||||||
| Chrome, go to `Tools > Extension` and load the (unpackaged) extension from the | Chrome, go to `Tools > Extension` and load the (unpackaged) extension from the | ||||||
| directory `build/chrome`. | directory `build/chromium`. | ||||||
| 
 | 
 | ||||||
| The version of the extension for the Opera browser can be found at the [Opera add-ons](https://addons.opera.com/en/extensions/details/pdf-viewer/). | The version of the extension for the Opera browser can be found at the [Opera add-ons catalog](https://addons.opera.com/en/extensions/details/pdf-viewer/). | ||||||
| 
 | 
 | ||||||
| ## Getting the Code | ## Getting the Code | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								make.js
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								make.js
									
									
									
									
									
								
							| @ -353,7 +353,7 @@ target.extension = function() { | |||||||
| 
 | 
 | ||||||
|   target.locale(); |   target.locale(); | ||||||
|   target.firefox(); |   target.firefox(); | ||||||
|   target.chrome(); |   target.chromium(); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| target.buildnumber = function() { | target.buildnumber = function() { | ||||||
| @ -635,10 +635,10 @@ target.b2g = function() { | |||||||
| //
 | //
 | ||||||
| // make chrome
 | // make chrome
 | ||||||
| //
 | //
 | ||||||
| target.chrome = function() { | target.chromium = function() { | ||||||
|   cd(ROOT_DIR); |   cd(ROOT_DIR); | ||||||
|   echo(); |   echo(); | ||||||
|   echo('### Building Chrome extension'); |   echo('### Building Chromium extension'); | ||||||
|   var defines = builder.merge(DEFINES, {CHROME: true}); |   var defines = builder.merge(DEFINES, {CHROME: true}); | ||||||
| 
 | 
 | ||||||
|   var CHROME_BUILD_DIR = BUILD_DIR + '/chromium/', |   var CHROME_BUILD_DIR = BUILD_DIR + '/chromium/', | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user