Skip to content

Commit

Permalink
reorganize src/*
Browse files Browse the repository at this point in the history
  • Loading branch information
laughinghan committed Aug 24, 2010
1 parent 641b694 commit 3cb10ff
Show file tree
Hide file tree
Showing 10 changed files with 586 additions and 593 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
SOURCE_DIR = src

FILES = \
${SOURCE_DIR}/HEADER \
${SOURCE_DIR}/intro.js \
${SOURCE_DIR}/backend.js \
${SOURCE_DIR}/baseclasses.js \
${SOURCE_DIR}/commands.js \
${SOURCE_DIR}/frontend.js \
${SOURCE_DIR}/symbols.js \
${SOURCE_DIR}/cursor.js \
${SOURCE_DIR}/rootelements.js \
${SOURCE_DIR}/publicapi.js \
${SOURCE_DIR}/outro.js

BUILD_DIR = ./build
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cp mathquill.css build/mathquill.css
branch=`git branch | grep '\*' | sed 's/\* *//'`
git checkout gh-pages
rm mathquill.js mathquill.css
cat build/mathquill.js | sed '34s://::' > mathquill.js
cat build/mathquill.js | sed '12s://::' > mathquill.js
cp build/mathquill.css mathquill.css
rm build/mathquill.css
git commit -a -m "publish new mathquill.js"
Expand Down
5 changes: 5 additions & 0 deletions src/HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* Copyright 2010 Jay and Han ([email protected])
* License, Usage and Readme at http://mathquill.com
*/

7 changes: 3 additions & 4 deletions src/backend.js → src/baseclasses.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**********************************************************
* Back-end code: Core abstract classes and architecture.
*********************************************************/
/*************************************************
* Abstract base classes of blocks and commands.
************************************************/

/**
* MathElement is the core Math DOM tree node prototype.
Expand Down Expand Up @@ -257,4 +257,3 @@ MathFragment.prototype = {
return newBlock;
}
};

Loading

0 comments on commit 3cb10ff

Please sign in to comment.