Browse Source

Add `Compatible Code`.

pull/19340/head
maliming 2 years ago
parent
commit
78d11f284a
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/DatatablesNet/DatatablesNetScriptContributor.cs
  2. 3
      npm/packs/datatables.net/abp.resourcemapping.js

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/DatatablesNet/DatatablesNetScriptContributor.cs

@ -16,7 +16,7 @@ public class DatatablesNetScriptContributor : BundleContributor
}
else
{
//TODO: Compatibility code, Remove it after 8.2 rc1.
//TODO: Compatible code, Remove it after 8.3 rc1.
context.Files.AddIfNotContains("/libs/datatables.net/js/jquery.dataTables.js");
}
}

3
npm/packs/datatables.net/abp.resourcemapping.js

@ -1,5 +1,6 @@
module.exports = {
mappings: {
"@node_modules/datatables.net/js/dataTables.min.js": "@libs/datatables.net/js/"
"@node_modules/datatables.net/js/dataTables.min.js": "@libs/datatables.net/js/",
"@node_modules/datatables.net/js/jquery.dataTables.js": "@libs/datatables.net/js/" //TODO: Compatible code, Remove it after 8.3 rc1.
}
}
Loading…
Cancel
Save