Merge pull request #70 from FlorianLudwig/patch-1
enable code highlighting for JS in readme
This commit is contained in:
		
						commit
						405070b5a7
					
				@ -116,6 +116,7 @@ If you're using [TheThingsNetwork](https://www.thethingsnetwork.org/) you may wa
 | 
			
		||||
 | 
			
		||||
Decoder:
 | 
			
		||||
 | 
			
		||||
```javascript
 | 
			
		||||
function Decoder(bytes, port) {
 | 
			
		||||
    var decoded = {};
 | 
			
		||||
    if (port === 1) {
 | 
			
		||||
@ -124,9 +125,11 @@ Decoder:
 | 
			
		||||
    }
 | 
			
		||||
    return decoded;
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Converter:
 | 
			
		||||
 | 
			
		||||
```javascript
 | 
			
		||||
function Converter(decoded, port) {
 | 
			
		||||
  var converted = decoded;
 | 
			
		||||
  if (port === 1) {
 | 
			
		||||
@ -134,6 +137,7 @@ Converter:
 | 
			
		||||
  }
 | 
			
		||||
  return converted;
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Remote command set
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user