atom-package-manager
Advanced tools
Comparing version 0.50.0 to 0.51.0
@@ -86,3 +86,3 @@ (function() { | ||
getInstalledVisualStudioFlag: function() { | ||
var vs2010Path, vs2012Path; | ||
var vs2010Path, vs2012Path, vs2013Path; | ||
if (!this.isWin32()) { | ||
@@ -99,2 +99,6 @@ return null; | ||
} | ||
vs2013Path = path.join(this.x86ProgramFilesDirectory(), "Microsoft Visual Studio 12.0", "Common7", "IDE"); | ||
if (fs.existsSync(vs2013Path)) { | ||
return '2013'; | ||
} | ||
} | ||
@@ -101,0 +105,0 @@ }; |
(function() { | ||
var Command, Search, config, optimist, request, tree, _, | ||
var Command, View, config, optimist, request, tree, _, | ||
__hasProp = {}.hasOwnProperty, | ||
@@ -18,12 +18,12 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
module.exports = Search = (function(_super) { | ||
__extends(Search, _super); | ||
module.exports = View = (function(_super) { | ||
__extends(View, _super); | ||
function Search() { | ||
return Search.__super__.constructor.apply(this, arguments); | ||
function View() { | ||
return View.__super__.constructor.apply(this, arguments); | ||
} | ||
Search.commandNames = ['view', 'show']; | ||
View.commandNames = ['view', 'show']; | ||
Search.prototype.parseOptions = function(argv) { | ||
View.prototype.parseOptions = function(argv) { | ||
var options; | ||
@@ -36,3 +36,3 @@ options = optimist(argv); | ||
Search.prototype.getRepository = function(pack) { | ||
View.prototype.getRepository = function(pack) { | ||
var repository, _ref, _ref1; | ||
@@ -44,3 +44,3 @@ if (repository = (_ref = (_ref1 = pack.repository) != null ? _ref1.url : void 0) != null ? _ref : pack.repository) { | ||
Search.prototype.getPackage = function(packageName, callback) { | ||
View.prototype.getPackage = function(packageName, callback) { | ||
var requestSettings; | ||
@@ -73,3 +73,3 @@ requestSettings = { | ||
Search.prototype.run = function(options) { | ||
View.prototype.run = function(options) { | ||
var callback, packageName; | ||
@@ -117,3 +117,3 @@ callback = options.callback; | ||
return Search; | ||
return View; | ||
@@ -120,0 +120,0 @@ })(Command); |
{ | ||
"name": "atom-package-manager", | ||
"description": "Atom package manager", | ||
"version": "0.50.0", | ||
"version": "0.51.0", | ||
"licenses": [ | ||
@@ -6,0 +6,0 @@ { |
165303
3703