Skip to content

Commit

Permalink
Add new registry/resources upgrade step to update 'moment' resource t…
Browse files Browse the repository at this point in the history
…o use version without locales, which are now lazy loaded
  • Loading branch information
davilima6 committed Feb 19, 2019
1 parent 4869bab commit 9b89d38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plone/app/upgrade/v52/profiles/to_beta2/registry/resources.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<registry>

<records prefix="plone.resources/moment"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="js">++plone++static/components/moment/min/moment.min.js</value>
<value key="url">++plone++static/components/moment/locale</value>
</records>

</registry>

0 comments on commit 9b89d38

Please sign in to comment.