Skip to content

Commit f316f53

Browse files
committed
Merge branch 'release/0.2.27'
2 parents a9be1e0 + e9e51aa commit f316f53

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

angular-tree-control.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex
8282
}
8383

8484
angular.module( 'treeControl', [] )
85-
.constant('treeConfig', {
85+
.constant('treeControlConfig', {
8686
templateUrl: null
8787
})
8888
.directive( 'treecontrol', ['$compile', function( $compile ) {
@@ -120,7 +120,7 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex
120120
filterExpression: "=?",
121121
filterComparator: "=?"
122122
},
123-
controller: ['$scope', '$templateCache', '$interpolate', 'treeConfig', function ($scope, $templateCache, $interpolate, treeConfig) {
123+
controller: ['$scope', '$templateCache', '$interpolate', 'treeControlConfig', function ($scope, $templateCache, $interpolate, treeControlConfig) {
124124

125125
$scope.options = $scope.options || {};
126126

@@ -285,7 +285,7 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex
285285
};
286286

287287
var template;
288-
var templateUrl = $scope.options.templateUrl || treeConfig.templateUrl;
288+
var templateUrl = $scope.options.templateUrl || treeControlConfig.templateUrl;
289289

290290
if(templateUrl) {
291291
template = $templateCache.get(templateUrl);

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ <h1>Custom Equality <small>(options.equality)</small></h1>
11851185

11861186
<section id="externalTemplate" ng-controller="ExternalTemplate">
11871187
<div class="page-header">
1188-
<h1>External Template <small>(options.templateUrl, treeConfig.templateUrl)</small></h1>
1188+
<h1>External Template <small>(options.templateUrl, treeControlConfig.templateUrl)</small></h1>
11891189
</div>
11901190
<div class="row">
11911191
<div class="col-md-6 show-grid">
@@ -1209,8 +1209,8 @@ <h1>External Template <small>(options.templateUrl, treeConfig.templateUrl)</smal
12091209
<li><code>options.templateUrl</code> for individual tree control.</li>
12101210
<li>
12111211
<p>
1212-
<code>treeConfig.templateUrl</code> for all tree controls during application <code>config</code> or <code>run</code> step.
1213-
( <code>treeConfig</code> is global injectable value provider)
1212+
<code>treeControlConfig.templateUrl</code> for all tree controls during application <code>config</code> or <code>run</code> step.
1213+
( <code>treeControlConfig</code> is global injectable value provider)
12141214
</p>
12151215
</li>
12161216
</ul>
@@ -1248,8 +1248,8 @@ <h1>External Template <small>(options.templateUrl, treeConfig.templateUrl)</smal
12481248
// this code snippet is just to show how to use the global external template option but is not used for
12491249
// this specific example. this specific example is using the instance template option
12501250
angular.module('app', ['treeControl'])
1251-
.run(function (treeConfig) {
1252-
treeConfig.templateUrl = 'treeControlExternalTemplate.html';
1251+
.run(function (treeControlConfig) {
1252+
treeControlConfig.templateUrl = 'treeControlExternalTemplate.html';
12531253
});
12541254
</script>
12551255

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
{
2-
"name": "angular-tree-control",
3-
"version": "0.2.26",
4-
"description": "Angular Tree Control",
2+
"name": "angular-tree-control-noconflict",
3+
"version": "0.2.27",
4+
"description": "Angular Tree Control (no conflict)",
55
"main": "angular-tree-control.js",
66
"scripts": {
77
"test": "grunt test"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git://github.com/wix/angular-tree-control.git"
11+
"url": "git://github.com/pvgnd/angular-tree-control.git"
1212
},
1313
"author": "Yoav Abrahami",
1414
"contributors": [
15-
"Benjamin Orozco <benoror@gmail.com>"
15+
"Benjamin Orozco <benoror@gmail.com>"
16+
"Pierrick Vignand <pierrick.vignand@gmail.com>"
1617
],
1718
"license": "MIT",
1819
"bugs": {
19-
"url": "https://github.com/wix/angular-tree-control/issues"
20+
"url": "https://github.com/pvgnd/angular-tree-control/issues"
2021
},
21-
"homepage": "https://github.com/wix/angular-tree-control",
22+
"homepage": "https://github.com/pvgnd/angular-tree-control",
2223
"devDependencies": {
2324
"grunt": "~0.4.2",
2425
"grunt-release": "~0.6.0",

0 commit comments

Comments
 (0)