You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/04/23 02:46:47 UTC
git commit: updated gruntfile to properly remove livereload on server
load
Repository: cordova-registry-web
Updated Branches:
refs/heads/master a16faf2a4 -> 685e9a559
updated gruntfile to properly remove livereload on server load
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/685e9a55
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/685e9a55
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/685e9a55
Branch: refs/heads/master
Commit: 685e9a559ac70da0df6da59fe035e58c64731d6c
Parents: a16faf2
Author: Steven Gill <st...@gmail.com>
Authored: Tue Apr 22 17:46:44 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Apr 22 17:46:44 2014 -0700
----------------------------------------------------------------------
Gruntfile.js | 8 ++++----
attachments/js/controllers/packageDetails.js | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/685e9a55/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index fd74c35..86eb1ff 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -125,8 +125,8 @@ module.exports = function(grunt) {
'less',
'copy:before', //Copy index.html to tmp, to save the preprocess directives
'preprocess', //Preprocess out the livereload script.
- 'copy:after', //Copy index.html back to attachments, with the preprocess directives as seved.
- 'shell:cloudant'
+ 'shell:cloudant',
+ 'copy:after' //Copy index.html back to attachments, with the preprocess directives as seved.
]);
});
grunt.registerTask('iriscouch', function (target) {
@@ -134,8 +134,8 @@ module.exports = function(grunt) {
'less',
'copy:before', //Copy index.html to tmp, to save the preprocess directives
'preprocess', //Preprocess out the livereload script.
- 'copy:after', //Copy index.html back to attachments, with the preprocess directives as seved.
- 'shell:iriscouch'
+ 'shell:iriscouch',
+ 'copy:after' //Copy index.html back to attachments, with the preprocess directives as seved.
]);
});
grunt.registerTask('pre', ['copy:before', 'preprocess', 'copy:after']);
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/685e9a55/attachments/js/controllers/packageDetails.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/packageDetails.js b/attachments/js/controllers/packageDetails.js
index 3b8d2c9..8baab30 100644
--- a/attachments/js/controllers/packageDetails.js
+++ b/attachments/js/controllers/packageDetails.js
@@ -32,11 +32,10 @@ angular.module('registry.controllers').controller('PackageDetailsController', ['
});
$scope.getPackage = function(){
- //console.log($scope.packageID);
$http({method: 'GET', url:('/api/' + $scope.packageID)}).
success(function(data, status, headers, config) {
$scope.data = data;
- console.log($scope.data);
+ //console.log($scope.data);
$scope.description = $scope.data.description;
$scope.latestVersion = $scope.data['dist-tags'].latest;
$scope.currentVersion = $scope.latestVersion;