This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ---------------------------- | |
-- Table structures | |
-- If using MySQL, update each table definition to use INNODB or foreign keys will be pointless | |
-- Example: | |
-- CREATE TABLE "Ingredient" ( | |
-- "name" TEXT NOT NULL, | |
-- PRIMARY KEY ("name" ASC) | |
-- ) type INNODB; | |
-- ---------------------------- | |
CREATE TABLE "Ingredient" ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Hack to allow jQuery to work within XHTML documents that define an xmlns | |
*/ | |
/** | |
* Use the given object to override the given methods in its prototype | |
* with namespace-aware equivalents | |
*/ | |
function addNS(obj, methods) { | |
var proto = obj.constructor.prototype; |