Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1357)

Unified Diff: app/models/charm.js

Issue 13245045: Bundle Topology
Patch Set: Bundle Topology Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/index.html ('k') | app/models/model-controller.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/models/charm.js
=== modified file 'app/models/charm.js'
--- app/models/charm.js 2013-08-21 16:02:10 +0000
+++ app/models/charm.js 2013-08-22 18:00:28 +0000
@@ -30,7 +30,7 @@
var RECENT_DAYS = 30;
var models = Y.namespace('juju.models');
- var charmIdRe = /^(?:(\w+):)?(?:~(\S+)\/)?(\w+)\/(\S+?)-(\d+)$/;
+ var charmIdRe = /^(?:(\w+):)?(?:~(\S+)\/)?(\w+)\/(\S+?)-(\d+|HEAD)$/;
var idElements = ['scheme', 'owner', 'series', 'package_name', 'revision'];
var simpleCharmIdRe = /^(?:(\w+):)?(?!:~)(\w+)$/;
var simpleIdElements = ['scheme', 'package_name'];
« no previous file with comments | « app/index.html ('k') | app/models/model-controller.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b