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
| name: Add required attendee | |
| description: Adds a required attendee as soon as the script is executed | |
| host: OUTLOOK | |
| api_set: {} | |
| script: | |
| content: > | |
| Office.context.mailbox.item.requiredAttendees.addAsync(["[email protected]"], | |
| (addResult) => { | |
| console.log(addResult); | |
| }); |
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
| import Ember from 'ember'; | |
| import XSelectComponent from './x-select'; | |
| var isArray = Ember.isArray; | |
| /** | |
| * Used to wrap a native `<option>` tag and associate an object with | |
| * it that can be bound. It can only be used in conjuction with a | |
| * containing `x-select` component | |
| * |
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
| Request.FormData = new Class({ | |
| Extends : Request.JSON, | |
| send: function(formData) { | |
| this.options.isSuccess = this.options.isSuccess || this.isSuccess; | |
| this.running = true; | |
| var xhr = this.xhr; |
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
| Element.implement({ | |
| conditionalClass: function(className, condition) { | |
| if (condition) { | |
| this.addClass(className); | |
| } else { | |
| this.removeClass(className); | |
| } | |
| } | |