mirror of
				https://github.com/skishore/makemeahanzi.git
				synced 2025-10-31 19:07:07 +08:00 
			
		
		
		
	Tweak convnet to use Meteor-style exports
This commit is contained in:
		
							
								
								
									
										9
									
								
								lib/external/convnet/1.1.0/convnet.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								lib/external/convnet/1.1.0/convnet.js
									
									
									
									
										vendored
									
									
								
							| @ -2112,11 +2112,4 @@ var convnetjs = convnetjs || { REVISION: 'ALPHA' }; | |||||||
|  |  | ||||||
|   global.MagicNet = MagicNet; |   global.MagicNet = MagicNet; | ||||||
| })(convnetjs); | })(convnetjs); | ||||||
| (function(lib) { | this.convnetjs = convnetjs; | ||||||
|   "use strict"; |  | ||||||
|   if (typeof module === "undefined" || typeof module.exports === "undefined") { |  | ||||||
|     window.jsfeat = lib; // in ordinary browser attach library to window |  | ||||||
|   } else { |  | ||||||
|     module.exports = lib; // in nodejs |  | ||||||
|   } |  | ||||||
| })(convnetjs); |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shaunak Kishore
					Shaunak Kishore