This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const | |
| iFrame = document.createElement('iframe'), | |
| defaultFrameHeight = '0px', | |
| defaultFrameWidth = '0px' | |
| /** | |
| * Set the height of our iFrame housing our BEX | |
| * @param height | |
| */ | |
| const setIFrameDimensions = (height, width) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| /** | |
| * This will ask for ALL items from chrome storage and return only the ones we're interested in. | |
| * @param type | |
| */ | |
| getAll (type) { | |
| return this.get(null).then(allItems => { | |
| return allItems.filter(f => f && f.type && f.type === type) | |
| }) |
OlderNewer