From 3fdbe81a337c39027929c415e719493755cd8583 Mon Sep 17 00:00:00 2001 From: Andreas Marek Date: Wed, 24 Jul 2013 21:20:39 +0200 Subject: feat(scenario): expose jQuery for usage outside of angular scenario The global jQuery reference is removed by angular scenario and only a local scoped reference is kept. To make jQuery available for other code, a new reference angular.scenario.jQuery is added. --- src/ngScenario/Scenario.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ngScenario/Scenario.js b/src/ngScenario/Scenario.js index 4d848f2c..ff5f3470 100644 --- a/src/ngScenario/Scenario.js +++ b/src/ngScenario/Scenario.js @@ -9,6 +9,11 @@ // Public namespace angular.scenario = angular.scenario || {}; +/** + * Expose jQuery (e.g. for custom dsl extensions). + */ +angular.scenario.jQuery = _jQuery; + /** * Defines a new output format. * -- cgit v1.2.3