changeset 467 | 762fc0eb4946 |
parent 460 | 686926d132ff |
466:a8effb60ccb6 | 467:762fc0eb4946 |
---|---|
1 import Ember from 'ember'; |
1 import Ember from 'ember'; |
2 |
2 |
3 export function annotationContent(params/*, hash*/) { |
3 export function annotationContent(params/*, hash*/) { |
4 if(!params || params.length==0) { |
4 if(!params || (params.length === 0)) { |
5 return ""; |
5 return ""; |
6 } |
6 } |
7 |
7 |
8 let content = params[0]; |
8 let content = params[0]; |
9 if(typeof content === "string") { |
9 if(typeof content === "string") { |