Skip to content

Commit

Permalink
Merge pull request #132 from Lombiq/issue/OSOE-523
Browse files Browse the repository at this point in the history
OSOE-523: Updating submodules with spelling corrections and ignored lines
  • Loading branch information
BenedekFarkas authored Feb 16, 2023
2 parents b035577 + 377d47d commit 14a3507
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// - window.dataTableResources.options : The "dataTablesOptions" passed to the plugin
// (see Lombiq.DataTables/Assets/Scripts/lombiq-datatables.js)
// - window.dataTableResources.created($dataTableWrapper, plugin, dataTablesOptions) : Use this to make changes
// on the table immediately after it's created. Use $dataTableWrapper.on('eventname') to register events to
// on the table immediately after it's created. Use $dataTableWrapper.on('eventName') to register events to
// the table.
var viewModel = @Json.Serialize(viewModel) ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static string CreateEditLink(
{
area = "OrchardCore.Contents",
contentItemId,
bootstraptab = bootstrapTabType == null
bootstraptab = bootstrapTabType == null // #spell-check-ignore-line
? null
: $"tab-{bootstrapTabType}-{contentItemId}",
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static ResourceManagementOptionsConfiguration()
_manifest
.DefineScript(ResourceNames.DataTables.AutoInit)
.SetDependencies(ResourceNames.DataTables.Bootstrap4, ResourceNames.DataTables.Bootstrap4Buttons)
.SetUrl(Lombiq + "jquery-datatables-autoinit.js") // #spell-check-ignore-line
.SetUrl(Lombiq + "jquery-datatables-autoinit.js")
.SetVersion("1.0");

_manifest
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.DataTables/Services/DataTableDataProviderBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public string GetActionsColumn(string columnName = nameof(ContentItem.ContentIte
if (fromJson)
{
beforePipe = "{% capture jsonData %} $0 {% endcapture %} ";
source = "jsonData | jsonparse";
source = "jsonData | jsonparse"; // #spell-check-ignore-line
}

return columnName + "||^.*$||" + beforePipe + "{{ " + source + " | " + call + " }}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static IEnumerable<object[]> Data()
{
new object[] { "now", "Foo Bar Baz" },
new object[] { "2020-12-31", "The quick brown fox" },
new object[] { "1970-01-01", "Lorem Ipsum Dolor Sit Amet" },
new object[] { "1970-01-01", "Lorem Ipsum Dolor Sit Amet" }, // #spell-check-ignore-line
};
var today = DateTime.Today.ToString("MM/dd/yyyy", CultureInfo.InvariantCulture);

Expand All @@ -110,7 +110,7 @@ public static IEnumerable<object[]> Data()
("Num||^.*$||{{ '$0' | date: '%m/%d/%Y' }}", "Dates", true),
("Cls||^.*$||{{ '$0' | downcase }}", "Magic Words", true), // #spell-check-ignore-line
},
$"{today},foo bar baz;01/01/1970,lorem ipsum dolor sit amet;12/31/2020,the quick brown fox"
$"{today},foo bar baz;01/01/1970,lorem ipsum dolor sit amet;12/31/2020,the quick brown fox" // #spell-check-ignore-line
.Split(';')
.Select(row => row.Split(','))
.ToArray(),
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If you get the IntelliSense-only error _TS6053 File "(...)/types/types.d.ts" not

1. From the menu select Tools → Options.
2. From the sidebar select Text Editor → JavaScript/Typescript → Project → General.
3. Scroll down and untick _Enable automatic type acquisition (TS 4.1 or later)_.
3. Scroll down and uncheck _Enable automatic type acquisition (TS 4.1 or later)_.

## Contributing and support

Expand Down

0 comments on commit 14a3507

Please sign in to comment.