Commit 73945624 authored by colemanw's avatar colemanw
Browse files

Remove redundant afformStandalone file

parent 09870171
......@@ -6,13 +6,8 @@
return [
'js' => [
'ang/afformStandalone.js',
'ang/afformStandalone/*.js',
'ang/afformStandalone/*/*.js',
],
'css' => [],
'partials' => [
'ang/afformStandalone',
],
'settings' => [],
'requires' => ['ngRoute'],
];
(function(angular, $, _) {
// Declare a list of dependencies.
angular.module('afformStandalone', CRM.angRequires('afformStandalone'));
angular.module('afformStandalone', CRM.angular.modules)
.config(function($routeProvider) {
$routeProvider.when('/', {
controller: 'AfformStandalonePageCtrl',
template: function() {
return '<div ' + CRM.afform.open + '="{}"></div>';
}
});
})
.controller('AfformStandalonePageCtrl', function($scope) {});
})(angular, CRM.$, CRM._);
(function(angular, $, _) {
angular.module('afformStandalone', CRM.angular.modules)
.config(function($routeProvider) {
$routeProvider.when('/', {
controller: 'AfformStandalonePageCtrl',
template: function() {return '<div ' + CRM.afform.open + '="{}"></div>'; }
});
})
.controller('AfformStandalonePageCtrl', function($scope) {});
})(angular, CRM.$, CRM._);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment