Skip to content

Commit

Permalink
v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zetorama committed Feb 26, 2014
1 parent 5c8ee92 commit e6e616a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions xt.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,12 @@ define(['module', 'text', 'deferred'], function (module, text, dfr) {
},

compile: function(text, name, template) {
var plugin = this,
compiled = text;
compiled.partial = function(partialName) {
return plugin.get()
};

return text;
},

get: function(url, partialName) {
get: function(id, partialName) {
var plugin = this,
template = loaded[url],
template = loaded[id],
result;

if (!template) {
Expand Down

0 comments on commit e6e616a

Please sign in to comment.