Skip to content

Commit

Permalink
Remove profile / add extra javascript files from cycle2
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed May 21, 2015
1 parent a0b37c5 commit 5975e0c
Show file tree
Hide file tree
Showing 26 changed files with 162 additions and 98 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ There's a frood who really knows where his towel is.
1.0a2 (unreleased)
------------------

- Nothing changed yet.
- Remove profile (unregister resources) and add extra javascript files from cyle2. (closes `#1`_)
[rodfersou]


1.0a1 (2014-10-20)
------------------

- Initial release.

.. _`#1`: https://github.com/collective/collective.js.cycle2/issues/1
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
include_package_data=True,
zip_safe=False,
install_requires=[
'plone.api',
'Products.CMFPlone >=4.2',
'Products.GenericSetup',
'setuptools',
Expand Down
14 changes: 5 additions & 9 deletions src/collective/js/cycle2/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="collective.js.cycle2">

<five:registerPackage package="." />

<genericsetup:registerProfile
name="default"
title="collective.js.cycle2"
directory="profiles/default"
description="Integration of Cycle2 jQuery plugin in Plone."
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
<include package=".upgrades" />

<browser:resourceDirectory name="collective.js.cycle2" directory="static" />
<browser:resourceDirectory
name="collective.js.cycle2"
directory="resources"
/>

</configure>
7 changes: 0 additions & 7 deletions src/collective/js/cycle2/interfaces.py

This file was deleted.

7 changes: 0 additions & 7 deletions src/collective/js/cycle2/profiles/default/browserlayer.xml

This file was deleted.

12 changes: 0 additions & 12 deletions src/collective/js/cycle2/profiles/default/jsregistry.xml

This file was deleted.

4 changes: 0 additions & 4 deletions src/collective/js/cycle2/profiles/default/metadata.xml

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/collective/js/cycle2/resources/jquery.cycle2.flip.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/collective/js/cycle2/resources/jquery.cycle2.tile.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/collective/js/cycle2/resources/jquery.cycle2.video.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/collective/js/cycle2/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ def setUpZope(self, app, configurationContext):
import collective.js.cycle2
self.loadZCML(package=collective.js.cycle2)

def setUpPloneSite(self, portal):
self.applyProfile(portal, 'collective.js.cycle2:default')

FIXTURE = Fixture()
INTEGRATION_TESTING = IntegrationTesting(
bases=(FIXTURE,),
Expand Down
55 changes: 0 additions & 55 deletions src/collective/js/cycle2/tests/test_setup.py

This file was deleted.

0 comments on commit 5975e0c

Please sign in to comment.