<commit_before><div class="site-example--content slds-scrollable--x slds-tabs__content slds-show" role="tabpanel">
    <div class="slds-p-horizontal--medium">
        <h4 class="site-text-heading--large">Markup</h4>
{{#aljs-pre-container type="html"}}
&#123;&#123;aljs-lookup data-select="single" data-scope="single" data-autocomplete="true" objectLabel="Account" objectPluralLabel="Accounts" items=accounts&#125;&#125;
{{/aljs-pre-container}}
        <p class="slds-m-top--medium">This table gives you a quick overview of SLDS-specific markup being read by the plugin.</p>
        <div class="slds-scrollable--x">
            <table class="slds-table slds-table--bordered slds-max-medium-table--stacked slds-no-row-hover slds-m-top--medium">
                <thead>
                    <tr class="site-text-heading--label">
                        <th scope="col">ALJS Markup</th>
                        <th scope="col">Outcome</th>
                        <th scope="col">Required</th>
                        <th scope="col">Applied to</th>
                        <th scope="col">Comments</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row"><code>data-select="</code><em>single/multi</em><code>"</code></th>
                        <td data-label="Outcome">Sets the lookup to allow a single selection or multiple selections</td>
                        <td data-label="Required" class="slds-cell-shrink">
                            <svg aria-hidden="true" class="slds-icon slds-icon--x-small slds-icon-text-default">
                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="assets/icons/utility-sprite/svg/symbols.svg#check"></use>
                            </svg><span class="slds-assistive-text">Required</span></td>
                        <td data-label="Applied to" class="slds-cell-shrink"><code>.slds-lookup</code></td>
                        <td data-label="Comments"></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>data-scope="</code><em>single/multi</em><code>"</code></th>
                        <td data-label="Outcome">Sets the lookup scope to a single object or multiple objects</td>
                        <td data-label="Required" class="slds-cell-shrink">
                            <svg aria-hidden="true" class="slds-icon slds-icon--x-small slds-icon-text-default">
                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="assets/icons/utility-sprite/svg/symbols.svg#check"></use>
                            </svg><span class="slds-assistive-text">Required</span></td>
                        <td data-label="Applied to" class="slds-cell-shrink"><code>.slds-lookup</code></td>
                        <td data-label="Comments"><strong>Multi Scope</strong> is currently in development</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <h4 class="site-text-heading--large">Attribute Bindings</h4>
        <p class="slds-m-top--medium">This table details the available attribute bindings for this Ember component.</p>
        <div class="slds-scrollable--x">
            <table class="slds-table slds-table--bordered slds-max-medium-table--stacked slds-no-row-hover slds-m-top--medium">
                <thead>
                    <tr class="site-text-heading--label">
                        <th scope="col">Attribute name</th>
                        <th scope="col">Purpose</th>
                        <th scope="col">Values</th>
                        <th scope="col">Default value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row"><code>objectLabel</code></th>
                        <td data-label="Purpose">The singular label of the object you are looking up</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectPluralLabel</code></th>
                        <td data-label="Purpose">The plural label of the object you are looking up</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>items</code></th>
                        <td data-label="Purpose">An optional array of objects defining the available items to lookup</td>
                        <td data-label="Values">[{id: <i>a unique id</i>, label: '<i>label to be displayed and searched</i>'},...]</td>
                        <td data-label="Default value" class="slds-cell-shrink">null</td>
                    </tr>
                    <tr>
                        <th scope="row"><code>emptySearchTermQuery</code></th>
                        <td data-label="Purpose">An optional function that runs <code>callback</code> passing an array of items when an empty search is performed</td>
                        <td data-label="Values"><code>function(callback) { callback([{id: 1, label: 'One'}]); })</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>filledSearchTermQuery</code></th>
                        <td data-label="Purpose">An optional function that runs <code>callback</code> passing an array of items when a filled search is performed</td>
                        <td data-label="Values"><code>function(searchTerm, callback) { callback([{id: 1, label: 'One'}]); })</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectIconUrl</code></th>
                        <td data-label="Purpose">An optional string that represents a URL path to an image, if null no icon will be displayed.</td>
                        <td data-label="Values">Any valid URL to any image with a transparent background</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>useImgTag</code></th>
                        <td data-label="Purpose">Determines whether the supplied <code>objectIconUrl</code> should be use with an <code>&lt;img&gt;</code> tag using the <code>src</code> attribute or with <code>&lt;svg&gt;</code> and <code>&lt;use&gt;</code> tags using the <code>xlink:href</code> attribute. To specify <code>false</code>, just omit this attribute</td>
                        <td data-label="Values"><code>"true"</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectIconClass</code></th>
                        <td data-label="Purpose">An optional string that determines classes applied to the object icon container</td>
                        <td data-label="Values">Any valid string that matches class name(s)</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>selectedResult</code></th>
                        <td data-label="Purpose">When the Lookup's scope is single, an object that represents the currently selected lookup result</td>
                        <td data-label="Values">A result object</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>selectedResults</code></th>
                        <td data-label="Purpose">When the Lookup's scope is multi, an array of objects that represent the currently selected lookup result</td>
                        <td data-label="Values">An array of result objects</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>disabled</code></th>
                        <td data-label="Purpose">Bind this attribute to a boolean variable to control whether the input is disabled or not</td>
                        <td data-label="Values"><code>true</code> or <code>false</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>showSearch</code></th>
                        <td data-label="Purpose">Bind this attribute to a boolean variable to control whether the search prompt appears or not</td>
                        <td data-label="Values"><code>true</code> or <code>false</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>placeholder</code></th>
                        <td data-label="Purpose">The text that appears in the input when it is blank</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>minimumSearchLength</code></th>
                        <td data-label="Purpose">The minimum number of characters required to perform a search or create a new item</td>
                        <td data-label="Values">A valid integer</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>2</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>clearOnSelect</code></th>
                        <td data-label="Purpose">An optional string/boolean that determines whether the lookup should clear the input after a user has selected a result</td>
                        <td data-label="Values">A valid string or boolean, note - do not use "false" as string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>allowNewItems</code></th>
                        <td data-label="Purpose">An optional string/boolean that determines whether the user can type in a new value to be selected</td>
                        <td data-label="Values">A valid string or boolean, note - do not use "false" as string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>tokenSeparators</code></th>
                        <td data-label="Purpose">If allowNewItems is truthy, tokenSeparators defines what characters would trigger creating a new item</td>
                        <td data-label="Values">An array of single characters</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div><commit_msg>Ember Lookups - updated doc to include canAdd attribute<commit_after><div class="site-example--content slds-scrollable--x slds-tabs__content slds-show" role="tabpanel">
    <div class="slds-p-horizontal--medium">
        <h4 class="site-text-heading--large">Markup</h4>
{{#aljs-pre-container type="html"}}
&#123;&#123;aljs-lookup data-select="single" data-scope="single" data-autocomplete="true" objectLabel="Account" objectPluralLabel="Accounts" items=accounts&#125;&#125;
{{/aljs-pre-container}}
        <p class="slds-m-top--medium">This table gives you a quick overview of SLDS-specific markup being read by the plugin.</p>
        <div class="slds-scrollable--x">
            <table class="slds-table slds-table--bordered slds-max-medium-table--stacked slds-no-row-hover slds-m-top--medium">
                <thead>
                    <tr class="site-text-heading--label">
                        <th scope="col">ALJS Markup</th>
                        <th scope="col">Outcome</th>
                        <th scope="col">Required</th>
                        <th scope="col">Applied to</th>
                        <th scope="col">Comments</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row"><code>data-select="</code><em>single/multi</em><code>"</code></th>
                        <td data-label="Outcome">Sets the lookup to allow a single selection or multiple selections</td>
                        <td data-label="Required" class="slds-cell-shrink">
                            <svg aria-hidden="true" class="slds-icon slds-icon--x-small slds-icon-text-default">
                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="assets/icons/utility-sprite/svg/symbols.svg#check"></use>
                            </svg><span class="slds-assistive-text">Required</span></td>
                        <td data-label="Applied to" class="slds-cell-shrink"><code>.slds-lookup</code></td>
                        <td data-label="Comments"></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>data-scope="</code><em>single/multi</em><code>"</code></th>
                        <td data-label="Outcome">Sets the lookup scope to a single object or multiple objects</td>
                        <td data-label="Required" class="slds-cell-shrink">
                            <svg aria-hidden="true" class="slds-icon slds-icon--x-small slds-icon-text-default">
                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="assets/icons/utility-sprite/svg/symbols.svg#check"></use>
                            </svg><span class="slds-assistive-text">Required</span></td>
                        <td data-label="Applied to" class="slds-cell-shrink"><code>.slds-lookup</code></td>
                        <td data-label="Comments"><strong>Multi Scope</strong> is currently in development</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <h4 class="site-text-heading--large">Attribute Bindings</h4>
        <p class="slds-m-top--medium">This table details the available attribute bindings for this Ember component.</p>
        <div class="slds-scrollable--x">
            <table class="slds-table slds-table--bordered slds-max-medium-table--stacked slds-no-row-hover slds-m-top--medium">
                <thead>
                    <tr class="site-text-heading--label">
                        <th scope="col">Attribute name</th>
                        <th scope="col">Purpose</th>
                        <th scope="col">Values</th>
                        <th scope="col">Default value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row"><code>objectLabel</code></th>
                        <td data-label="Purpose">The singular label of the object you are looking up</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectPluralLabel</code></th>
                        <td data-label="Purpose">The plural label of the object you are looking up</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>items</code></th>
                        <td data-label="Purpose">An optional array of objects defining the available items to lookup</td>
                        <td data-label="Values">[{id: <i>a unique id</i>, label: '<i>label to be displayed and searched</i>'},...]</td>
                        <td data-label="Default value" class="slds-cell-shrink">null</td>
                    </tr>
                    <tr>
                        <th scope="row"><code>emptySearchTermQuery</code></th>
                        <td data-label="Purpose">An optional function that runs <code>callback</code> passing an array of items when an empty search is performed</td>
                        <td data-label="Values"><code>function(callback) { callback([{id: 1, label: 'One'}]); })</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>filledSearchTermQuery</code></th>
                        <td data-label="Purpose">An optional function that runs <code>callback</code> passing an array of items when a filled search is performed</td>
                        <td data-label="Values"><code>function(searchTerm, callback) { callback([{id: 1, label: 'One'}]); })</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectIconUrl</code></th>
                        <td data-label="Purpose">An optional string that represents a URL path to an image, if null no icon will be displayed.</td>
                        <td data-label="Values">Any valid URL to any image with a transparent background</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>useImgTag</code></th>
                        <td data-label="Purpose">Determines whether the supplied <code>objectIconUrl</code> should be use with an <code>&lt;img&gt;</code> tag using the <code>src</code> attribute or with <code>&lt;svg&gt;</code> and <code>&lt;use&gt;</code> tags using the <code>xlink:href</code> attribute. To specify <code>false</code>, just omit this attribute</td>
                        <td data-label="Values"><code>"true"</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>objectIconClass</code></th>
                        <td data-label="Purpose">An optional string that determines classes applied to the object icon container</td>
                        <td data-label="Values">Any valid string that matches class name(s)</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>selectedResult</code></th>
                        <td data-label="Purpose">When the Lookup's scope is single, an object that represents the currently selected lookup result</td>
                        <td data-label="Values">A result object</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>selectedResults</code></th>
                        <td data-label="Purpose">When the Lookup's scope is multi, an array of objects that represent the currently selected lookup result</td>
                        <td data-label="Values">An array of result objects</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>disabled</code></th>
                        <td data-label="Purpose">Bind this attribute to a boolean variable to control whether the input is disabled or not</td>
                        <td data-label="Values"><code>true</code> or <code>false</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>showSearch</code></th>
                        <td data-label="Purpose">Bind this attribute to a boolean variable to control whether the search prompt appears or not</td>
                        <td data-label="Values"><code>true</code> or <code>false</code></td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>placeholder</code></th>
                        <td data-label="Purpose">The text that appears in the input when it is blank</td>
                        <td data-label="Values">A valid string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>minimumSearchLength</code></th>
                        <td data-label="Purpose">The minimum number of characters required to perform a search or create a new item</td>
                        <td data-label="Values">A valid integer</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>2</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>clearOnSelect</code></th>
                        <td data-label="Purpose">An optional string/boolean that determines whether the lookup should clear the input after a user has selected a result</td>
                        <td data-label="Values">A valid string or boolean, note - do not use "false" as string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>allowNewItems</code></th>
                        <td data-label="Purpose">An optional string/boolean that determines whether the user can type in a new value to be selected</td>
                        <td data-label="Values">A valid string or boolean, note - do not use "false" as string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>tokenSeparators</code></th>
                        <td data-label="Purpose">If allowNewItems is truthy, tokenSeparators defines what characters would trigger creating a new item</td>
                        <td data-label="Values">An array of single characters</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                    <tr>
                        <th scope="row"><code>canAdd</code></th>
                        <td data-label="Purpose">If canAdd is truthy, a clickable section labeled "Add {objectLabel}" will appear in the search results. There is not default functionality on click, so this needs to be implemented by the developer enabling this option.</td>
                        <td data-label="Values">A valid string or boolean, note - do not use "false" as string</td>
                        <td data-label="Default value" class="slds-cell-shrink"><code>null</code></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.14262996941896025, 'fraction_numerical': 0.00236493374108053, 'mean_word_length': 1.653467488910527, 'pattern_counts': {'":': 0, '<': 769, '<?xml version=': 0, '>': 769, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3736461', 'n_tokens_mistral': 6766, 'n_tokens_neox': 6316, 'n_words': 1501}