Browse Source
			
			
			Merge pull request #218 from MindTooth/new_view
			
				Cleaned of variable population in scripts.blade.php
			
			
				pull/224/merge
			
			
		 
		
			
				
					
						
						KodeStar
					
					7 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
4 additions and 
10 deletions
			 
			
		 
		
			
				- 
					
					
					 
					resources/views/items/scripts.blade.php
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -5,16 +5,10 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var elem = $('.color-picker')[0]; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var hueb = new Huebee( elem, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // options | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            });         | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var availableTags = @json(App\Item::supportedOptions()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var availableTags = [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <?php | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                $supported = App\Item::supportedOptions(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                foreach($supported as $sapp) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    echo '"'.$sapp.'",'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ?> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ]; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            $( "#appname" ).autocomplete({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                source: availableTags, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                select: function( event, ui ) { | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -35,4 +29,4 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            $('.tags').select2(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</script> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</script> | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					
  |