Permalink
Browse files

remove auth

  • Loading branch information...
1 parent 8ce049c commit 217391a111114c96a948dc96f48f8ca874f654fe @maccman committed May 19, 2012
View
@@ -69,6 +69,7 @@ Nice to have:
* Background image
* Background gradient rotation
+* Drop image needs background image set
* Color inspector movable window
* Dragging right and up doesn't select elements - offset by the header
* We want the resize to be around the selection?
View
@@ -51,9 +51,9 @@ def url(path)
end
end
- use Rack::Auth::Basic, "Protected Area" do |username, password|
- (username == 'dragon' && password == 'tamer')
- end
+ # use Rack::Auth::Basic, "Protected Area" do |username, password|
+ # (username == 'dragon' && password == 'tamer')
+ # end
get '/' do
send_file File.join(settings.public_folder, 'index.html')
@@ -0,0 +1,5 @@
+class StageInspector extends Spine.Controller
+ className: 'stageInspector'
+ # Background
+
+module.exports = StageInspector
@@ -0,0 +1,85 @@
+(function() {
+ if (!this.require) {
+ var modules = {}, cache = {};
+
+ var require = function(name, root) {
+ var path = expand(root, name), indexPath = expand(path, './index'), module, fn;
+ module = cache[path] || cache[indexPath];
+ if (module) {
+ return module;
+ } else if (fn = modules[path] || modules[path = indexPath]) {
+ module = {id: path, exports: {}};
+ cache[path] = module.exports;
+ fn(module.exports, function(name) {
+ return require(name, dirname(path));
+ }, module);
+ return cache[path] = module.exports;
+ } else {
+ throw 'module ' + name + ' not found';
+ }
+ };
+
+ var expand = function(root, name) {
+ var results = [], parts, part;
+ // If path is relative
+ if (/^\.\.?(\/|$)/.test(name)) {
+ parts = [root, name].join('/').split('/');
+ } else {
+ parts = name.split('/');
+ }
+ for (var i = 0, length = parts.length; i < length; i++) {
+ part = parts[i];
+ if (part == '..') {
+ results.pop();
+ } else if (part != '.' && part != '') {
+ results.push(part);
+ }
+ }
+ return results.join('/');
+ };
+
+ var dirname = function(path) {
+ return path.split('/').slice(0, -1).join('/');
+ };
+
+ this.require = function(name) {
+ return require(name, '');
+ };
+
+ this.require.define = function(bundle) {
+ for (var key in bundle) {
+ modules[key] = bundle[key];
+ }
+ };
+
+ this.require.modules = modules;
+ this.require.cache = cache;
+ }
+
+ return this.require;
+}).call(this);
+this.require.define({"app/controllers/inspector/stage":function(exports, require, module){(function() {
+ var StageInspector,
+ __hasProp = {}.hasOwnProperty,
+ __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; };
+
+ StageInspector = (function(_super) {
+
+ __extends(StageInspector, _super);
+
+ StageInspector.name = 'StageInspector';
+
+ function StageInspector() {
+ return StageInspector.__super__.constructor.apply(this, arguments);
+ }
+
+ StageInspector.prototype.className = 'stageInspector';
+
+ return StageInspector;
+
+ })(Spine.Controller);
+
+ module.exports = StageInspector;
+
+}).call(this);
+;}});
@@ -14632,6 +14632,31 @@ this.require.define({"app/controllers/inspector/popup_menu":function(exports, re
}).call(this);
;}});
+this.require.define({"app/controllers/inspector/stage":function(exports, require, module){(function() {
+ var StageInspector,
+ __hasProp = {}.hasOwnProperty,
+ __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; };
+
+ StageInspector = (function(_super) {
+
+ __extends(StageInspector, _super);
+
+ StageInspector.name = 'StageInspector';
+
+ function StageInspector() {
+ return StageInspector.__super__.constructor.apply(this, arguments);
+ }
+
+ StageInspector.prototype.className = 'stageInspector';
+
+ return StageInspector;
+
+ })(Spine.Controller);
+
+ module.exports = StageInspector;
+
+}).call(this);
+;}});
this.require.define({"app/controllers/inspector/text_position":function(exports, require, module){(function() {
var TextPosition,
__hasProp = {}.hasOwnProperty,

0 comments on commit 217391a

Please sign in to comment.