cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8165) Prefer global README over ERROR: No README data found!
Date Mon, 15 Dec 2014 21:36:13 GMT
Josh Soref created CB-8165:
------------------------------

             Summary: Prefer global README over ERROR: No README data found!
                 Key: CB-8165
                 URL: https://issues.apache.org/jira/browse/CB-8165
             Project: Apache Cordova
          Issue Type: Bug
          Components: Registry Web
            Reporter: Josh Soref


We had temporarily published a com.blackberry.app@1.9.0, with a README.md, then we unpublished
it. That left a 

$scope.readme = marked($scope.data.readme);

Unfortunately, it's clobbered by:

    $scope.$watch('currentVersion', function(){
        if($scope.versions){
            $scope.readme = marked($scope.versions[$scope.currentVersion].readme);

That should only be clobbered if the value of $scope.versions[$scope.currentVersion].readme
isn't "ERROR: No README data found!"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message