Ramda upgrade
This commit is contained in:
		
							
								
								
									
										1
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								app.js
									
									
									
									
									
								
							| @@ -133,6 +133,7 @@ var trusted = [ | ||||
|     '*.ionicframework.com', | ||||
|     'https://syndication.twitter.com', | ||||
|     '*.youtube.com', | ||||
|     'cdn.jsdelivr.net/' | ||||
| ]; | ||||
|  | ||||
| app.use(helmet.contentSecurityPolicy({ | ||||
|   | ||||
| @@ -56,6 +56,7 @@ | ||||
|     "passport-local": "^1.0.0", | ||||
|     "passport-oauth": "^1.0.0", | ||||
|     "passport-twitter": "^1.0.2", | ||||
|     "ramda": "^0.10.0", | ||||
|     "request": "^2.49.0", | ||||
|     "sitemap": "^0.7.4", | ||||
|     "uglify-js": "^2.4.15", | ||||
|   | ||||
| @@ -54,7 +54,7 @@ var runHidden = function(code) { | ||||
|     var dump = null; | ||||
|     var onoffline = null; | ||||
|     var ononline = null; | ||||
|     importScript("https://cdnjs.cloudflare.com/ajax/libs/ramda/0.8.0/ramda.min.js"); | ||||
|     importScript("https://cdn.jsdelivr.net/ramda/0.10.0/ramda.min.js"); | ||||
|     var _ = R; | ||||
|  | ||||
|  | ||||
|   | ||||
							
								
								
									
										4
									
								
								public/js/lib/ramda/ramda.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								public/js/lib/ramda/ramda.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| /** | ||||
|  * Created by nathanleniz on 2/21/15. | ||||
|  */ | ||||
| var R = require('ramda'); | ||||
							
								
								
									
										6
									
								
								public/js/lib/ramda/ramda.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								public/js/lib/ramda/ramda.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -15,6 +15,7 @@ block content | ||||
|     script(src='/js/lib/codemirror/mode/javascript/javascript.js') | ||||
|     script(src='/js/lib/jailed/jailed.js') | ||||
|     script(src='/js/lib/bonfire/bonfireInit.js') | ||||
|     script(src="https://cdn.jsdelivr.net/ramda/0.10.0/ramda.min.js") | ||||
|  | ||||
|  | ||||
|     .row | ||||
| @@ -90,6 +91,7 @@ block content | ||||
|                     var passedBonfireHash = !{JSON.stringify(bonfireHash)}; | ||||
|                     var challengeName = !{JSON.stringify(name)}; | ||||
|                     var started = Math.floor(Date.now() / 1000); | ||||
|                     var _ = R; | ||||
|         .col-xs-12.col-sm-12.col-md-8 | ||||
|             #mainEditorPanel | ||||
|                 form.code | ||||
|   | ||||
		Reference in New Issue
	
	Block a user