Permalink
Browse files

updated some modules

  • Loading branch information...
1 parent 1690e64 commit d3d01a6dcbe0765c33b790a2f4563605e45d7d17 @joshbtn committed Oct 14, 2012
Showing with 16,705 additions and 16,705 deletions.
  1. +5 −5 .gitignore
  2. +41 −41 Cakefile
  3. +67 −67 README.md
  4. +85 −85 beautifier.js
  5. +922 −922 docs/ExcelFormulaUtilities.html
  6. +142 −142 docs/core.html
  7. +191 −191 docs/docco.css
  8. +26 −26 examples/basic_example1/basicExample.js
  9. +1,295 −1,295 excelFormulaUtilities-0.9.4.js
  10. +25 −25 excelFormulaUtilities-0.9.4.min.js
  11. +111 −111 index.html
  12. +14 −14 license.include
  13. +5 −5 node_modules/.bin/cake.cmd
  14. +5 −5 node_modules/.bin/coffee.cmd
  15. +1 −1 node_modules/closure-compiler/.npmignore
  16. +2 −2 node_modules/closure-compiler/Cakefile
  17. +48 −48 node_modules/closure-compiler/lib/index.js
  18. +31 −31 node_modules/closure-compiler/package.json
  19. +69 −69 node_modules/closure-compiler/src/index.coffee
  20. +11 −11 node_modules/coffee-script/.npmignore
  21. +21 −21 node_modules/coffee-script/LICENSE
  22. +51 −51 node_modules/coffee-script/README
  23. +78 −78 node_modules/coffee-script/Rakefile
  24. +7 −7 node_modules/coffee-script/bin/cake
  25. +7 −7 node_modules/coffee-script/bin/coffee
  26. +44 −44 node_modules/coffee-script/extras/jsl.conf
  27. +92 −92 node_modules/coffee-script/lib/coffee-script/browser.js
  28. +111 −111 node_modules/coffee-script/lib/coffee-script/cake.js
  29. +167 −167 node_modules/coffee-script/lib/coffee-script/coffee-script.js
  30. +500 −500 node_modules/coffee-script/lib/coffee-script/command.js
  31. +606 −606 node_modules/coffee-script/lib/coffee-script/grammar.js
  32. +77 −77 node_modules/coffee-script/lib/coffee-script/helpers.js
  33. +11 −11 node_modules/coffee-script/lib/coffee-script/index.js
  34. +788 −788 node_modules/coffee-script/lib/coffee-script/lexer.js
  35. +2,986 −2,986 node_modules/coffee-script/lib/coffee-script/nodes.js
  36. +138 −138 node_modules/coffee-script/lib/coffee-script/optparse.js
  37. +682 −682 node_modules/coffee-script/lib/coffee-script/parser.js
  38. +261 −261 node_modules/coffee-script/lib/coffee-script/repl.js
  39. +349 −349 node_modules/coffee-script/lib/coffee-script/rewriter.js
  40. +146 −146 node_modules/coffee-script/lib/coffee-script/scope.js
  41. +54 −54 node_modules/coffee-script/package.json
  42. +5 −5 node_modules/docco/.npmignore
  43. +107 −107 node_modules/docco/Cakefile
  44. +24 −24 node_modules/docco/README
  45. +6 −6 node_modules/docco/bin/docco
  46. +238 −238 node_modules/docco/index.html
  47. +265 −265 node_modules/docco/lib/docco.js
  48. +4 −4 node_modules/docco/node_modules/commander/.npmignore
  49. +4 −4 node_modules/docco/node_modules/commander/.travis.yml
  50. +135 −135 node_modules/docco/node_modules/commander/History.md
  51. +6 −6 node_modules/docco/node_modules/commander/Makefile
  52. +261 −261 node_modules/docco/node_modules/commander/Readme.md
  53. +1 −1 node_modules/docco/node_modules/commander/index.js
  54. +1,053 −1,053 node_modules/docco/node_modules/commander/lib/commander.js
  55. +101 −101 node_modules/docco/node_modules/commander/node_modules/keypress/README.md
  56. +346 −346 node_modules/docco/node_modules/commander/node_modules/keypress/index.js
  57. +39 −39 node_modules/docco/node_modules/commander/node_modules/keypress/package.json
  58. +28 −28 node_modules/docco/node_modules/commander/node_modules/keypress/test.js
  59. +43 −43 node_modules/docco/node_modules/commander/package.json
  60. +44 −44 node_modules/docco/package.json
  61. +26 −26 node_modules/docco/resources/README.md
  62. +191 −191 node_modules/docco/resources/docco.css
  63. +58 −58 node_modules/docco/resources/docco.jst
  64. +30 −30 node_modules/docco/resources/languages.json
  65. +63 −63 node_modules/docco/resources/pagelet.css
  66. +28 −28 node_modules/docco/resources/pagelet.jst
  67. +312 −312 node_modules/docco/src/docco.coffee
  68. +13 −13 node_modules/docco/test/comments/README.md
  69. +8 −8 node_modules/docco/test/comments/c.c
  70. +11 −11 node_modules/docco/test/comments/c.h
  71. +18 −18 node_modules/docco/test/comments/coffee-script.coffee
  72. +11 −11 node_modules/docco/test/comments/comments.jst
  73. +8 −8 node_modules/docco/test/comments/javascript.js
  74. +11 −11 node_modules/docco/test/comments/python.py
  75. +8 −8 node_modules/docco/test/comments/ruby.rb
  76. +13 −13 node_modules/docco/test/comments/tex.tex
  77. +86 −86 node_modules/docco/test/tests.coffee
  78. +1,298 −1,298 node_modules/docco/vendor/showdown.js
  79. +30 −30 package.json
  80. +1,120 −1,120 src/ExcelFormulaUtilities.js
  81. +174 −174 src/core.js
  82. +10 −10 src/main.coffee
  83. +22 −22 src/main.js
  84. +88 −88 test/ExcelFormulaUtilities.test.js
  85. +42 −42 test/build.min.test.html
  86. +44 −44 test/dev.test.html
View
@@ -1,5 +1,5 @@
-<<<<<<< HEAD
-node_modules
-=======
-.c9revisions
->>>>>>> rangeHandler
+<<<<<<< HEAD
+node_modules
+=======
+.c9revisions
+>>>>>>> rangeHandler
View
@@ -1,42 +1,42 @@
-#includes
-{exec} = require 'child_process'
-http = require 'http'
-fs = require 'fs'
-querystring = require 'querystring'
-
-#Globals
-VERSION = '0.9.4'
-YEAR = (new Date).getFullYear
-LICENSE = fs.readFileSync './license.include', 'utf8'
-
-COMPILER_PATH = './node_modules/closure-compiler/lib/vendor/compiler.jar'
-DOCCO_PATH = './node_modules/docco/lib/docco.js'
-CORE_PATH = './src/core.js'
-EXCEL_FORMULA_UTILITIES_PATH = './src/ExcelFormulaUtilities.js'
-LICENSE_PATH = './license.include'
-DEV_BUILD_PATH = "./excelFormulaUtilities-#{VERSION}.js"
-PROD_BUILD_PATH = "./excelFormulaUtilities-#{VERSION}.min.js"
-
-# build
-#------
-task 'build', 'Building', ->
-
- fileLicense = fs.readFileSync(LICENSE_PATH, 'utf8').toString().replace('#{VERSION}', "#{VERSION}").replace('#{YEAR}', (new Date()).getFullYear())
- jsFileCore = fs.readFileSync CORE_PATH, 'utf8'
- jsFileExcelFormulaUtilities = fs.readFileSync EXCEL_FORMULA_UTILITIES_PATH, 'utf8'
-
- jsCode = jsFileCore + "\n" + jsFileExcelFormulaUtilities
-
- # Write the js file
- fs.writeFile DEV_BUILD_PATH, jsCode, 'utf8', (err)->
- console.log "Saved script to #{DEV_BUILD_PATH}"
-
- # Minify
- exec "java -jar #{COMPILER_PATH} --compilation_level SIMPLE_OPTIMIZATIONS --js ./src/core.js --js ./src/ExcelFormulaUtilities.js --js_output_file ./excelFormulaUtilities-#{VERSION}.min.js" , (err, stdout, stderr) ->
- throw err if err
- console.log stdout + stderr
-
- # Generate Docco Docs
- exec "node #{DOCCO_PATH} ./src/*.js", (err, stdout, stderr) ->
- throw err if err
+#includes
+{exec} = require 'child_process'
+http = require 'http'
+fs = require 'fs'
+querystring = require 'querystring'
+
+#Globals
+VERSION = '0.9.4'
+YEAR = (new Date).getFullYear
+LICENSE = fs.readFileSync './license.include', 'utf8'
+
+COMPILER_PATH = './node_modules/closure-compiler/lib/vendor/compiler.jar'
+DOCCO_PATH = './node_modules/docco/lib/docco.js'
+CORE_PATH = './src/core.js'
+EXCEL_FORMULA_UTILITIES_PATH = './src/ExcelFormulaUtilities.js'
+LICENSE_PATH = './license.include'
+DEV_BUILD_PATH = "./excelFormulaUtilities-#{VERSION}.js"
+PROD_BUILD_PATH = "./excelFormulaUtilities-#{VERSION}.min.js"
+
+# build
+#------
+task 'build', 'Building', ->
+
+ fileLicense = fs.readFileSync(LICENSE_PATH, 'utf8').toString().replace('#{VERSION}', "#{VERSION}").replace('#{YEAR}', (new Date()).getFullYear())
+ jsFileCore = fs.readFileSync CORE_PATH, 'utf8'
+ jsFileExcelFormulaUtilities = fs.readFileSync EXCEL_FORMULA_UTILITIES_PATH, 'utf8'
+
+ jsCode = jsFileCore + "\n" + jsFileExcelFormulaUtilities
+
+ # Write the js file
+ fs.writeFile DEV_BUILD_PATH, jsCode, 'utf8', (err)->
+ console.log "Saved script to #{DEV_BUILD_PATH}"
+
+ # Minify
+ exec "java -jar #{COMPILER_PATH} --compilation_level SIMPLE_OPTIMIZATIONS --js ./src/core.js --js ./src/ExcelFormulaUtilities.js --js_output_file ./excelFormulaUtilities-#{VERSION}.min.js" , (err, stdout, stderr) ->
+ throw err if err
+ console.log stdout + stderr
+
+ # Generate Docco Docs
+ exec "node #{DOCCO_PATH} ./src/*.js", (err, stdout, stderr) ->
+ throw err if err
console.log stdout + stderr
View
134 README.md
@@ -1,68 +1,68 @@
-# ExcelFormulaBeautifier.com
-
-This lives under the gh-pages branch.
-To submit pull requests for [ExcelFormulaBeautifier.com](http://ExcelFormulaBeautifier.com) please use this branch.
-Changes to the core js library live in the master branch.
-
-# Excel Formula Utilities for JavaScript
-
-##Installation
- 1. Save excelFormulaUtilities-[version].js(For dev) or excelFormulaUtilities-[version].js.min (For prod).
- 2. Save excelFormulaUtilities.css if you'd like basic styling when outputting formulas to html.
- 3. Drop these files into your project.
-
-Check out the examples below or if you'd like to use the beautifier online click here http://excelformulabeautifier.com/
-
-##Basic usage
-
-This will return a formated formula in plain text.
-
- excelFormulaUtilities.formatFormula('IF(1+1=2,"true","false")'); //Returns a string containing the formatted formula.
-
-##Example
-
-To see this example check out ./examples/basic_example1/index.html
-
-###The JavaScript
- window.onload = function(){
- //Beautify an Excel formula output to text
- var formula_1 = 'SUM((A1:A10>=5)*(A1:A10<=10)*A1:A10)';
- document.getElementById('fomatFormula_1').innerHTML = formula_1;
- document.getElementById('fomatFormula_1_out').innerHTML = excelFormulaUtilities.formatFormula(formula_1);
-
- //Beautify an Excel formula output to html.
- var formula_2 = '=RIGHT(A2,LEN(A2)-FIND("*",SUBSTITUTE(A2," ","*",LEN(A2)-LEN(SUBSTITUTE(A2," ","")))))';
- document.getElementById('fomatFormula_2').innerHTML = formula_2;
- document.getElementById('fomatFormula_2_out').innerHTML = excelFormulaUtilities.formatFormulaHTML(formula_2);
-
- //Convert an Excel formula to C#
- var formula_3 = '=IF(A2:A3="YES","A2 equals yes", "A2 does not equal yes")';
- document.getElementById('fomatFormula_3').innerHTML = formula_3;
- document.getElementById('fomatFormula_3_out').innerHTML = excelFormulaUtilities.formula2CSharp(formula_3);
-
- //Convert an Excel formula to JavaScript
- var formula_4 = 'ADDRESS(ROW(DataRange2),COLUMN(DataRange2),4)&":"&ADDRESS(MAX((DataRange2<>"")*ROW(DataRange2)),COLUMN(DataRange2)+COLUMNS(DataRange2)-1,4)';
- document.getElementById('fomatFormula_4').innerHTML = formula_4;
- document.getElementById('fomatFormula_4_out').innerHTML = excelFormulaUtilities.formula2JavaScript(formula_4);
- }
-
-###The HTML
- <div class="formula">
- <h2>excelFormulaUtilities.formatFormula( "<span id="fomatFormula_1"></span>" );</h2>
- <pre id="fomatFormula_1_out"></pre>
- </div>
-
- <div class="formula">
- <h2>excelFormulaUtilities.formatFormulaHTML( "<span id="fomatFormula_2"></span>" );</h2>
- <pre id="fomatFormula_2_out"></pre>
- </div>
-
- <div class="formula">
- <h2>excelFormulaUtilities.formula2CSharp( "<span id="fomatFormula_3"></span>" );</h2>
- <div id="fomatFormula_3_out"></div>
- </div>
-
- <div class="formula">
- <h2>excelFormulaUtilities.formula2Javascript( "<span id="fomatFormula_4"></span>" );</h2>
- <pre id="fomatFormula_4_out"></pre>
+# ExcelFormulaBeautifier.com
+
+This lives under the gh-pages branch.
+To submit pull requests for [ExcelFormulaBeautifier.com](http://ExcelFormulaBeautifier.com) please use this branch.
+Changes to the core js library live in the master branch.
+
+# Excel Formula Utilities for JavaScript
+
+##Installation
+ 1. Save excelFormulaUtilities-[version].js(For dev) or excelFormulaUtilities-[version].js.min (For prod).
+ 2. Save excelFormulaUtilities.css if you'd like basic styling when outputting formulas to html.
+ 3. Drop these files into your project.
+
+Check out the examples below or if you'd like to use the beautifier online click here http://excelformulabeautifier.com/
+
+##Basic usage
+
+This will return a formated formula in plain text.
+
+ excelFormulaUtilities.formatFormula('IF(1+1=2,"true","false")'); //Returns a string containing the formatted formula.
+
+##Example
+
+To see this example check out ./examples/basic_example1/index.html
+
+###The JavaScript
+ window.onload = function(){
+ //Beautify an Excel formula output to text
+ var formula_1 = 'SUM((A1:A10>=5)*(A1:A10<=10)*A1:A10)';
+ document.getElementById('fomatFormula_1').innerHTML = formula_1;
+ document.getElementById('fomatFormula_1_out').innerHTML = excelFormulaUtilities.formatFormula(formula_1);
+
+ //Beautify an Excel formula output to html.
+ var formula_2 = '=RIGHT(A2,LEN(A2)-FIND("*",SUBSTITUTE(A2," ","*",LEN(A2)-LEN(SUBSTITUTE(A2," ","")))))';
+ document.getElementById('fomatFormula_2').innerHTML = formula_2;
+ document.getElementById('fomatFormula_2_out').innerHTML = excelFormulaUtilities.formatFormulaHTML(formula_2);
+
+ //Convert an Excel formula to C#
+ var formula_3 = '=IF(A2:A3="YES","A2 equals yes", "A2 does not equal yes")';
+ document.getElementById('fomatFormula_3').innerHTML = formula_3;
+ document.getElementById('fomatFormula_3_out').innerHTML = excelFormulaUtilities.formula2CSharp(formula_3);
+
+ //Convert an Excel formula to JavaScript
+ var formula_4 = 'ADDRESS(ROW(DataRange2),COLUMN(DataRange2),4)&":"&ADDRESS(MAX((DataRange2<>"")*ROW(DataRange2)),COLUMN(DataRange2)+COLUMNS(DataRange2)-1,4)';
+ document.getElementById('fomatFormula_4').innerHTML = formula_4;
+ document.getElementById('fomatFormula_4_out').innerHTML = excelFormulaUtilities.formula2JavaScript(formula_4);
+ }
+
+###The HTML
+ <div class="formula">
+ <h2>excelFormulaUtilities.formatFormula( "<span id="fomatFormula_1"></span>" );</h2>
+ <pre id="fomatFormula_1_out"></pre>
+ </div>
+
+ <div class="formula">
+ <h2>excelFormulaUtilities.formatFormulaHTML( "<span id="fomatFormula_2"></span>" );</h2>
+ <pre id="fomatFormula_2_out"></pre>
+ </div>
+
+ <div class="formula">
+ <h2>excelFormulaUtilities.formula2CSharp( "<span id="fomatFormula_3"></span>" );</h2>
+ <div id="fomatFormula_3_out"></div>
+ </div>
+
+ <div class="formula">
+ <h2>excelFormulaUtilities.formula2Javascript( "<span id="fomatFormula_4"></span>" );</h2>
+ <pre id="fomatFormula_4_out"></pre>
</div>
Oops, something went wrong.

0 comments on commit d3d01a6

Please sign in to comment.