Permalink
Browse files

closes #7

  • Loading branch information...
1 parent 2a40778 commit d9d24b9def9170144d739a670d3fce1114f99cc8 @raganwald raganwald committed Dec 31, 2010
Showing with 0 additions and 10 deletions.
  1. +0 −10 lib/faux.js
View
10 lib/faux.js
@@ -335,7 +335,6 @@
},
-
clazz: function (handler, clazz_provided) {
if (clazz_provided) {
@@ -423,13 +422,6 @@
function is_view_clazz (clazz) {
return clazz && clazz.prototype && clazz.prototype.initialize;
}
-
- function tag_selector (options) {
- var sel = options.tagName || '';
- options.id && (sel = sel + '#' + options.id);
- options.className && (sel = sel + '.' + options.className.split(' ').join('.'));
- if (sel) return sel;
- }
function declares_a_render_method (view_clazz) {
return (view_clazz.prototype.render !== Backbone.View.prototype.render);
@@ -456,8 +448,6 @@
options.el = $(roweis.renders);
}
else options.el = handler.controller.$element();
- var selector = tag_selector(options);
- selector && (options.el = options.el.find(selector));
}
else window.console && console.log(handler.config.name+' defines options.el');

0 comments on commit d9d24b9

Please sign in to comment.