You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/12/06 01:29:14 UTC

[10/10] git commit: Remove core/t53-compatibility as dependency of core/init, as t53-compatibility is a library, not a module

Remove core/t53-compatibility as dependency of core/init, as t53-compatibility is a library, not a module


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/bb18f514
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/bb18f514
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/bb18f514

Branch: refs/heads/5.4-js-rewrite
Commit: bb18f51496fb4b76c165a3497bb0938c61a3aafa
Parents: f229bfa
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Wed Dec 5 14:46:02 2012 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed Dec 5 14:46:02 2012 -0800

----------------------------------------------------------------------
 .../coffeescript/META-INF/modules/core/init.coffee |    2 +-
 .../META-INF/assets/tapestry5/t53-compatibility.js |    5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bb18f514/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
index 56bfe83..0655e19 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
@@ -17,7 +17,7 @@
 # Compatibility module, invokes functions on the T5.initializers namespace.
 #
 # Introduced in 5.4, to be removed at some point in the future, when T5.initializers is itself no more.
-define ["core/console", "core/t53-compatibility"],
+define ["core/console"],
 
   (console) ->
 

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bb18f514/tapestry-core/src/main/resources/META-INF/assets/tapestry5/t53-compatibility.js
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/t53-compatibility.js b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/t53-compatibility.js
index 5ca5202..b798792 100644
--- a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/t53-compatibility.js
+++ b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/t53-compatibility.js
@@ -12,14 +12,13 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// ##core/t53-compatibility (Service Provider Interface)
-//
 // Provides a small amount of backwards compatibility to the Tapestry 5.3 approach.
 // This provides placeholders for the following:
 //
 // * `T5` namespace, including `extend`, `define`, and `initializers`, `extendInitializers`, and `_` properties
+//
 // * `Tapestry` namespace: just the `Initializer` property, as an alias of `T5.initializers`
-define("core/t53-compatibility", ["_"], function(_) {
+require(["_"], function(_) {
     var T5, Tapestry;
     T5 = {
         _: _,