Merge upstream new version
This commit is contained in:
		| @@ -17,6 +17,8 @@ textarea { | ||||
| 	outline: none; | ||||
| 	resize: none; | ||||
| 	font-size: 13px; | ||||
| 	margin-top: 0; | ||||
| 	margin-bottom: 0; | ||||
| } | ||||
|  | ||||
| /* the line numbers */ | ||||
| @@ -31,6 +33,7 @@ textarea { | ||||
| 	font-size: 13px; | ||||
| 	font-family: monospace; | ||||
| 	text-align: right; | ||||
| 	user-select: none; | ||||
| } | ||||
|  | ||||
| /* code box when locked */ | ||||
| @@ -123,6 +126,7 @@ a.logo:hover { | ||||
| 	font-size: 12px; | ||||
| 	line-height: 14px; | ||||
| 	padding: 10px 15px; | ||||
| 	user-select: none; | ||||
| } | ||||
|  | ||||
| #box3 .label { | ||||
|   | ||||
| @@ -64,7 +64,7 @@ haste_document.prototype.save = function(data, callback) { | ||||
|     type: 'post', | ||||
|     data: data, | ||||
|     dataType: 'json', | ||||
|     contentType: 'application/json; charset=utf-8', | ||||
|     contentType: 'text/plain; charset=utf-8', | ||||
|     success: function(res) { | ||||
|       _this.locked = true; | ||||
|       _this.key = res.key; | ||||
| @@ -170,8 +170,7 @@ haste.extensionMap = { | ||||
|   lua: 'lua', pas: 'delphi', java: 'java', cpp: 'cpp', cc: 'cpp', m: 'objectivec', | ||||
|   vala: 'vala', sql: 'sql', sm: 'smalltalk', lisp: 'lisp', ini: 'ini', | ||||
|   diff: 'diff', bash: 'bash', sh: 'bash', tex: 'tex', erl: 'erlang', hs: 'haskell', | ||||
|   md: 'markdown', txt: '', coffee: 'coffee', json: 'javascript', | ||||
|   swift: 'swift' | ||||
|   md: 'markdown', txt: '', coffee: 'coffee', swift: 'swift' | ||||
| }; | ||||
|  | ||||
| // Look up the extension preferred for a type | ||||
|   | ||||
							
								
								
									
										2
									
								
								static/application.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								static/application.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								static/highlight.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								static/highlight.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user