closure 1.2.701 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -8
- data/closure-compiler/README +1 -1
- data/closure-compiler/compiler.jar +0 -0
- data/docs/SCRIPT.md +142 -0
- data/docs/closure/Closure/BeanShell.html +335 -0
- data/docs/closure/Closure/Compiler/Compilation.html +636 -0
- data/docs/closure/Closure/Compiler/Error.html +116 -0
- data/docs/closure/Closure/Compiler.html +387 -0
- data/docs/closure/Closure/FileResponse.html +622 -0
- data/docs/closure/Closure/Goog.html +1251 -0
- data/docs/closure/Closure/Middleware.html +304 -0
- data/docs/closure/Closure/Script/NotFound.html +116 -0
- data/docs/closure/Closure/Script/RenderStackOverflow.html +116 -0
- data/docs/closure/Closure/Script.html +1083 -0
- data/docs/closure/Closure/Server.html +439 -0
- data/docs/closure/Closure/ShowExceptions.html +266 -0
- data/docs/closure/Closure/Sources.html +1272 -0
- data/docs/closure/Closure/Templates/Error.html +116 -0
- data/docs/closure/Closure/Templates.html +361 -0
- data/docs/closure/Closure.html +715 -0
- data/docs/closure/_index.html +289 -0
- data/docs/closure/class_list.html +47 -0
- data/docs/closure/css/common.css +1 -0
- data/docs/closure/css/full_list.css +53 -0
- data/docs/closure/css/style.css +320 -0
- data/{closure-library/LICENSE → docs/closure/file.LICENSE.html} +106 -16
- data/docs/closure/file.README.html +79 -0
- data/docs/closure/file_list.html +52 -0
- data/docs/closure/frames.html +13 -0
- data/docs/closure/index.html +79 -0
- data/docs/closure/js/app.js +205 -0
- data/docs/closure/js/full_list.js +150 -0
- data/docs/closure/js/jquery.js +16 -0
- data/docs/closure/method_list.html +486 -0
- data/docs/closure/top-level-namespace.html +103 -0
- data/docs/index.erb +26 -0
- data/externs/chrome_extensions.externs +968 -0
- data/{scripts/externs/jquery_1_4_2.externs → externs/jquery-1.3.2.externs} +39 -170
- data/externs/jquery-1.4.3.externs +1289 -0
- data/externs/jquery-1.4.4.externs +1302 -0
- data/externs/jquery-1.5.externs +1697 -0
- data/externs/jquery.externs +4 -0
- data/lib/closure/beanshell.rb +9 -21
- data/lib/closure/compiler.rb +247 -102
- data/lib/closure/engines.rb +50 -0
- data/lib/closure/goog.rb +122 -68
- data/lib/closure/script.rb +68 -54
- data/lib/closure/server.rb +10 -1
- data/lib/closure/show_exceptions.rb +30 -3
- data/lib/closure/sources.rb +26 -25
- data/lib/closure/templates.rb +79 -124
- data/lib/closure/version.rb +1 -1
- data/lib/closure.rb +64 -43
- data/lib/shim.jar +0 -0
- data/scripts/config.ru +25 -0
- data/scripts/hello/compiler.js.erb +48 -0
- data/scripts/hello/compiler_build.js +5 -0
- data/scripts/hello/compiler_build.map +752 -0
- data/scripts/hello/compiler_debug.js +125 -0
- data/scripts/hello/hello.js +11 -0
- data/scripts/hello/index.erb +11 -0
- data/scripts/hello/legume.js +20 -0
- data/scripts/hello/legume.soy +9 -0
- data/scripts/index.erb +45 -5
- data/scripts/jquery/compiler.js.erb +7 -0
- data/scripts/jquery/compiler_out.js +1 -0
- data/scripts/jquery/index.erb +25 -0
- data/scripts/jquery/jquery_test.js +8 -0
- data/scripts/modules/api.js +11 -0
- data/scripts/modules/api_init.js +8 -0
- data/scripts/modules/app.js +102 -0
- data/scripts/modules/app_init.js +33 -0
- data/scripts/modules/compiler.js.erb +34 -0
- data/scripts/modules/compiler_build.js +6 -0
- data/scripts/modules/compiler_build.map +12077 -0
- data/scripts/modules/compiler_build_api.js +1 -0
- data/scripts/modules/compiler_build_app.js +74 -0
- data/scripts/modules/compiler_build_settings.js +2 -0
- data/scripts/modules/compiler_debug.js +6 -0
- data/scripts/modules/compiler_debug_api.js +11 -0
- data/scripts/modules/compiler_debug_app.js +2870 -0
- data/scripts/modules/compiler_debug_settings.js +42 -0
- data/scripts/modules/index.erb +18 -0
- data/scripts/modules/settings.js +19 -0
- data/scripts/modules/settings_init.js +14 -0
- data/scripts/{demos/rails_ujs.erb → rails/index.erb} +14 -6
- data/scripts/{demos → rails}/rails_ujs.js +0 -40
- data/scripts/svn.erb +228 -0
- data/scripts/welcome.erb +78 -0
- metadata +101 -1507
- data/.gitignore +0 -6
- data/.yardopts +0 -3
- data/closure-library/AUTHORS +0 -12
- data/closure-library/README +0 -6
- data/closure-library/all_tests.html +0 -113
- data/closure-library/alltests.js +0 -16
- data/closure-library/closure/bin/build/closurebuilder.py +0 -257
- data/closure-library/closure/bin/build/depstree.py +0 -186
- data/closure-library/closure/bin/build/depstree_test.py +0 -127
- data/closure-library/closure/bin/build/depswriter.py +0 -197
- data/closure-library/closure/bin/build/jscompiler.py +0 -69
- data/closure-library/closure/bin/build/source.py +0 -86
- data/closure-library/closure/bin/build/source_test.py +0 -57
- data/closure-library/closure/bin/build/treescan.py +0 -78
- data/closure-library/closure/bin/calcdeps.py +0 -570
- data/closure-library/closure/bin/scopify.py +0 -211
- data/closure-library/closure/css/inlay/g-base.css +0 -82
- data/closure-library/closure/css/inlay/g-fixed.css +0 -158
- data/closure-library/closure/css/inlay/g-ratio.css +0 -253
- data/closure-library/closure/goog/array/array.js +0 -1300
- data/closure-library/closure/goog/array/array_test.html +0 -1524
- data/closure-library/closure/goog/asserts/asserts.js +0 -277
- data/closure-library/closure/goog/asserts/asserts_test.html +0 -163
- data/closure-library/closure/goog/async/conditionaldelay.js +0 -238
- data/closure-library/closure/goog/async/conditionaldelay_test.html +0 -227
- data/closure-library/closure/goog/async/delay.js +0 -174
- data/closure-library/closure/goog/async/delay_test.html +0 -148
- data/closure-library/closure/goog/async/throttle.js +0 -189
- data/closure-library/closure/goog/async/throttle_test.html +0 -102
- data/closure-library/closure/goog/base.js +0 -1471
- data/closure-library/closure/goog/base_test.html +0 -1166
- data/closure-library/closure/goog/bootstrap/webworkers.js +0 -37
- data/closure-library/closure/goog/color/alpha.js +0 -436
- data/closure-library/closure/goog/color/alpha_test.html +0 -234
- data/closure-library/closure/goog/color/color.js +0 -757
- data/closure-library/closure/goog/color/color_test.html +0 -645
- data/closure-library/closure/goog/color/names.js +0 -176
- data/closure-library/closure/goog/crypt/arc4.js +0 -141
- data/closure-library/closure/goog/crypt/arc4_test.html +0 -42
- data/closure-library/closure/goog/crypt/base64.js +0 -267
- data/closure-library/closure/goog/crypt/base64_test.html +0 -106
- data/closure-library/closure/goog/crypt/basen.js +0 -242
- data/closure-library/closure/goog/crypt/basen_test.html +0 -167
- data/closure-library/closure/goog/crypt/crypt.js +0 -103
- data/closure-library/closure/goog/crypt/crypt_test.html +0 -68
- data/closure-library/closure/goog/crypt/hash32.js +0 -184
- data/closure-library/closure/goog/crypt/hash32_test.html +0 -287
- data/closure-library/closure/goog/crypt/sha1.js +0 -238
- data/closure-library/closure/goog/crypt/sha1_test.html +0 -47
- data/closure-library/closure/goog/css/autocomplete.css +0 -43
- data/closure-library/closure/goog/css/bubble.css +0 -84
- data/closure-library/closure/goog/css/button.css +0 -38
- data/closure-library/closure/goog/css/charpicker.css +0 -201
- data/closure-library/closure/goog/css/checkbox.css +0 -38
- data/closure-library/closure/goog/css/colormenubutton.css +0 -25
- data/closure-library/closure/goog/css/colorpalette.css +0 -54
- data/closure-library/closure/goog/css/colorpicker-simplegrid.css +0 -50
- data/closure-library/closure/goog/css/combobox.css +0 -57
- data/closure-library/closure/goog/css/common.css +0 -41
- data/closure-library/closure/goog/css/css3button.css +0 -77
- data/closure-library/closure/goog/css/css3menubutton.css +0 -23
- data/closure-library/closure/goog/css/custombutton.css +0 -164
- data/closure-library/closure/goog/css/datepicker.css +0 -148
- data/closure-library/closure/goog/css/dialog.css +0 -72
- data/closure-library/closure/goog/css/dimensionpicker.css +0 -47
- data/closure-library/closure/goog/css/dragdropdetector.css +0 -48
- data/closure-library/closure/goog/css/editor/bubble.css +0 -73
- data/closure-library/closure/goog/css/editor/dialog.css +0 -66
- data/closure-library/closure/goog/css/editor/linkdialog.css +0 -36
- data/closure-library/closure/goog/css/editortoolbar.css +0 -225
- data/closure-library/closure/goog/css/filteredmenu.css +0 -30
- data/closure-library/closure/goog/css/filterobservingmenuitem.css +0 -25
- data/closure-library/closure/goog/css/flatbutton.css +0 -65
- data/closure-library/closure/goog/css/flatmenubutton.css +0 -63
- data/closure-library/closure/goog/css/hovercard.css +0 -51
- data/closure-library/closure/goog/css/hsvapalette.css +0 -231
- data/closure-library/closure/goog/css/hsvpalette.css +0 -179
- data/closure-library/closure/goog/css/imagelessbutton.css +0 -160
- data/closure-library/closure/goog/css/imagelessmenubutton.css +0 -23
- data/closure-library/closure/goog/css/inputdatepicker.css +0 -12
- data/closure-library/closure/goog/css/linkbutton.css +0 -26
- data/closure-library/closure/goog/css/menu.css +0 -27
- data/closure-library/closure/goog/css/menubutton.css +0 -169
- data/closure-library/closure/goog/css/menuitem.css +0 -96
- data/closure-library/closure/goog/css/menuseparator.css +0 -19
- data/closure-library/closure/goog/css/multitestrunner.css +0 -121
- data/closure-library/closure/goog/css/offline.css +0 -147
- data/closure-library/closure/goog/css/palette.css +0 -36
- data/closure-library/closure/goog/css/popupdatepicker.css +0 -17
- data/closure-library/closure/goog/css/roundedpanel.css +0 -29
- data/closure-library/closure/goog/css/roundedtab.css +0 -158
- data/closure-library/closure/goog/css/submenu.css +0 -28
- data/closure-library/closure/goog/css/tab.css +0 -91
- data/closure-library/closure/goog/css/tabbar.css +0 -52
- data/closure-library/closure/goog/css/tablesorter.css +0 -14
- data/closure-library/closure/goog/css/toolbar.css +0 -400
- data/closure-library/closure/goog/css/tooltip.css +0 -14
- data/closure-library/closure/goog/css/tree.css +0 -147
- data/closure-library/closure/goog/css/tristatemenuitem.css +0 -43
- data/closure-library/closure/goog/cssom/cssom.js +0 -447
- data/closure-library/closure/goog/cssom/cssom_test.html +0 -343
- data/closure-library/closure/goog/cssom/cssom_test_import_1.css +0 -11
- data/closure-library/closure/goog/cssom/cssom_test_import_2.css +0 -10
- data/closure-library/closure/goog/cssom/cssom_test_link_1.css +0 -10
- data/closure-library/closure/goog/cssom/iframe/style.js +0 -1020
- data/closure-library/closure/goog/cssom/iframe/style_test.html +0 -391
- data/closure-library/closure/goog/cssom/iframe/style_test_import.css +0 -10
- data/closure-library/closure/goog/datasource/datamanager.js +0 -566
- data/closure-library/closure/goog/datasource/datasource.js +0 -646
- data/closure-library/closure/goog/datasource/datasource_test.html +0 -265
- data/closure-library/closure/goog/datasource/expr.js +0 -544
- data/closure-library/closure/goog/datasource/expr_test.html +0 -97
- data/closure-library/closure/goog/datasource/fastdatanode.js +0 -792
- data/closure-library/closure/goog/datasource/fastdatanode_test.html +0 -254
- data/closure-library/closure/goog/datasource/jsdatasource.js +0 -460
- data/closure-library/closure/goog/datasource/jsondatasource.js +0 -146
- data/closure-library/closure/goog/datasource/jsxmlhttpdatasource.js +0 -191
- data/closure-library/closure/goog/datasource/jsxmlhttpdatasource_test.html +0 -94
- data/closure-library/closure/goog/datasource/xmldatasource.js +0 -407
- data/closure-library/closure/goog/date/date.js +0 -1642
- data/closure-library/closure/goog/date/date_test.html +0 -1293
- data/closure-library/closure/goog/date/datelike.js +0 -27
- data/closure-library/closure/goog/date/daterange.js +0 -398
- data/closure-library/closure/goog/date/daterange_test.html +0 -213
- data/closure-library/closure/goog/date/relative.js +0 -425
- data/closure-library/closure/goog/date/relative_test.html +0 -124
- data/closure-library/closure/goog/date/utcdatetime.js +0 -178
- data/closure-library/closure/goog/date/utcdatetime_test.html +0 -119
- data/closure-library/closure/goog/debug/console.js +0 -138
- data/closure-library/closure/goog/debug/debug.js +0 -452
- data/closure-library/closure/goog/debug/debug_test.html +0 -32
- data/closure-library/closure/goog/debug/debugwindow.js +0 -582
- data/closure-library/closure/goog/debug/devcss/devcss.js +0 -435
- data/closure-library/closure/goog/debug/devcss/devcss_test.html +0 -365
- data/closure-library/closure/goog/debug/devcss/devcssrunner.js +0 -26
- data/closure-library/closure/goog/debug/divconsole.js +0 -141
- data/closure-library/closure/goog/debug/enhanceerror_test.html +0 -138
- data/closure-library/closure/goog/debug/entrypointregistry.js +0 -111
- data/closure-library/closure/goog/debug/entrypointregistry_test.html +0 -63
- data/closure-library/closure/goog/debug/error.js +0 -47
- data/closure-library/closure/goog/debug/error_test.html +0 -85
- data/closure-library/closure/goog/debug/errorhandler.js +0 -234
- data/closure-library/closure/goog/debug/errorhandler_async_test.html +0 -112
- data/closure-library/closure/goog/debug/errorhandler_test.html +0 -186
- data/closure-library/closure/goog/debug/errorhandlerweakdep.js +0 -38
- data/closure-library/closure/goog/debug/errorreporter.js +0 -324
- data/closure-library/closure/goog/debug/errorreporter_test.html +0 -289
- data/closure-library/closure/goog/debug/fancywindow.js +0 -265
- data/closure-library/closure/goog/debug/formatter.js +0 -314
- data/closure-library/closure/goog/debug/gcdiagnostics.js +0 -143
- data/closure-library/closure/goog/debug/logbuffer.js +0 -147
- data/closure-library/closure/goog/debug/logbuffer_test.html +0 -105
- data/closure-library/closure/goog/debug/logger.js +0 -809
- data/closure-library/closure/goog/debug/logger_test.html +0 -208
- data/closure-library/closure/goog/debug/logrecord.js +0 -271
- data/closure-library/closure/goog/debug/reflect.js +0 -163
- data/closure-library/closure/goog/debug/reflect_test.html +0 -81
- data/closure-library/closure/goog/debug/relativetimeprovider.js +0 -83
- data/closure-library/closure/goog/debug/tracer.js +0 -750
- data/closure-library/closure/goog/debug/tracer_test.html +0 -57
- data/closure-library/closure/goog/demos/advancedtooltip.html +0 -78
- data/closure-library/closure/goog/demos/animationqueue.html +0 -149
- data/closure-library/closure/goog/demos/autocomplete-basic.html +0 -56
- data/closure-library/closure/goog/demos/autocompleteremote.html +0 -40
- data/closure-library/closure/goog/demos/autocompleteremotedata.js +0 -18
- data/closure-library/closure/goog/demos/autocompleterichremote.html +0 -137
- data/closure-library/closure/goog/demos/autocompleterichremotedata.js +0 -33
- data/closure-library/closure/goog/demos/bidiinput.html +0 -72
- data/closure-library/closure/goog/demos/bubble.html +0 -250
- data/closure-library/closure/goog/demos/button.html +0 -395
- data/closure-library/closure/goog/demos/charcounter.html +0 -57
- data/closure-library/closure/goog/demos/charpicker.html +0 -64
- data/closure-library/closure/goog/demos/checkbox.html +0 -122
- data/closure-library/closure/goog/demos/color-contrast.html +0 -60
- data/closure-library/closure/goog/demos/colormenubutton.html +0 -213
- data/closure-library/closure/goog/demos/colorpicker.html +0 -43
- data/closure-library/closure/goog/demos/combobox.html +0 -125
- data/closure-library/closure/goog/demos/container.html +0 -670
- data/closure-library/closure/goog/demos/control.html +0 -477
- data/closure-library/closure/goog/demos/css/demo.css +0 -75
- data/closure-library/closure/goog/demos/css/emojipicker.css +0 -36
- data/closure-library/closure/goog/demos/css/emojisprite.css +0 -92
- data/closure-library/closure/goog/demos/css3button.html +0 -166
- data/closure-library/closure/goog/demos/css3menubutton.html +0 -285
- data/closure-library/closure/goog/demos/cssspriteanimation.html +0 -80
- data/closure-library/closure/goog/demos/datepicker.html +0 -183
- data/closure-library/closure/goog/demos/debug.html +0 -119
- data/closure-library/closure/goog/demos/depsgraph.html +0 -221
- data/closure-library/closure/goog/demos/dialog.html +0 -156
- data/closure-library/closure/goog/demos/dimensionpicker.html +0 -108
- data/closure-library/closure/goog/demos/dimensionpicker_rtl.html +0 -123
- data/closure-library/closure/goog/demos/dom_selection.html +0 -88
- data/closure-library/closure/goog/demos/drag.html +0 -191
- data/closure-library/closure/goog/demos/dragdrop.html +0 -263
- data/closure-library/closure/goog/demos/dragdropdetector.html +0 -46
- data/closure-library/closure/goog/demos/dragdropdetector_target.html +0 -17
- data/closure-library/closure/goog/demos/dragger.html +0 -83
- data/closure-library/closure/goog/demos/draglistgroup.html +0 -261
- data/closure-library/closure/goog/demos/drilldownrow.html +0 -78
- data/closure-library/closure/goog/demos/editor/deps.js +0 -20
- data/closure-library/closure/goog/demos/editor/editor.html +0 -139
- data/closure-library/closure/goog/demos/editor/field_basic.html +0 -74
- data/closure-library/closure/goog/demos/editor/helloworld.html +0 -91
- data/closure-library/closure/goog/demos/editor/helloworld.js +0 -81
- data/closure-library/closure/goog/demos/editor/helloworld_test.html +0 -75
- data/closure-library/closure/goog/demos/editor/helloworlddialog.js +0 -163
- data/closure-library/closure/goog/demos/editor/helloworlddialog_test.html +0 -100
- data/closure-library/closure/goog/demos/editor/helloworlddialogplugin.js +0 -110
- data/closure-library/closure/goog/demos/editor/helloworlddialogplugin_test.html +0 -198
- data/closure-library/closure/goog/demos/editor/seamlessfield.html +0 -106
- data/closure-library/closure/goog/demos/effects.html +0 -142
- data/closure-library/closure/goog/demos/emoji/200.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/201.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/202.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/203.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/204.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/205.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/206.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2BC.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2BD.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2BE.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2BF.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C0.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C1.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C2.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C3.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C4.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C5.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C6.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C7.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C8.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2C9.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CA.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CB.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CC.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CD.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CE.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2CF.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D0.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D1.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D2.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D3.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D4.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D5.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D6.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D7.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D8.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2D9.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DA.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DB.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DC.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DD.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DE.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2DF.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E0.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E1.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E2.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E3.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E4.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E5.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E6.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E7.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E8.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2E9.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2EA.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2EB.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2EC.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2ED.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2EE.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2EF.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F0.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F1.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F2.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F3.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F4.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F5.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F6.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F7.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F8.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2F9.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FA.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FB.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FC.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FD.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FE.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/2FF.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/none.gif +0 -0
- data/closure-library/closure/goog/demos/emoji/sprite.png +0 -0
- data/closure-library/closure/goog/demos/emoji/sprite2.png +0 -0
- data/closure-library/closure/goog/demos/emoji/unknown.gif +0 -0
- data/closure-library/closure/goog/demos/event-propagation.html +0 -192
- data/closure-library/closure/goog/demos/events.html +0 -99
- data/closure-library/closure/goog/demos/eventtarget.html +0 -70
- data/closure-library/closure/goog/demos/filedrophandler.html +0 -63
- data/closure-library/closure/goog/demos/filteredmenu.html +0 -118
- data/closure-library/closure/goog/demos/focushandler.html +0 -58
- data/closure-library/closure/goog/demos/gauge.html +0 -158
- data/closure-library/closure/goog/demos/graphics/advancedcoordinates.html +0 -141
- data/closure-library/closure/goog/demos/graphics/advancedcoordinates2.html +0 -130
- data/closure-library/closure/goog/demos/graphics/basicelements.html +0 -264
- data/closure-library/closure/goog/demos/graphics/events.html +0 -113
- data/closure-library/closure/goog/demos/graphics/modifyelements.html +0 -195
- data/closure-library/closure/goog/demos/graphics/subpixel.html +0 -80
- data/closure-library/closure/goog/demos/graphics/tiger.html +0 -105
- data/closure-library/closure/goog/demos/graphics/tigerdata.js +0 -2840
- data/closure-library/closure/goog/demos/history1.html +0 -132
- data/closure-library/closure/goog/demos/history2.html +0 -100
- data/closure-library/closure/goog/demos/history3.html +0 -106
- data/closure-library/closure/goog/demos/history3js.html +0 -36
- data/closure-library/closure/goog/demos/history_blank.html +0 -25
- data/closure-library/closure/goog/demos/hovercard.html +0 -177
- data/closure-library/closure/goog/demos/hsvapalette.html +0 -55
- data/closure-library/closure/goog/demos/hsvpalette.html +0 -56
- data/closure-library/closure/goog/demos/html5history.html +0 -87
- data/closure-library/closure/goog/demos/imagelessbutton.html +0 -221
- data/closure-library/closure/goog/demos/imagelessmenubutton.html +0 -285
- data/closure-library/closure/goog/demos/imagelessroundedcorner.html +0 -231
- data/closure-library/closure/goog/demos/index.html +0 -19
- data/closure-library/closure/goog/demos/index_nav.html +0 -253
- data/closure-library/closure/goog/demos/index_splash.html +0 -22
- data/closure-library/closure/goog/demos/inline_block_quirks.html +0 -125
- data/closure-library/closure/goog/demos/inline_block_standards.html +0 -126
- data/closure-library/closure/goog/demos/inputdatepicker.html +0 -60
- data/closure-library/closure/goog/demos/inputhandler.html +0 -72
- data/closure-library/closure/goog/demos/jsonprettyprinter.html +0 -80
- data/closure-library/closure/goog/demos/keyboardshortcuts.html +0 -112
- data/closure-library/closure/goog/demos/keyhandler.html +0 -127
- data/closure-library/closure/goog/demos/labelinput.html +0 -42
- data/closure-library/closure/goog/demos/menu.html +0 -220
- data/closure-library/closure/goog/demos/menubutton.html +0 -318
- data/closure-library/closure/goog/demos/mousewheelhandler.html +0 -109
- data/closure-library/closure/goog/demos/offline.html +0 -268
- data/closure-library/closure/goog/demos/onlinehandler.html +0 -77
- data/closure-library/closure/goog/demos/palette.html +0 -302
- data/closure-library/closure/goog/demos/pastehandler.html +0 -54
- data/closure-library/closure/goog/demos/plaintextspellchecker.html +0 -106
- data/closure-library/closure/goog/demos/popup.html +0 -200
- data/closure-library/closure/goog/demos/popupcolorpicker.html +0 -49
- data/closure-library/closure/goog/demos/popupdatepicker.html +0 -53
- data/closure-library/closure/goog/demos/popupemojipicker.html +0 -407
- data/closure-library/closure/goog/demos/popupmenu.html +0 -89
- data/closure-library/closure/goog/demos/progressbar.html +0 -97
- data/closure-library/closure/goog/demos/prompt.html +0 -92
- data/closure-library/closure/goog/demos/quadtree.html +0 -107
- data/closure-library/closure/goog/demos/ratings.html +0 -120
- data/closure-library/closure/goog/demos/richtextspellchecker.html +0 -92
- data/closure-library/closure/goog/demos/roundedpanel.html +0 -139
- data/closure-library/closure/goog/demos/samplecomponent.html +0 -75
- data/closure-library/closure/goog/demos/samplecomponent.js +0 -206
- data/closure-library/closure/goog/demos/scrollfloater.html +0 -117
- data/closure-library/closure/goog/demos/select.html +0 -324
- data/closure-library/closure/goog/demos/selectionmenubutton.html +0 -186
- data/closure-library/closure/goog/demos/serverchart.html +0 -122
- data/closure-library/closure/goog/demos/silverlightclipboardbutton.html +0 -71
- data/closure-library/closure/goog/demos/slider.html +0 -110
- data/closure-library/closure/goog/demos/splitbehavior.html +0 -164
- data/closure-library/closure/goog/demos/splitpane.html +0 -243
- data/closure-library/closure/goog/demos/stopevent.html +0 -171
- data/closure-library/closure/goog/demos/submenus.html +0 -130
- data/closure-library/closure/goog/demos/submenus2.html +0 -150
- data/closure-library/closure/goog/demos/tabbar.html +0 -289
- data/closure-library/closure/goog/demos/tablesorter.html +0 -116
- data/closure-library/closure/goog/demos/tabpane.html +0 -302
- data/closure-library/closure/goog/demos/textarea.html +0 -128
- data/closure-library/closure/goog/demos/timers.html +0 -291
- data/closure-library/closure/goog/demos/toolbar.html +0 -703
- data/closure-library/closure/goog/demos/tooltip.html +0 -91
- data/closure-library/closure/goog/demos/tracer.html +0 -92
- data/closure-library/closure/goog/demos/tree/demo.html +0 -126
- data/closure-library/closure/goog/demos/tree/testdata.js +0 -260
- data/closure-library/closure/goog/demos/tweakui.html +0 -121
- data/closure-library/closure/goog/demos/twothumbslider.html +0 -121
- data/closure-library/closure/goog/demos/useragent.html +0 -173
- data/closure-library/closure/goog/demos/viewportsizemonitor.html +0 -71
- data/closure-library/closure/goog/demos/xpc/blank.html +0 -7
- data/closure-library/closure/goog/demos/xpc/index.html +0 -89
- data/closure-library/closure/goog/demos/xpc/inner.html +0 -58
- data/closure-library/closure/goog/demos/xpc/minimal/blank.html +0 -7
- data/closure-library/closure/goog/demos/xpc/minimal/index.html +0 -105
- data/closure-library/closure/goog/demos/xpc/minimal/inner.html +0 -75
- data/closure-library/closure/goog/demos/xpc/minimal/relay.html +0 -7
- data/closure-library/closure/goog/demos/xpc/relay.html +0 -7
- data/closure-library/closure/goog/demos/xpc/xpcdemo.js +0 -304
- data/closure-library/closure/goog/demos/zippy.html +0 -127
- data/closure-library/closure/goog/deps.js +0 -679
- data/closure-library/closure/goog/disposable/disposable.js +0 -167
- data/closure-library/closure/goog/disposable/disposable_test.html +0 -202
- data/closure-library/closure/goog/dom/a11y.js +0 -438
- data/closure-library/closure/goog/dom/a11y_test.html +0 -86
- data/closure-library/closure/goog/dom/abstractmultirange.js +0 -77
- data/closure-library/closure/goog/dom/abstractrange.js +0 -514
- data/closure-library/closure/goog/dom/abstractrange_test.html +0 -73
- data/closure-library/closure/goog/dom/annotate.js +0 -352
- data/closure-library/closure/goog/dom/annotate_test.html +0 -187
- data/closure-library/closure/goog/dom/browserfeature.js +0 -50
- data/closure-library/closure/goog/dom/browserrange/abstractrange.js +0 -316
- data/closure-library/closure/goog/dom/browserrange/browserrange.js +0 -149
- data/closure-library/closure/goog/dom/browserrange/browserrange_test.html +0 -562
- data/closure-library/closure/goog/dom/browserrange/geckorange.js +0 -82
- data/closure-library/closure/goog/dom/browserrange/ierange.js +0 -970
- data/closure-library/closure/goog/dom/browserrange/operarange.js +0 -83
- data/closure-library/closure/goog/dom/browserrange/w3crange.js +0 -364
- data/closure-library/closure/goog/dom/browserrange/webkitrange.js +0 -112
- data/closure-library/closure/goog/dom/classes.js +0 -233
- data/closure-library/closure/goog/dom/classes_test.html +0 -228
- data/closure-library/closure/goog/dom/controlrange.js +0 -511
- data/closure-library/closure/goog/dom/controlrange_test.html +0 -246
- data/closure-library/closure/goog/dom/dataset.js +0 -90
- data/closure-library/closure/goog/dom/dataset_test.html +0 -104
- data/closure-library/closure/goog/dom/dom.js +0 -2424
- data/closure-library/closure/goog/dom/dom_quirks_test.html +0 -104
- data/closure-library/closure/goog/dom/dom_test.html +0 -103
- data/closure-library/closure/goog/dom/dom_test.js +0 -1129
- data/closure-library/closure/goog/dom/fontsizemonitor.js +0 -159
- data/closure-library/closure/goog/dom/fontsizemonitor_test.html +0 -283
- data/closure-library/closure/goog/dom/forms.js +0 -403
- data/closure-library/closure/goog/dom/forms_test.html +0 -483
- data/closure-library/closure/goog/dom/iframe.js +0 -128
- data/closure-library/closure/goog/dom/iframe_test.html +0 -87
- data/closure-library/closure/goog/dom/iter.js +0 -127
- data/closure-library/closure/goog/dom/iter_test.html +0 -97
- data/closure-library/closure/goog/dom/multirange.js +0 -519
- data/closure-library/closure/goog/dom/multirange_test.html +0 -67
- data/closure-library/closure/goog/dom/nodeiterator.js +0 -85
- data/closure-library/closure/goog/dom/nodeiterator_test.html +0 -49
- data/closure-library/closure/goog/dom/nodeoffset.js +0 -111
- data/closure-library/closure/goog/dom/nodeoffset_test.html +0 -88
- data/closure-library/closure/goog/dom/pattern/abstractpattern.js +0 -60
- data/closure-library/closure/goog/dom/pattern/allchildren.js +0 -73
- data/closure-library/closure/goog/dom/pattern/callback/callback.js +0 -82
- data/closure-library/closure/goog/dom/pattern/callback/counter.js +0 -72
- data/closure-library/closure/goog/dom/pattern/callback/test.js +0 -77
- data/closure-library/closure/goog/dom/pattern/childmatches.js +0 -152
- data/closure-library/closure/goog/dom/pattern/endtag.js +0 -53
- data/closure-library/closure/goog/dom/pattern/fulltag.js +0 -92
- data/closure-library/closure/goog/dom/pattern/matcher.js +0 -150
- data/closure-library/closure/goog/dom/pattern/matcher_test.html +0 -204
- data/closure-library/closure/goog/dom/pattern/nodetype.js +0 -57
- data/closure-library/closure/goog/dom/pattern/pattern.js +0 -93
- data/closure-library/closure/goog/dom/pattern/pattern_test.html +0 -614
- data/closure-library/closure/goog/dom/pattern/repeat.js +0 -188
- data/closure-library/closure/goog/dom/pattern/sequence.js +0 -139
- data/closure-library/closure/goog/dom/pattern/starttag.js +0 -53
- data/closure-library/closure/goog/dom/pattern/tag.js +0 -149
- data/closure-library/closure/goog/dom/pattern/text.js +0 -69
- data/closure-library/closure/goog/dom/range.js +0 -220
- data/closure-library/closure/goog/dom/range_test.html +0 -702
- data/closure-library/closure/goog/dom/rangeendpoint.js +0 -32
- data/closure-library/closure/goog/dom/savedcaretrange.js +0 -203
- data/closure-library/closure/goog/dom/savedcaretrange_test.html +0 -235
- data/closure-library/closure/goog/dom/savedrange.js +0 -74
- data/closure-library/closure/goog/dom/savedrange_test.html +0 -61
- data/closure-library/closure/goog/dom/selection.js +0 -470
- data/closure-library/closure/goog/dom/selection_test.html +0 -329
- data/closure-library/closure/goog/dom/tagiterator.js +0 -365
- data/closure-library/closure/goog/dom/tagiterator_test.html +0 -589
- data/closure-library/closure/goog/dom/tagname.js +0 -121
- data/closure-library/closure/goog/dom/tagname_test.html +0 -37
- data/closure-library/closure/goog/dom/textrange.js +0 -611
- data/closure-library/closure/goog/dom/textrange_test.html +0 -127
- data/closure-library/closure/goog/dom/textrangeiterator.js +0 -246
- data/closure-library/closure/goog/dom/textrangeiterator_test.html +0 -142
- data/closure-library/closure/goog/dom/viewportsizemonitor.js +0 -220
- data/closure-library/closure/goog/dom/viewportsizemonitor_test.html +0 -166
- data/closure-library/closure/goog/dom/xml.js +0 -187
- data/closure-library/closure/goog/dom/xml_test.html +0 -77
- data/closure-library/closure/goog/editor/browserfeature.js +0 -251
- data/closure-library/closure/goog/editor/browserfeature_test.html +0 -124
- data/closure-library/closure/goog/editor/clicktoeditwrapper.js +0 -438
- data/closure-library/closure/goog/editor/clicktoeditwrapper_test.html +0 -137
- data/closure-library/closure/goog/editor/command.js +0 -74
- data/closure-library/closure/goog/editor/defines.js +0 -34
- data/closure-library/closure/goog/editor/field.js +0 -2594
- data/closure-library/closure/goog/editor/field_test.html +0 -1000
- data/closure-library/closure/goog/editor/focus.js +0 -32
- data/closure-library/closure/goog/editor/focus_test.html +0 -66
- data/closure-library/closure/goog/editor/icontent.js +0 -296
- data/closure-library/closure/goog/editor/icontent_test.html +0 -209
- data/closure-library/closure/goog/editor/link.js +0 -279
- data/closure-library/closure/goog/editor/link_test.html +0 -234
- data/closure-library/closure/goog/editor/node.js +0 -435
- data/closure-library/closure/goog/editor/node_test.html +0 -590
- data/closure-library/closure/goog/editor/plugin.js +0 -444
- data/closure-library/closure/goog/editor/plugin_test.html +0 -187
- data/closure-library/closure/goog/editor/plugins/abstractbubbleplugin.js +0 -535
- data/closure-library/closure/goog/editor/plugins/abstractbubbleplugin_test.html +0 -227
- data/closure-library/closure/goog/editor/plugins/abstractdialogplugin.js +0 -336
- data/closure-library/closure/goog/editor/plugins/abstractdialogplugin_test.html +0 -399
- data/closure-library/closure/goog/editor/plugins/abstracttabhandler.js +0 -78
- data/closure-library/closure/goog/editor/plugins/abstracttabhandler_test.html +0 -91
- data/closure-library/closure/goog/editor/plugins/basictextformatter.js +0 -1740
- data/closure-library/closure/goog/editor/plugins/basictextformatter_test.html +0 -1171
- data/closure-library/closure/goog/editor/plugins/blockquote.js +0 -422
- data/closure-library/closure/goog/editor/plugins/blockquote_test.html +0 -149
- data/closure-library/closure/goog/editor/plugins/emoticons.js +0 -83
- data/closure-library/closure/goog/editor/plugins/emoticons_test.html +0 -67
- data/closure-library/closure/goog/editor/plugins/enterhandler.js +0 -730
- data/closure-library/closure/goog/editor/plugins/enterhandler_test.html +0 -739
- data/closure-library/closure/goog/editor/plugins/headerformatter.js +0 -95
- data/closure-library/closure/goog/editor/plugins/headerformatter_test.html +0 -100
- data/closure-library/closure/goog/editor/plugins/linkbubble.js +0 -458
- data/closure-library/closure/goog/editor/plugins/linkbubble_test.html +0 -309
- data/closure-library/closure/goog/editor/plugins/linkdialogplugin.js +0 -222
- data/closure-library/closure/goog/editor/plugins/linkdialogplugin_test.html +0 -370
- data/closure-library/closure/goog/editor/plugins/listtabhandler.js +0 -66
- data/closure-library/closure/goog/editor/plugins/listtabhandler_test.html +0 -177
- data/closure-library/closure/goog/editor/plugins/loremipsum.js +0 -186
- data/closure-library/closure/goog/editor/plugins/loremipsum_test.html +0 -169
- data/closure-library/closure/goog/editor/plugins/removeformatting.js +0 -772
- data/closure-library/closure/goog/editor/plugins/removeformatting_test.html +0 -920
- data/closure-library/closure/goog/editor/plugins/spacestabhandler.js +0 -93
- data/closure-library/closure/goog/editor/plugins/spacestabhandler_test.html +0 -186
- data/closure-library/closure/goog/editor/plugins/tableeditor.js +0 -496
- data/closure-library/closure/goog/editor/plugins/tableeditor_test.html +0 -299
- data/closure-library/closure/goog/editor/plugins/tagonenterhandler.js +0 -741
- data/closure-library/closure/goog/editor/plugins/tagonenterhandler_test.html +0 -481
- data/closure-library/closure/goog/editor/plugins/undoredo.js +0 -1014
- data/closure-library/closure/goog/editor/plugins/undoredo_test.html +0 -525
- data/closure-library/closure/goog/editor/plugins/undoredomanager.js +0 -337
- data/closure-library/closure/goog/editor/plugins/undoredomanager_test.html +0 -394
- data/closure-library/closure/goog/editor/plugins/undoredostate.js +0 -84
- data/closure-library/closure/goog/editor/plugins/undoredostate_test.html +0 -44
- data/closure-library/closure/goog/editor/range.js +0 -602
- data/closure-library/closure/goog/editor/range_test.html +0 -880
- data/closure-library/closure/goog/editor/seamlessfield.js +0 -720
- data/closure-library/closure/goog/editor/seamlessfield_quirks_test.html +0 -30
- data/closure-library/closure/goog/editor/seamlessfield_test.html +0 -33
- data/closure-library/closure/goog/editor/seamlessfield_test.js +0 -392
- data/closure-library/closure/goog/editor/style.js +0 -222
- data/closure-library/closure/goog/editor/style_test.html +0 -177
- data/closure-library/closure/goog/editor/table.js +0 -566
- data/closure-library/closure/goog/editor/table_test.html +0 -522
- data/closure-library/closure/goog/events/actioneventwrapper.js +0 -131
- data/closure-library/closure/goog/events/actioneventwrapper_test.html +0 -176
- data/closure-library/closure/goog/events/actionhandler.js +0 -189
- data/closure-library/closure/goog/events/actionhandler_test.html +0 -82
- data/closure-library/closure/goog/events/browserevent.js +0 -412
- data/closure-library/closure/goog/events/browserevent_test.html +0 -145
- data/closure-library/closure/goog/events/browserfeature.js +0 -43
- data/closure-library/closure/goog/events/event.js +0 -123
- data/closure-library/closure/goog/events/event_test.html +0 -70
- data/closure-library/closure/goog/events/eventhandler.js +0 -348
- data/closure-library/closure/goog/events/eventhandler_test.html +0 -230
- data/closure-library/closure/goog/events/events.js +0 -1101
- data/closure-library/closure/goog/events/events_test.html +0 -362
- data/closure-library/closure/goog/events/eventtarget.js +0 -197
- data/closure-library/closure/goog/events/eventtarget_test.html +0 -423
- data/closure-library/closure/goog/events/eventtype.js +0 -107
- data/closure-library/closure/goog/events/eventwrapper.js +0 -67
- data/closure-library/closure/goog/events/filedrophandler.js +0 -224
- data/closure-library/closure/goog/events/filedrophandler_test.html +0 -258
- data/closure-library/closure/goog/events/focushandler.js +0 -111
- data/closure-library/closure/goog/events/imehandler.js +0 -365
- data/closure-library/closure/goog/events/imehandler_test.html +0 -271
- data/closure-library/closure/goog/events/inputhandler.js +0 -218
- data/closure-library/closure/goog/events/keycodes.js +0 -314
- data/closure-library/closure/goog/events/keycodes_test.html +0 -72
- data/closure-library/closure/goog/events/keyhandler.js +0 -522
- data/closure-library/closure/goog/events/keyhandler_test.html +0 -621
- data/closure-library/closure/goog/events/keynames.js +0 -124
- data/closure-library/closure/goog/events/listener.js +0 -160
- data/closure-library/closure/goog/events/mousewheelhandler.js +0 -280
- data/closure-library/closure/goog/events/mousewheelhandler_test.html +0 -331
- data/closure-library/closure/goog/events/onlinehandler.js +0 -176
- data/closure-library/closure/goog/events/onlinelistener_test.html +0 -214
- data/closure-library/closure/goog/events/pastehandler.js +0 -444
- data/closure-library/closure/goog/events/pastehandler_test.html +0 -354
- data/closure-library/closure/goog/events/pools.js +0 -342
- data/closure-library/closure/goog/format/emailaddress.js +0 -329
- data/closure-library/closure/goog/format/emailaddress_test.html +0 -179
- data/closure-library/closure/goog/format/format.js +0 -451
- data/closure-library/closure/goog/format/format_test.html +0 -257
- data/closure-library/closure/goog/format/htmlprettyprinter.js +0 -406
- data/closure-library/closure/goog/format/htmlprettyprinter_test.html +0 -205
- data/closure-library/closure/goog/format/jsonprettyprinter.js +0 -405
- data/closure-library/closure/goog/format/jsonprettyprinter_test.html +0 -111
- data/closure-library/closure/goog/fs/entry.js +0 -406
- data/closure-library/closure/goog/fs/error.js +0 -103
- data/closure-library/closure/goog/fs/filesaver.js +0 -214
- data/closure-library/closure/goog/fs/filesystem.js +0 -59
- data/closure-library/closure/goog/fs/filewriter.js +0 -106
- data/closure-library/closure/goog/fs/fs.js +0 -183
- data/closure-library/closure/goog/fs/fs_test.html +0 -270
- data/closure-library/closure/goog/functions/functions.js +0 -219
- data/closure-library/closure/goog/functions/functions_test.html +0 -198
- data/closure-library/closure/goog/fx/abstractdragdrop.js +0 -1451
- data/closure-library/closure/goog/fx/abstractdragdrop_test.html +0 -430
- data/closure-library/closure/goog/fx/animation.js +0 -621
- data/closure-library/closure/goog/fx/animationqueue.js +0 -348
- data/closure-library/closure/goog/fx/cssspriteanimation.js +0 -112
- data/closure-library/closure/goog/fx/cssspriteanimation_test.html +0 -125
- data/closure-library/closure/goog/fx/dom.js +0 -610
- data/closure-library/closure/goog/fx/dragdrop.js +0 -49
- data/closure-library/closure/goog/fx/dragdropgroup.js +0 -107
- data/closure-library/closure/goog/fx/dragdropgroup_test.html +0 -234
- data/closure-library/closure/goog/fx/dragger.js +0 -731
- data/closure-library/closure/goog/fx/dragger_test.html +0 -415
- data/closure-library/closure/goog/fx/draglistgroup.js +0 -1159
- data/closure-library/closure/goog/fx/draglistgroup_test.html +0 -231
- data/closure-library/closure/goog/fx/dragscrollsupport.js +0 -274
- data/closure-library/closure/goog/fx/dragscrollsupport_test.html +0 -253
- data/closure-library/closure/goog/fx/easing.js +0 -50
- data/closure-library/closure/goog/fx/fx.js +0 -30
- data/closure-library/closure/goog/fx/fx_test.html +0 -157
- data/closure-library/closure/goog/gears/basestore.js +0 -523
- data/closure-library/closure/goog/gears/basestore_test.html +0 -247
- data/closure-library/closure/goog/gears/database.js +0 -935
- data/closure-library/closure/goog/gears/database_test.html +0 -699
- data/closure-library/closure/goog/gears/fakeworkerpool.js +0 -252
- data/closure-library/closure/goog/gears/fakeworkerpool_test.html +0 -188
- data/closure-library/closure/goog/gears/gears.js +0 -228
- data/closure-library/closure/goog/gears/gears_test.html +0 -78
- data/closure-library/closure/goog/gears/httprequest.js +0 -77
- data/closure-library/closure/goog/gears/loggerclient.js +0 -131
- data/closure-library/closure/goog/gears/loggerclient_test.html +0 -171
- data/closure-library/closure/goog/gears/loggerserver.js +0 -158
- data/closure-library/closure/goog/gears/loggerserver_test.html +0 -118
- data/closure-library/closure/goog/gears/logstore.js +0 -479
- data/closure-library/closure/goog/gears/logstore_test.html +0 -600
- data/closure-library/closure/goog/gears/managedresourcestore.js +0 -553
- data/closure-library/closure/goog/gears/managedresourcestore_test.html +0 -453
- data/closure-library/closure/goog/gears/multipartformdata.js +0 -203
- data/closure-library/closure/goog/gears/multipartformdata_test.html +0 -220
- data/closure-library/closure/goog/gears/statustype.js +0 -37
- data/closure-library/closure/goog/gears/urlcapture.js +0 -370
- data/closure-library/closure/goog/gears/urlcapture_test.html +0 -392
- data/closure-library/closure/goog/gears/worker.js +0 -201
- data/closure-library/closure/goog/gears/workerchannel.js +0 -205
- data/closure-library/closure/goog/gears/workerchannel_test.html +0 -207
- data/closure-library/closure/goog/gears/workerpool.js +0 -241
- data/closure-library/closure/goog/gears/workerpool_test.html +0 -203
- data/closure-library/closure/goog/graphics/abstractgraphics.js +0 -439
- data/closure-library/closure/goog/graphics/affinetransform.js +0 -497
- data/closure-library/closure/goog/graphics/affinetransform_test.html +0 -316
- data/closure-library/closure/goog/graphics/canvaselement.js +0 -776
- data/closure-library/closure/goog/graphics/canvasgraphics.js +0 -632
- data/closure-library/closure/goog/graphics/element.js +0 -145
- data/closure-library/closure/goog/graphics/ellipseelement.js +0 -59
- data/closure-library/closure/goog/graphics/ext/coordinates.js +0 -158
- data/closure-library/closure/goog/graphics/ext/coordinates_test.html +0 -74
- data/closure-library/closure/goog/graphics/ext/element.js +0 -970
- data/closure-library/closure/goog/graphics/ext/element_test.html +0 -144
- data/closure-library/closure/goog/graphics/ext/ellipse.js +0 -58
- data/closure-library/closure/goog/graphics/ext/ext.js +0 -29
- data/closure-library/closure/goog/graphics/ext/graphics.js +0 -209
- data/closure-library/closure/goog/graphics/ext/group.js +0 -213
- data/closure-library/closure/goog/graphics/ext/image.js +0 -62
- data/closure-library/closure/goog/graphics/ext/path.js +0 -140
- data/closure-library/closure/goog/graphics/ext/path_test.html +0 -46
- data/closure-library/closure/goog/graphics/ext/rectangle.js +0 -53
- data/closure-library/closure/goog/graphics/ext/shape.js +0 -144
- data/closure-library/closure/goog/graphics/ext/strokeandfillelement.js +0 -69
- data/closure-library/closure/goog/graphics/fill.js +0 -29
- data/closure-library/closure/goog/graphics/font.js +0 -59
- data/closure-library/closure/goog/graphics/graphics.js +0 -124
- data/closure-library/closure/goog/graphics/groupelement.js +0 -54
- data/closure-library/closure/goog/graphics/imageelement.js +0 -67
- data/closure-library/closure/goog/graphics/lineargradient.js +0 -131
- data/closure-library/closure/goog/graphics/path.js +0 -508
- data/closure-library/closure/goog/graphics/path_test.html +0 -359
- data/closure-library/closure/goog/graphics/pathelement.js +0 -50
- data/closure-library/closure/goog/graphics/paths.js +0 -86
- data/closure-library/closure/goog/graphics/paths_test.html +0 -97
- data/closure-library/closure/goog/graphics/rectelement.js +0 -59
- data/closure-library/closure/goog/graphics/solidfill.js +0 -70
- data/closure-library/closure/goog/graphics/stroke.js +0 -63
- data/closure-library/closure/goog/graphics/strokeandfillelement.js +0 -110
- data/closure-library/closure/goog/graphics/svgelement.js +0 -262
- data/closure-library/closure/goog/graphics/svggraphics.js +0 -813
- data/closure-library/closure/goog/graphics/textelement.js +0 -51
- data/closure-library/closure/goog/graphics/vmlelement.js +0 -380
- data/closure-library/closure/goog/graphics/vmlgraphics.js +0 -863
- data/closure-library/closure/goog/history/event.js +0 -54
- data/closure-library/closure/goog/history/eventtype.js +0 -30
- data/closure-library/closure/goog/history/history.js +0 -979
- data/closure-library/closure/goog/history/html5history.js +0 -303
- data/closure-library/closure/goog/history/html5history_test.html +0 -163
- data/closure-library/closure/goog/i18n/bidi.js +0 -772
- data/closure-library/closure/goog/i18n/bidi_test.html +0 -414
- data/closure-library/closure/goog/i18n/bidiformatter.js +0 -488
- data/closure-library/closure/goog/i18n/bidiformatter_test.html +0 -343
- data/closure-library/closure/goog/i18n/charlistdecompressor.js +0 -157
- data/closure-library/closure/goog/i18n/charlistdecompressor_test.html +0 -65
- data/closure-library/closure/goog/i18n/charpickerdata.js +0 -3185
- data/closure-library/closure/goog/i18n/currency.js +0 -385
- data/closure-library/closure/goog/i18n/currency_test.html +0 -202
- data/closure-library/closure/goog/i18n/currencycodemap.js +0 -210
- data/closure-library/closure/goog/i18n/datetimeformat.js +0 -636
- data/closure-library/closure/goog/i18n/datetimeformat_test.html +0 -436
- data/closure-library/closure/goog/i18n/datetimeparse.js +0 -1111
- data/closure-library/closure/goog/i18n/datetimeparse_test.html +0 -796
- data/closure-library/closure/goog/i18n/datetimepatterns.js +0 -1586
- data/closure-library/closure/goog/i18n/datetimepatternsext.js +0 -7386
- data/closure-library/closure/goog/i18n/datetimesymbols.js +0 -3350
- data/closure-library/closure/goog/i18n/datetimesymbolsext.js +0 -12938
- data/closure-library/closure/goog/i18n/graphemebreak.js +0 -181
- data/closure-library/closure/goog/i18n/graphemebreak_test.html +0 -72
- data/closure-library/closure/goog/i18n/messageformat.js +0 -556
- data/closure-library/closure/goog/i18n/messageformat_test.html +0 -334
- data/closure-library/closure/goog/i18n/mime.js +0 -100
- data/closure-library/closure/goog/i18n/mime_test.html +0 -51
- data/closure-library/closure/goog/i18n/numberformat.js +0 -763
- data/closure-library/closure/goog/i18n/numberformat_test.html +0 -605
- data/closure-library/closure/goog/i18n/numberformatsymbols.js +0 -10358
- data/closure-library/closure/goog/i18n/pluralrules.js +0 -695
- data/closure-library/closure/goog/i18n/timezone.js +0 -341
- data/closure-library/closure/goog/i18n/timezone_test.html +0 -163
- data/closure-library/closure/goog/i18n/uchar.js +0 -1160
- data/closure-library/closure/goog/i18n/uchar_test.html +0 -72
- data/closure-library/closure/goog/images/blank.gif +0 -0
- data/closure-library/closure/goog/images/bubble_close.jpg +0 -0
- data/closure-library/closure/goog/images/bubble_left.gif +0 -0
- data/closure-library/closure/goog/images/bubble_right.gif +0 -0
- data/closure-library/closure/goog/images/button-bg.gif +0 -0
- data/closure-library/closure/goog/images/check-outline.gif +0 -0
- data/closure-library/closure/goog/images/check-sprite.gif +0 -0
- data/closure-library/closure/goog/images/check.gif +0 -0
- data/closure-library/closure/goog/images/close_box.gif +0 -0
- data/closure-library/closure/goog/images/color-swatch-tick.gif +0 -0
- data/closure-library/closure/goog/images/dialog_close_box.gif +0 -0
- data/closure-library/closure/goog/images/dimension-highlighted.png +0 -0
- data/closure-library/closure/goog/images/dimension-unhighlighted.png +0 -0
- data/closure-library/closure/goog/images/dropdn.gif +0 -0
- data/closure-library/closure/goog/images/dropdn_disabled.gif +0 -0
- data/closure-library/closure/goog/images/dropdown.gif +0 -0
- data/closure-library/closure/goog/images/gears_bluedot.gif +0 -0
- data/closure-library/closure/goog/images/gears_offline.gif +0 -0
- data/closure-library/closure/goog/images/gears_online.gif +0 -0
- data/closure-library/closure/goog/images/gears_paused.gif +0 -0
- data/closure-library/closure/goog/images/gears_syncing.gif +0 -0
- data/closure-library/closure/goog/images/hsv-sprite-sm.gif +0 -0
- data/closure-library/closure/goog/images/hsv-sprite-sm.png +0 -0
- data/closure-library/closure/goog/images/hsv-sprite.gif +0 -0
- data/closure-library/closure/goog/images/hsv-sprite.png +0 -0
- data/closure-library/closure/goog/images/hsva-sprite-sm.gif +0 -0
- data/closure-library/closure/goog/images/hsva-sprite-sm.png +0 -0
- data/closure-library/closure/goog/images/hsva-sprite.gif +0 -0
- data/closure-library/closure/goog/images/hsva-sprite.png +0 -0
- data/closure-library/closure/goog/images/left_anchor_bubble_bot.gif +0 -0
- data/closure-library/closure/goog/images/left_anchor_bubble_top.gif +0 -0
- data/closure-library/closure/goog/images/menu-arrows.gif +0 -0
- data/closure-library/closure/goog/images/minus.png +0 -0
- data/closure-library/closure/goog/images/no_anchor_bubble_bot.gif +0 -0
- data/closure-library/closure/goog/images/no_anchor_bubble_top.gif +0 -0
- data/closure-library/closure/goog/images/offlineicons.png +0 -0
- data/closure-library/closure/goog/images/plus.png +0 -0
- data/closure-library/closure/goog/images/ratingstars.gif +0 -0
- data/closure-library/closure/goog/images/right_anchor_bubble_bot.gif +0 -0
- data/closure-library/closure/goog/images/right_anchor_bubble_top.gif +0 -0
- data/closure-library/closure/goog/images/toolbar-bg.png +0 -0
- data/closure-library/closure/goog/images/toolbar-separator.gif +0 -0
- data/closure-library/closure/goog/images/toolbar_icons.gif +0 -0
- data/closure-library/closure/goog/images/tree/I.png +0 -0
- data/closure-library/closure/goog/images/tree/cleardot.gif +0 -0
- data/closure-library/closure/goog/images/tree/tree.gif +0 -0
- data/closure-library/closure/goog/images/tree/tree.png +0 -0
- data/closure-library/closure/goog/images/ui_controls.jpg +0 -0
- data/closure-library/closure/goog/iter/iter.js +0 -627
- data/closure-library/closure/goog/iter/iter_test.html +0 -443
- data/closure-library/closure/goog/json/json.js +0 -302
- data/closure-library/closure/goog/json/json_test.html +0 -501
- data/closure-library/closure/goog/locale/countries.js +0 -288
- data/closure-library/closure/goog/locale/countrylanguagenames_test.html +0 -233
- data/closure-library/closure/goog/locale/defaultlocalenameconstants.js +0 -847
- data/closure-library/closure/goog/locale/genericfontnames.js +0 -73
- data/closure-library/closure/goog/locale/genericfontnames_test.html +0 -97
- data/closure-library/closure/goog/locale/genericfontnamesdata.js +0 -328
- data/closure-library/closure/goog/locale/locale.js +0 -397
- data/closure-library/closure/goog/locale/nativenameconstants.js +0 -1354
- data/closure-library/closure/goog/locale/scriptToLanguages.js +0 -482
- data/closure-library/closure/goog/locale/timezonedetection.js +0 -117
- data/closure-library/closure/goog/locale/timezonedetection_test.html +0 -130
- data/closure-library/closure/goog/locale/timezonefingerprint.js +0 -250
- data/closure-library/closure/goog/locale/timezonelist.js +0 -129
- data/closure-library/closure/goog/locale/timezonelist_test.html +0 -165
- data/closure-library/closure/goog/math/bezier.js +0 -244
- data/closure-library/closure/goog/math/bezier_test.html +0 -70
- data/closure-library/closure/goog/math/box.js +0 -236
- data/closure-library/closure/goog/math/box_test.html +0 -139
- data/closure-library/closure/goog/math/coordinate.js +0 -136
- data/closure-library/closure/goog/math/coordinate3.js +0 -168
- data/closure-library/closure/goog/math/coordinate3_test.html +0 -208
- data/closure-library/closure/goog/math/coordinate_test.html +0 -92
- data/closure-library/closure/goog/math/integer.js +0 -736
- data/closure-library/closure/goog/math/integer_test.html +0 -1653
- data/closure-library/closure/goog/math/line.js +0 -177
- data/closure-library/closure/goog/math/line_test.html +0 -62
- data/closure-library/closure/goog/math/long.js +0 -801
- data/closure-library/closure/goog/math/long_test.html +0 -1571
- data/closure-library/closure/goog/math/math.js +0 -355
- data/closure-library/closure/goog/math/math_test.html +0 -254
- data/closure-library/closure/goog/math/matrix.js +0 -669
- data/closure-library/closure/goog/math/matrix_test.html +0 -427
- data/closure-library/closure/goog/math/range.js +0 -146
- data/closure-library/closure/goog/math/range_test.html +0 -103
- data/closure-library/closure/goog/math/rangeset.js +0 -368
- data/closure-library/closure/goog/math/rangeset_test.html +0 -619
- data/closure-library/closure/goog/math/rect.js +0 -340
- data/closure-library/closure/goog/math/rect_test.html +0 -315
- data/closure-library/closure/goog/math/size.js +0 -201
- data/closure-library/closure/goog/math/size_test.html +0 -174
- data/closure-library/closure/goog/math/vec2.js +0 -255
- data/closure-library/closure/goog/math/vec2_test.html +0 -203
- data/closure-library/closure/goog/math/vec3.js +0 -308
- data/closure-library/closure/goog/math/vec3_test.html +0 -231
- data/closure-library/closure/goog/memoize/memoize.js +0 -98
- data/closure-library/closure/goog/memoize/memoize_test.html +0 -157
- data/closure-library/closure/goog/messaging/abstractchannel.js +0 -209
- data/closure-library/closure/goog/messaging/abstractchannel_test.html +0 -90
- data/closure-library/closure/goog/messaging/bufferedchannel.js +0 -277
- data/closure-library/closure/goog/messaging/bufferedchannel_test.html +0 -205
- data/closure-library/closure/goog/messaging/deferredchannel.js +0 -79
- data/closure-library/closure/goog/messaging/deferredchannel_test.html +0 -107
- data/closure-library/closure/goog/messaging/loggerclient.js +0 -131
- data/closure-library/closure/goog/messaging/loggerclient_test.html +0 -102
- data/closure-library/closure/goog/messaging/loggerserver.js +0 -94
- data/closure-library/closure/goog/messaging/loggerserver_test.html +0 -101
- data/closure-library/closure/goog/messaging/messagechannel.js +0 -115
- data/closure-library/closure/goog/messaging/messaging.js +0 -34
- data/closure-library/closure/goog/messaging/messaging_test.html +0 -42
- data/closure-library/closure/goog/messaging/multichannel.js +0 -303
- data/closure-library/closure/goog/messaging/multichannel_test.html +0 -122
- data/closure-library/closure/goog/messaging/portcaller.js +0 -150
- data/closure-library/closure/goog/messaging/portcaller_test.html +0 -66
- data/closure-library/closure/goog/messaging/portchannel.js +0 -341
- data/closure-library/closure/goog/messaging/portchannel_test.html +0 -359
- data/closure-library/closure/goog/messaging/portnetwork.js +0 -78
- data/closure-library/closure/goog/messaging/portnetwork_test.html +0 -64
- data/closure-library/closure/goog/messaging/portoperator.js +0 -196
- data/closure-library/closure/goog/messaging/portoperator_test.html +0 -112
- data/closure-library/closure/goog/messaging/testdata/portchannel_inner.html +0 -28
- data/closure-library/closure/goog/messaging/testdata/portchannel_worker.js +0 -37
- data/closure-library/closure/goog/messaging/testdata/portnetwork_inner.html +0 -35
- data/closure-library/closure/goog/messaging/testdata/portnetwork_worker1.js +0 -33
- data/closure-library/closure/goog/messaging/testdata/portnetwork_worker2.js +0 -33
- data/closure-library/closure/goog/module/abstractmoduleloader.js +0 -46
- data/closure-library/closure/goog/module/basemodule.js +0 -45
- data/closure-library/closure/goog/module/basemoduleloader.js +0 -210
- data/closure-library/closure/goog/module/loader.js +0 -269
- data/closure-library/closure/goog/module/module.js +0 -166
- data/closure-library/closure/goog/module/moduleinfo.js +0 -336
- data/closure-library/closure/goog/module/moduleinfo_test.html +0 -109
- data/closure-library/closure/goog/module/moduleloadcallback.js +0 -84
- data/closure-library/closure/goog/module/moduleloadcallback_test.html +0 -57
- data/closure-library/closure/goog/module/moduleloader.js +0 -250
- data/closure-library/closure/goog/module/moduleloader_test.html +0 -244
- data/closure-library/closure/goog/module/modulemanager.js +0 -1008
- data/closure-library/closure/goog/module/modulemanager_test.html +0 -1240
- data/closure-library/closure/goog/module/testdata/modA_1.js +0 -22
- data/closure-library/closure/goog/module/testdata/modA_2.js +0 -24
- data/closure-library/closure/goog/module/testdata/modB_1.js +0 -24
- data/closure-library/closure/goog/net/browserchannel.js +0 -2441
- data/closure-library/closure/goog/net/browserchannel_test.html +0 -1176
- data/closure-library/closure/goog/net/browsertestchannel.js +0 -552
- data/closure-library/closure/goog/net/bulkloader.js +0 -174
- data/closure-library/closure/goog/net/bulkloader_test.html +0 -232
- data/closure-library/closure/goog/net/bulkloaderhelper.js +0 -129
- data/closure-library/closure/goog/net/channeldebug.js +0 -288
- data/closure-library/closure/goog/net/channelrequest.js +0 -1125
- data/closure-library/closure/goog/net/channelrequest_test.html +0 -158
- data/closure-library/closure/goog/net/cookies.js +0 -401
- data/closure-library/closure/goog/net/cookies_test.html +0 -255
- data/closure-library/closure/goog/net/crossdomainrpc.js +0 -848
- data/closure-library/closure/goog/net/crossdomainrpc_test.gif +0 -0
- data/closure-library/closure/goog/net/crossdomainrpc_test.html +0 -120
- data/closure-library/closure/goog/net/crossdomainrpc_test_response.html +0 -59
- data/closure-library/closure/goog/net/errorcode.js +0 -130
- data/closure-library/closure/goog/net/eventtype.js +0 -37
- data/closure-library/closure/goog/net/iframe_xhr_test.html +0 -142
- data/closure-library/closure/goog/net/iframe_xhr_test_response.html +0 -17
- data/closure-library/closure/goog/net/iframeio.js +0 -1342
- data/closure-library/closure/goog/net/iframeio_different_base_test.data +0 -2
- data/closure-library/closure/goog/net/iframeio_different_base_test.html +0 -42
- data/closure-library/closure/goog/net/iframeio_test.html +0 -368
- data/closure-library/closure/goog/net/iframeloadmonitor.js +0 -199
- data/closure-library/closure/goog/net/iframeloadmonitor_test.html +0 -113
- data/closure-library/closure/goog/net/iframeloadmonitor_test_frame.html +0 -12
- data/closure-library/closure/goog/net/iframeloadmonitor_test_frame2.html +0 -12
- data/closure-library/closure/goog/net/iframeloadmonitor_test_frame3.html +0 -12
- data/closure-library/closure/goog/net/imageloader.js +0 -237
- data/closure-library/closure/goog/net/imageloader_test.html +0 -200
- data/closure-library/closure/goog/net/imageloader_testimg1.gif +0 -0
- data/closure-library/closure/goog/net/imageloader_testimg2.gif +0 -0
- data/closure-library/closure/goog/net/imageloader_testimg3.gif +0 -0
- data/closure-library/closure/goog/net/jsonp.js +0 -379
- data/closure-library/closure/goog/net/jsonp_test.html +0 -328
- data/closure-library/closure/goog/net/mockiframeio.js +0 -318
- data/closure-library/closure/goog/net/mockxhrlite.js +0 -34
- data/closure-library/closure/goog/net/mockxhrlite_test.html +0 -109
- data/closure-library/closure/goog/net/multiiframeloadmonitor.js +0 -116
- data/closure-library/closure/goog/net/multiiframeloadmonitor_test.html +0 -172
- data/closure-library/closure/goog/net/networktester.js +0 -383
- data/closure-library/closure/goog/net/networktester_test.html +0 -227
- data/closure-library/closure/goog/net/tmpnetwork.js +0 -168
- data/closure-library/closure/goog/net/wrapperxmlhttpfactory.js +0 -68
- data/closure-library/closure/goog/net/xhrio.js +0 -1093
- data/closure-library/closure/goog/net/xhrio_test.html +0 -603
- data/closure-library/closure/goog/net/xhriopool.js +0 -87
- data/closure-library/closure/goog/net/xhrlite.js +0 -119
- data/closure-library/closure/goog/net/xhrlite_test.html +0 -156
- data/closure-library/closure/goog/net/xhrlitepool.js +0 -37
- data/closure-library/closure/goog/net/xhrmanager.js +0 -763
- data/closure-library/closure/goog/net/xhrmonitor.js +0 -254
- data/closure-library/closure/goog/net/xhrmonitor_test.html +0 -199
- data/closure-library/closure/goog/net/xmlhttp.js +0 -215
- data/closure-library/closure/goog/net/xmlhttpfactory.js +0 -64
- data/closure-library/closure/goog/net/xpc/crosspagechannel.js +0 -624
- data/closure-library/closure/goog/net/xpc/crosspagechannel_test.html +0 -422
- data/closure-library/closure/goog/net/xpc/frameelementmethodtransport.js +0 -251
- data/closure-library/closure/goog/net/xpc/iframepollingtransport.js +0 -822
- data/closure-library/closure/goog/net/xpc/iframerelaytransport.js +0 -288
- data/closure-library/closure/goog/net/xpc/nativemessagingtransport.js +0 -280
- data/closure-library/closure/goog/net/xpc/nativemessagingtransport_test.html +0 -164
- data/closure-library/closure/goog/net/xpc/nixtransport.js +0 -454
- data/closure-library/closure/goog/net/xpc/relay.js +0 -72
- data/closure-library/closure/goog/net/xpc/testdata/inner_peer.html +0 -106
- data/closure-library/closure/goog/net/xpc/transport.js +0 -104
- data/closure-library/closure/goog/net/xpc/xpc.js +0 -238
- data/closure-library/closure/goog/object/object.js +0 -553
- data/closure-library/closure/goog/object/object_test.html +0 -376
- data/closure-library/closure/goog/positioning/absoluteposition.js +0 -73
- data/closure-library/closure/goog/positioning/abstractposition.js +0 -47
- data/closure-library/closure/goog/positioning/anchoredposition.js +0 -78
- data/closure-library/closure/goog/positioning/anchoredviewportposition.js +0 -126
- data/closure-library/closure/goog/positioning/anchoredviewportposition_test.html +0 -117
- data/closure-library/closure/goog/positioning/anchoredviewportposition_test_iframe.html +0 -35
- data/closure-library/closure/goog/positioning/clientposition.js +0 -75
- data/closure-library/closure/goog/positioning/menuanchoredposition.js +0 -97
- data/closure-library/closure/goog/positioning/positioning.js +0 -476
- data/closure-library/closure/goog/positioning/positioning_test.html +0 -877
- data/closure-library/closure/goog/positioning/positioning_test_iframe1.html +0 -16
- data/closure-library/closure/goog/positioning/positioning_test_iframe2.html +0 -13
- data/closure-library/closure/goog/positioning/positioning_test_quirk.html +0 -9
- data/closure-library/closure/goog/positioning/positioning_test_standard.html +0 -13
- data/closure-library/closure/goog/positioning/viewportclientposition.js +0 -102
- data/closure-library/closure/goog/positioning/viewportclientposition_test.html +0 -172
- data/closure-library/closure/goog/positioning/viewportposition.js +0 -63
- data/closure-library/closure/goog/proto/proto.js +0 -43
- data/closure-library/closure/goog/proto/serializer.js +0 -68
- data/closure-library/closure/goog/proto/serializer_test.html +0 -43
- data/closure-library/closure/goog/proto2/descriptor.js +0 -198
- data/closure-library/closure/goog/proto2/descriptor_test.html +0 -60
- data/closure-library/closure/goog/proto2/fielddescriptor.js +0 -288
- data/closure-library/closure/goog/proto2/fielddescriptor_test.html +0 -124
- data/closure-library/closure/goog/proto2/lazydeserializer.js +0 -69
- data/closure-library/closure/goog/proto2/message.js +0 -726
- data/closure-library/closure/goog/proto2/message_test.html +0 -356
- data/closure-library/closure/goog/proto2/objectserializer.js +0 -159
- data/closure-library/closure/goog/proto2/objectserializer_test.html +0 -423
- data/closure-library/closure/goog/proto2/package_test.pb.js +0 -164
- data/closure-library/closure/goog/proto2/pbliteserializer.js +0 -150
- data/closure-library/closure/goog/proto2/pbliteserializer_test.html +0 -267
- data/closure-library/closure/goog/proto2/proto_test.html +0 -693
- data/closure-library/closure/goog/proto2/serializer.js +0 -148
- data/closure-library/closure/goog/proto2/test.pb.js +0 -2820
- data/closure-library/closure/goog/proto2/util.js +0 -54
- data/closure-library/closure/goog/pubsub/pubsub.js +0 -326
- data/closure-library/closure/goog/pubsub/pubsub_test.html +0 -635
- data/closure-library/closure/goog/reflect/reflect.js +0 -50
- data/closure-library/closure/goog/spell/spellcheck.js +0 -474
- data/closure-library/closure/goog/spell/spellcheck_test.html +0 -112
- data/closure-library/closure/goog/string/path.js +0 -100
- data/closure-library/closure/goog/string/path_test.html +0 -59
- data/closure-library/closure/goog/string/string.js +0 -1207
- data/closure-library/closure/goog/string/string_test.html +0 -877
- data/closure-library/closure/goog/string/stringbuffer.js +0 -167
- data/closure-library/closure/goog/string/stringbuffer_test.html +0 -101
- data/closure-library/closure/goog/string/stringformat.js +0 -247
- data/closure-library/closure/goog/string/stringformat_test.html +0 -211
- data/closure-library/closure/goog/structs/avltree.js +0 -769
- data/closure-library/closure/goog/structs/avltree_test.html +0 -241
- data/closure-library/closure/goog/structs/circularbuffer.js +0 -219
- data/closure-library/closure/goog/structs/circularbuffer_test.html +0 -105
- data/closure-library/closure/goog/structs/heap.js +0 -332
- data/closure-library/closure/goog/structs/heap_test.html +0 -220
- data/closure-library/closure/goog/structs/inversionmap.js +0 -159
- data/closure-library/closure/goog/structs/inversionmap_test.html +0 -157
- data/closure-library/closure/goog/structs/linkedmap.js +0 -472
- data/closure-library/closure/goog/structs/linkedmap_test.html +0 -300
- data/closure-library/closure/goog/structs/map.js +0 -446
- data/closure-library/closure/goog/structs/map_test.html +0 -430
- data/closure-library/closure/goog/structs/node.js +0 -74
- data/closure-library/closure/goog/structs/pool.js +0 -344
- data/closure-library/closure/goog/structs/pool_test.html +0 -265
- data/closure-library/closure/goog/structs/prioritypool.js +0 -147
- data/closure-library/closure/goog/structs/prioritypool_test.html +0 -478
- data/closure-library/closure/goog/structs/priorityqueue.js +0 -64
- data/closure-library/closure/goog/structs/priorityqueue_test.html +0 -179
- data/closure-library/closure/goog/structs/quadtree.js +0 -571
- data/closure-library/closure/goog/structs/quadtree_test.html +0 -179
- data/closure-library/closure/goog/structs/queue.js +0 -157
- data/closure-library/closure/goog/structs/queue_test.html +0 -140
- data/closure-library/closure/goog/structs/set.js +0 -251
- data/closure-library/closure/goog/structs/set_test.html +0 -551
- data/closure-library/closure/goog/structs/simplepool.js +0 -203
- data/closure-library/closure/goog/structs/stringset.js +0 -404
- data/closure-library/closure/goog/structs/stringset_test.html +0 -251
- data/closure-library/closure/goog/structs/structs.js +0 -341
- data/closure-library/closure/goog/structs/structs_test.html +0 -1050
- data/closure-library/closure/goog/structs/treenode.js +0 -312
- data/closure-library/closure/goog/structs/treenode_test.html +0 -285
- data/closure-library/closure/goog/structs/trie.js +0 -368
- data/closure-library/closure/goog/structs/trie_test.html +0 -378
- data/closure-library/closure/goog/style/cursor.js +0 -125
- data/closure-library/closure/goog/style/cursor_test.html +0 -131
- data/closure-library/closure/goog/style/style.js +0 -1804
- data/closure-library/closure/goog/style/style_quirks_test.html +0 -1928
- data/closure-library/closure/goog/style/style_test.html +0 -2073
- data/closure-library/closure/goog/style/style_test_iframe_quirk.html +0 -29
- data/closure-library/closure/goog/style/style_test_iframe_standard.html +0 -30
- data/closure-library/closure/goog/style/style_test_quirk.html +0 -9
- data/closure-library/closure/goog/style/style_test_standard.html +0 -11
- data/closure-library/closure/goog/testing/asserts.js +0 -970
- data/closure-library/closure/goog/testing/asserts_test.html +0 -966
- data/closure-library/closure/goog/testing/async/mockcontrol.js +0 -174
- data/closure-library/closure/goog/testing/async/mockcontrol_test.html +0 -224
- data/closure-library/closure/goog/testing/asynctestcase.js +0 -812
- data/closure-library/closure/goog/testing/asynctestcase_async_test.html +0 -102
- data/closure-library/closure/goog/testing/asynctestcase_noasync_test.html +0 -98
- data/closure-library/closure/goog/testing/benchmark.js +0 -87
- data/closure-library/closure/goog/testing/benchmarks/jsbinarysizebutton.js +0 -64
- data/closure-library/closure/goog/testing/benchmarks/jsbinarysizebutton_test.html +0 -58
- data/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar.js +0 -66
- data/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html +0 -49
- data/closure-library/closure/goog/testing/continuationtestcase.js +0 -682
- data/closure-library/closure/goog/testing/continuationtestcase_test.html +0 -349
- data/closure-library/closure/goog/testing/deferredtestcase.js +0 -157
- data/closure-library/closure/goog/testing/deferredtestcase_test.html +0 -152
- data/closure-library/closure/goog/testing/dom.js +0 -596
- data/closure-library/closure/goog/testing/dom_test.html +0 -438
- data/closure-library/closure/goog/testing/editor/dom.js +0 -293
- data/closure-library/closure/goog/testing/editor/dom_test.html +0 -295
- data/closure-library/closure/goog/testing/editor/fieldmock.js +0 -90
- data/closure-library/closure/goog/testing/editor/testhelper.js +0 -168
- data/closure-library/closure/goog/testing/editor/testhelper_test.html +0 -176
- data/closure-library/closure/goog/testing/events/eventobserver.js +0 -85
- data/closure-library/closure/goog/testing/events/eventobserver_test.html +0 -70
- data/closure-library/closure/goog/testing/events/events.js +0 -540
- data/closure-library/closure/goog/testing/events/events_test.html +0 -434
- data/closure-library/closure/goog/testing/events/matchers.js +0 -41
- data/closure-library/closure/goog/testing/events/matchers_test.html +0 -40
- data/closure-library/closure/goog/testing/expectedfailures.js +0 -236
- data/closure-library/closure/goog/testing/expectedfailures_test.html +0 -122
- data/closure-library/closure/goog/testing/fs/blob.js +0 -74
- data/closure-library/closure/goog/testing/fs/blob_test.html +0 -53
- data/closure-library/closure/goog/testing/fs/directoryentry_test.html +0 -185
- data/closure-library/closure/goog/testing/fs/entry.js +0 -511
- data/closure-library/closure/goog/testing/fs/entry_test.html +0 -153
- data/closure-library/closure/goog/testing/fs/file.js +0 -51
- data/closure-library/closure/goog/testing/fs/fileentry_test.html +0 -54
- data/closure-library/closure/goog/testing/fs/filesystem.js +0 -64
- data/closure-library/closure/goog/testing/fs/filewriter.js +0 -314
- data/closure-library/closure/goog/testing/fs/filewriter_test.html +0 -248
- data/closure-library/closure/goog/testing/fs/fs.js +0 -146
- data/closure-library/closure/goog/testing/fs/fs_test.html +0 -54
- data/closure-library/closure/goog/testing/fs/integration_test.html +0 -219
- data/closure-library/closure/goog/testing/functionmock.js +0 -157
- data/closure-library/closure/goog/testing/functionmock_test.html +0 -357
- data/closure-library/closure/goog/testing/graphics.js +0 -64
- data/closure-library/closure/goog/testing/jsunit.js +0 -144
- data/closure-library/closure/goog/testing/loosemock.js +0 -240
- data/closure-library/closure/goog/testing/loosemock_test.html +0 -343
- data/closure-library/closure/goog/testing/messaging/mockmessagechannel.js +0 -77
- data/closure-library/closure/goog/testing/messaging/mockmessageevent.js +0 -100
- data/closure-library/closure/goog/testing/messaging/mockmessageport.js +0 -85
- data/closure-library/closure/goog/testing/messaging/mockportnetwork.js +0 -64
- data/closure-library/closure/goog/testing/mock.js +0 -556
- data/closure-library/closure/goog/testing/mock_test.html +0 -208
- data/closure-library/closure/goog/testing/mockclassfactory.js +0 -580
- data/closure-library/closure/goog/testing/mockclassfactory_test.html +0 -241
- data/closure-library/closure/goog/testing/mockclock.js +0 -395
- data/closure-library/closure/goog/testing/mockclock_test.html +0 -413
- data/closure-library/closure/goog/testing/mockcontrol.js +0 -210
- data/closure-library/closure/goog/testing/mockcontrol_test.html +0 -127
- data/closure-library/closure/goog/testing/mockinterface.js +0 -45
- data/closure-library/closure/goog/testing/mockmatchers.js +0 -395
- data/closure-library/closure/goog/testing/mockmatchers_test.html +0 -388
- data/closure-library/closure/goog/testing/mockrandom.js +0 -128
- data/closure-library/closure/goog/testing/mockrandom_test.html +0 -56
- data/closure-library/closure/goog/testing/mockrange.js +0 -65
- data/closure-library/closure/goog/testing/mockrange_test.html +0 -41
- data/closure-library/closure/goog/testing/mockuseragent.js +0 -143
- data/closure-library/closure/goog/testing/mockuseragent_test.html +0 -59
- data/closure-library/closure/goog/testing/multitestrunner.js +0 -1442
- data/closure-library/closure/goog/testing/net/xhrio.js +0 -595
- data/closure-library/closure/goog/testing/net/xhrio_test.html +0 -321
- data/closure-library/closure/goog/testing/objectpropertystring.js +0 -67
- data/closure-library/closure/goog/testing/performancetable.css +0 -46
- data/closure-library/closure/goog/testing/performancetable.js +0 -162
- data/closure-library/closure/goog/testing/performancetimer.js +0 -166
- data/closure-library/closure/goog/testing/performancetimer_test.html +0 -107
- data/closure-library/closure/goog/testing/propertyreplacer.js +0 -243
- data/closure-library/closure/goog/testing/propertyreplacer_test.html +0 -368
- data/closure-library/closure/goog/testing/pseudorandom.js +0 -162
- data/closure-library/closure/goog/testing/pseudorandom_test.html +0 -98
- data/closure-library/closure/goog/testing/recordfunction.js +0 -194
- data/closure-library/closure/goog/testing/recordfunction_test.html +0 -147
- data/closure-library/closure/goog/testing/singleton.js +0 -82
- data/closure-library/closure/goog/testing/singleton_test.html +0 -39
- data/closure-library/closure/goog/testing/stacktrace.js +0 -470
- data/closure-library/closure/goog/testing/stacktrace_test.html +0 -229
- data/closure-library/closure/goog/testing/strictmock.js +0 -124
- data/closure-library/closure/goog/testing/strictmock_test.html +0 -368
- data/closure-library/closure/goog/testing/style/layoutasserts.js +0 -368
- data/closure-library/closure/goog/testing/style/layoutasserts_test.html +0 -269
- data/closure-library/closure/goog/testing/testcase.js +0 -1053
- data/closure-library/closure/goog/testing/testqueue.js +0 -66
- data/closure-library/closure/goog/testing/testrunner.js +0 -391
- data/closure-library/closure/goog/testing/ui/rendererasserts.js +0 -50
- data/closure-library/closure/goog/testing/ui/rendererasserts_test.html +0 -51
- data/closure-library/closure/goog/testing/ui/rendererharness.js +0 -175
- data/closure-library/closure/goog/testing/ui/style.js +0 -137
- data/closure-library/closure/goog/testing/ui/style_reference.html +0 -27
- data/closure-library/closure/goog/testing/ui/style_test.html +0 -130
- data/closure-library/closure/goog/timer/timer.js +0 -285
- data/closure-library/closure/goog/timer/timer_test.html +0 -118
- data/closure-library/closure/goog/tweak/entries.js +0 -990
- data/closure-library/closure/goog/tweak/entries_test.html +0 -94
- data/closure-library/closure/goog/tweak/registry.js +0 -310
- data/closure-library/closure/goog/tweak/registry_test.html +0 -144
- data/closure-library/closure/goog/tweak/testhelpers.js +0 -111
- data/closure-library/closure/goog/tweak/tweak.js +0 -318
- data/closure-library/closure/goog/tweak/tweakui.js +0 -817
- data/closure-library/closure/goog/tweak/tweakui_test.html +0 -280
- data/closure-library/closure/goog/ui/abstractspellchecker.js +0 -1069
- data/closure-library/closure/goog/ui/activitymonitor.js +0 -286
- data/closure-library/closure/goog/ui/activitymonitor_test.html +0 -44
- data/closure-library/closure/goog/ui/advancedtooltip.js +0 -368
- data/closure-library/closure/goog/ui/advancedtooltip_test.html +0 -274
- data/closure-library/closure/goog/ui/animatedzippy.js +0 -190
- data/closure-library/closure/goog/ui/attachablemenu.js +0 -464
- data/closure-library/closure/goog/ui/autocomplete/arraymatcher.js +0 -156
- data/closure-library/closure/goog/ui/autocomplete/arraymatcher_test.html +0 -130
- data/closure-library/closure/goog/ui/autocomplete/autocomplete.js +0 -627
- data/closure-library/closure/goog/ui/autocomplete/autocomplete_test.html +0 -537
- data/closure-library/closure/goog/ui/autocomplete/basic.js +0 -53
- data/closure-library/closure/goog/ui/autocomplete/basic_test.html +0 -204
- data/closure-library/closure/goog/ui/autocomplete/inputhandler.js +0 -1209
- data/closure-library/closure/goog/ui/autocomplete/inputhandler_test.html +0 -555
- data/closure-library/closure/goog/ui/autocomplete/remote.js +0 -117
- data/closure-library/closure/goog/ui/autocomplete/remotearraymatcher.js +0 -273
- data/closure-library/closure/goog/ui/autocomplete/remotearraymatcher_test.html +0 -73
- data/closure-library/closure/goog/ui/autocomplete/renderer.js +0 -852
- data/closure-library/closure/goog/ui/autocomplete/renderer_test.html +0 -386
- data/closure-library/closure/goog/ui/autocomplete/richinputhandler.js +0 -59
- data/closure-library/closure/goog/ui/autocomplete/richremote.js +0 -108
- data/closure-library/closure/goog/ui/autocomplete/richremotearraymatcher.js +0 -126
- data/closure-library/closure/goog/ui/basicmenu.js +0 -930
- data/closure-library/closure/goog/ui/bidiinput.js +0 -164
- data/closure-library/closure/goog/ui/bubble.js +0 -475
- data/closure-library/closure/goog/ui/button.js +0 -208
- data/closure-library/closure/goog/ui/button_test.html +0 -257
- data/closure-library/closure/goog/ui/buttonrenderer.js +0 -205
- data/closure-library/closure/goog/ui/buttonrenderer_test.html +0 -190
- data/closure-library/closure/goog/ui/buttonside.js +0 -40
- data/closure-library/closure/goog/ui/cccbutton.js +0 -281
- data/closure-library/closure/goog/ui/charcounter.js +0 -200
- data/closure-library/closure/goog/ui/charpicker.js +0 -807
- data/closure-library/closure/goog/ui/checkbox.js +0 -303
- data/closure-library/closure/goog/ui/checkbox_test.html +0 -224
- data/closure-library/closure/goog/ui/checkboxmenuitem.js +0 -53
- data/closure-library/closure/goog/ui/colorbutton.js +0 -58
- data/closure-library/closure/goog/ui/colorbutton_test.html +0 -70
- data/closure-library/closure/goog/ui/colorbuttonrenderer.js +0 -72
- data/closure-library/closure/goog/ui/colormenubutton.js +0 -213
- data/closure-library/closure/goog/ui/colormenubuttonrenderer.js +0 -144
- data/closure-library/closure/goog/ui/colormenubuttonrenderer_test.html +0 -88
- data/closure-library/closure/goog/ui/colorpalette.js +0 -162
- data/closure-library/closure/goog/ui/colorpalette_test.html +0 -169
- data/closure-library/closure/goog/ui/colorpicker.js +0 -344
- data/closure-library/closure/goog/ui/colorsplitbehavior.js +0 -61
- data/closure-library/closure/goog/ui/combobox.js +0 -894
- data/closure-library/closure/goog/ui/combobox_test.html +0 -208
- data/closure-library/closure/goog/ui/component.js +0 -1187
- data/closure-library/closure/goog/ui/component_test.html +0 -723
- data/closure-library/closure/goog/ui/container.js +0 -1296
- data/closure-library/closure/goog/ui/container_test.html +0 -450
- data/closure-library/closure/goog/ui/containerrenderer.js +0 -370
- data/closure-library/closure/goog/ui/containerrenderer_test.html +0 -227
- data/closure-library/closure/goog/ui/containerscroller.js +0 -221
- data/closure-library/closure/goog/ui/containerscroller_test.html +0 -213
- data/closure-library/closure/goog/ui/control.js +0 -1348
- data/closure-library/closure/goog/ui/control_test.html +0 -2128
- data/closure-library/closure/goog/ui/controlcontent.js +0 -28
- data/closure-library/closure/goog/ui/controlrenderer.js +0 -808
- data/closure-library/closure/goog/ui/controlrenderer_test.html +0 -840
- data/closure-library/closure/goog/ui/cookieeditor.js +0 -182
- data/closure-library/closure/goog/ui/cookieeditor_test.html +0 -102
- data/closure-library/closure/goog/ui/css3buttonrenderer.js +0 -147
- data/closure-library/closure/goog/ui/css3menubuttonrenderer.js +0 -144
- data/closure-library/closure/goog/ui/cssnames.js +0 -28
- data/closure-library/closure/goog/ui/custombutton.js +0 -58
- data/closure-library/closure/goog/ui/custombuttonrenderer.js +0 -254
- data/closure-library/closure/goog/ui/customcolorpalette.js +0 -137
- data/closure-library/closure/goog/ui/customcolorpalette_test.html +0 -60
- data/closure-library/closure/goog/ui/datepicker.js +0 -1339
- data/closure-library/closure/goog/ui/datepicker_test.html +0 -190
- data/closure-library/closure/goog/ui/decorate.js +0 -37
- data/closure-library/closure/goog/ui/decorate_test.html +0 -113
- data/closure-library/closure/goog/ui/deprecatedbutton.js +0 -381
- data/closure-library/closure/goog/ui/dialog.js +0 -1776
- data/closure-library/closure/goog/ui/dialog_test.html +0 -493
- data/closure-library/closure/goog/ui/dimensionpicker.js +0 -289
- data/closure-library/closure/goog/ui/dimensionpicker_test.html +0 -128
- data/closure-library/closure/goog/ui/dimensionpickerrenderer.js +0 -387
- data/closure-library/closure/goog/ui/dragdropdetector.js +0 -642
- data/closure-library/closure/goog/ui/drilldownrow.js +0 -494
- data/closure-library/closure/goog/ui/editor/abstractdialog.js +0 -443
- data/closure-library/closure/goog/ui/editor/abstractdialog_test.html +0 -467
- data/closure-library/closure/goog/ui/editor/bubble.js +0 -520
- data/closure-library/closure/goog/ui/editor/bubble_test.html +0 -264
- data/closure-library/closure/goog/ui/editor/defaulttoolbar.js +0 -1062
- data/closure-library/closure/goog/ui/editor/linkdialog.js +0 -833
- data/closure-library/closure/goog/ui/editor/linkdialog_test.html +0 -449
- data/closure-library/closure/goog/ui/editor/messages.js +0 -115
- data/closure-library/closure/goog/ui/editor/tabpane.js +0 -183
- data/closure-library/closure/goog/ui/editor/toolbarcontroller.js +0 -293
- data/closure-library/closure/goog/ui/editor/toolbarfactory.js +0 -437
- data/closure-library/closure/goog/ui/editor/toolbarfactory_test.html +0 -73
- data/closure-library/closure/goog/ui/emoji/emoji.js +0 -72
- data/closure-library/closure/goog/ui/emoji/emojipalette.js +0 -298
- data/closure-library/closure/goog/ui/emoji/emojipaletterenderer.js +0 -206
- data/closure-library/closure/goog/ui/emoji/emojipicker.js +0 -797
- data/closure-library/closure/goog/ui/emoji/emojipicker_test.html +0 -840
- data/closure-library/closure/goog/ui/emoji/fast_nonprogressive_emojipicker_test.html +0 -256
- data/closure-library/closure/goog/ui/emoji/fast_progressive_emojipicker_test.html +0 -256
- data/closure-library/closure/goog/ui/emoji/popupemojipicker.js +0 -410
- data/closure-library/closure/goog/ui/emoji/popupemojipicker_test.html +0 -80
- data/closure-library/closure/goog/ui/emoji/progressiveemojipaletterenderer.js +0 -97
- data/closure-library/closure/goog/ui/emoji/spriteinfo.js +0 -212
- data/closure-library/closure/goog/ui/emoji/spriteinfo_test.html +0 -51
- data/closure-library/closure/goog/ui/filteredmenu.js +0 -562
- data/closure-library/closure/goog/ui/filteredmenu_test.html +0 -299
- data/closure-library/closure/goog/ui/filterobservingmenuitem.js +0 -97
- data/closure-library/closure/goog/ui/filterobservingmenuitemrenderer.js +0 -60
- data/closure-library/closure/goog/ui/flatbuttonrenderer.js +0 -138
- data/closure-library/closure/goog/ui/flatmenubuttonrenderer.js +0 -199
- data/closure-library/closure/goog/ui/formpost.js +0 -109
- data/closure-library/closure/goog/ui/formpost_test.html +0 -109
- data/closure-library/closure/goog/ui/gauge.js +0 -999
- data/closure-library/closure/goog/ui/gaugetheme.js +0 -169
- data/closure-library/closure/goog/ui/hovercard.js +0 -447
- data/closure-library/closure/goog/ui/hovercard_test.html +0 -343
- data/closure-library/closure/goog/ui/hsvapalette.js +0 -311
- data/closure-library/closure/goog/ui/hsvapalette_test.html +0 -152
- data/closure-library/closure/goog/ui/hsvpalette.js +0 -470
- data/closure-library/closure/goog/ui/hsvpalette_test.html +0 -202
- data/closure-library/closure/goog/ui/idgenerator.js +0 -57
- data/closure-library/closure/goog/ui/idletimer.js +0 -299
- data/closure-library/closure/goog/ui/idletimer_test.html +0 -100
- data/closure-library/closure/goog/ui/iframemask.js +0 -256
- data/closure-library/closure/goog/ui/iframemask_test.html +0 -230
- data/closure-library/closure/goog/ui/imagelessbuttonrenderer.js +0 -204
- data/closure-library/closure/goog/ui/imagelessmenubuttonrenderer.js +0 -202
- data/closure-library/closure/goog/ui/imagelessroundedcorner.js +0 -971
- data/closure-library/closure/goog/ui/inputdatepicker.js +0 -306
- data/closure-library/closure/goog/ui/inputdatepicker_test.html +0 -109
- data/closure-library/closure/goog/ui/itemevent.js +0 -50
- data/closure-library/closure/goog/ui/keyboardshortcuthandler.js +0 -981
- data/closure-library/closure/goog/ui/keyboardshortcuthandler_test.html +0 -671
- data/closure-library/closure/goog/ui/labelinput.js +0 -439
- data/closure-library/closure/goog/ui/linkbuttonrenderer.js +0 -67
- data/closure-library/closure/goog/ui/media/flashobject.js +0 -629
- data/closure-library/closure/goog/ui/media/flashobject_test.html +0 -236
- data/closure-library/closure/goog/ui/media/flickr.js +0 -309
- data/closure-library/closure/goog/ui/media/flickr_test.html +0 -90
- data/closure-library/closure/goog/ui/media/media.js +0 -284
- data/closure-library/closure/goog/ui/media/media_test.html +0 -161
- data/closure-library/closure/goog/ui/media/mediamodel.js +0 -840
- data/closure-library/closure/goog/ui/media/mp3.js +0 -225
- data/closure-library/closure/goog/ui/media/mp3_test.html +0 -78
- data/closure-library/closure/goog/ui/media/photo.js +0 -139
- data/closure-library/closure/goog/ui/media/photo_test.html +0 -62
- data/closure-library/closure/goog/ui/media/picasa.js +0 -317
- data/closure-library/closure/goog/ui/media/picasa_test.html +0 -131
- data/closure-library/closure/goog/ui/media/vimeo.js +0 -264
- data/closure-library/closure/goog/ui/media/vimeo_test.html +0 -79
- data/closure-library/closure/goog/ui/media/youtube.js +0 -328
- data/closure-library/closure/goog/ui/media/youtube_test.html +0 -185
- data/closure-library/closure/goog/ui/menu.js +0 -435
- data/closure-library/closure/goog/ui/menu_test.html +0 -129
- data/closure-library/closure/goog/ui/menubase.js +0 -191
- data/closure-library/closure/goog/ui/menubutton.js +0 -815
- data/closure-library/closure/goog/ui/menubutton_test.html +0 -440
- data/closure-library/closure/goog/ui/menubutton_test_frame.html +0 -41
- data/closure-library/closure/goog/ui/menubuttonrenderer.js +0 -226
- data/closure-library/closure/goog/ui/menubuttonrenderer_test.html +0 -161
- data/closure-library/closure/goog/ui/menuheader.js +0 -62
- data/closure-library/closure/goog/ui/menuheaderrenderer.js +0 -55
- data/closure-library/closure/goog/ui/menuitem.js +0 -154
- data/closure-library/closure/goog/ui/menuitem_test.html +0 -506
- data/closure-library/closure/goog/ui/menuitemrenderer.js +0 -353
- data/closure-library/closure/goog/ui/menuitemrenderer_test.html +0 -190
- data/closure-library/closure/goog/ui/menurenderer.js +0 -118
- data/closure-library/closure/goog/ui/menuseparator.js +0 -51
- data/closure-library/closure/goog/ui/menuseparatorrenderer.js +0 -102
- data/closure-library/closure/goog/ui/mockactivitymonitor.js +0 -54
- data/closure-library/closure/goog/ui/nativebuttonrenderer.js +0 -205
- data/closure-library/closure/goog/ui/nativebuttonrenderer_test.html +0 -213
- data/closure-library/closure/goog/ui/offlineinstalldialog.js +0 -1086
- data/closure-library/closure/goog/ui/offlinestatuscard.js +0 -580
- data/closure-library/closure/goog/ui/offlinestatuscomponent.js +0 -545
- data/closure-library/closure/goog/ui/option.js +0 -67
- data/closure-library/closure/goog/ui/palette.js +0 -528
- data/closure-library/closure/goog/ui/paletterenderer.js +0 -318
- data/closure-library/closure/goog/ui/plaintextspellchecker.js +0 -668
- data/closure-library/closure/goog/ui/plaintextspellchecker_test.html +0 -240
- data/closure-library/closure/goog/ui/popup.js +0 -410
- data/closure-library/closure/goog/ui/popup_test.html +0 -137
- data/closure-library/closure/goog/ui/popupbase.js +0 -721
- data/closure-library/closure/goog/ui/popupbase_test.html +0 -186
- data/closure-library/closure/goog/ui/popupcolorpicker.js +0 -441
- data/closure-library/closure/goog/ui/popupcolorpicker_test.html +0 -71
- data/closure-library/closure/goog/ui/popupdatepicker.js +0 -273
- data/closure-library/closure/goog/ui/popupmenu.js +0 -539
- data/closure-library/closure/goog/ui/popupmenu_test.html +0 -197
- data/closure-library/closure/goog/ui/progressbar.js +0 -390
- data/closure-library/closure/goog/ui/prompt.js +0 -307
- data/closure-library/closure/goog/ui/prompt_test.html +0 -65
- data/closure-library/closure/goog/ui/rangemodel.js +0 -301
- data/closure-library/closure/goog/ui/rangemodel_test.html +0 -270
- data/closure-library/closure/goog/ui/ratings.js +0 -441
- data/closure-library/closure/goog/ui/registry.js +0 -166
- data/closure-library/closure/goog/ui/registry_test.html +0 -236
- data/closure-library/closure/goog/ui/richtextspellchecker.js +0 -600
- data/closure-library/closure/goog/ui/richtextspellchecker_test.html +0 -224
- data/closure-library/closure/goog/ui/roundedcorners.js +0 -694
- data/closure-library/closure/goog/ui/roundedpanel.js +0 -609
- data/closure-library/closure/goog/ui/roundedpanel_test.html +0 -57
- data/closure-library/closure/goog/ui/roundedtabrenderer.js +0 -196
- data/closure-library/closure/goog/ui/scrollfloater.js +0 -394
- data/closure-library/closure/goog/ui/scrollfloater_test.html +0 -46
- data/closure-library/closure/goog/ui/select.js +0 -397
- data/closure-library/closure/goog/ui/select_test.html +0 -152
- data/closure-library/closure/goog/ui/selectionmenubutton.js +0 -277
- data/closure-library/closure/goog/ui/selectionmenubutton_test.html +0 -237
- data/closure-library/closure/goog/ui/selectionmodel.js +0 -291
- data/closure-library/closure/goog/ui/separator.js +0 -74
- data/closure-library/closure/goog/ui/serverchart.js +0 -1791
- data/closure-library/closure/goog/ui/serverchart_test.html +0 -598
- data/closure-library/closure/goog/ui/slider.js +0 -125
- data/closure-library/closure/goog/ui/sliderbase.js +0 -1087
- data/closure-library/closure/goog/ui/sliderbase_test.html +0 -198
- data/closure-library/closure/goog/ui/splitbehavior.js +0 -348
- data/closure-library/closure/goog/ui/splitbehavior_test.html +0 -161
- data/closure-library/closure/goog/ui/splitpane.js +0 -844
- data/closure-library/closure/goog/ui/splitpane_test.html +0 -143
- data/closure-library/closure/goog/ui/style/app/buttonrenderer.js +0 -204
- data/closure-library/closure/goog/ui/style/app/buttonrenderer_test.html +0 -155
- data/closure-library/closure/goog/ui/style/app/menubuttonrenderer.js +0 -227
- data/closure-library/closure/goog/ui/style/app/menubuttonrenderer_test.html +0 -167
- data/closure-library/closure/goog/ui/style/app/primaryactionbuttonrenderer.js +0 -88
- data/closure-library/closure/goog/ui/style/app/primaryactionbuttonrenderer_test.html +0 -76
- data/closure-library/closure/goog/ui/submenu.js +0 -660
- data/closure-library/closure/goog/ui/submenu_test.html +0 -446
- data/closure-library/closure/goog/ui/submenurenderer.js +0 -188
- data/closure-library/closure/goog/ui/tab.js +0 -102
- data/closure-library/closure/goog/ui/tab_test.html +0 -61
- data/closure-library/closure/goog/ui/tabbar.js +0 -393
- data/closure-library/closure/goog/ui/tabbar_test.html +0 -611
- data/closure-library/closure/goog/ui/tabbarrenderer.js +0 -173
- data/closure-library/closure/goog/ui/tabbarrenderer_test.html +0 -137
- data/closure-library/closure/goog/ui/tablesorter.js +0 -304
- data/closure-library/closure/goog/ui/tablesorter_test.html +0 -127
- data/closure-library/closure/goog/ui/tabpane.js +0 -674
- data/closure-library/closure/goog/ui/tabpane_test.html +0 -107
- data/closure-library/closure/goog/ui/tabrenderer.js +0 -152
- data/closure-library/closure/goog/ui/tabrenderer_test.html +0 -132
- data/closure-library/closure/goog/ui/textarea.js +0 -573
- data/closure-library/closure/goog/ui/textarea_test.html +0 -305
- data/closure-library/closure/goog/ui/textarearenderer.js +0 -167
- data/closure-library/closure/goog/ui/togglebutton.js +0 -58
- data/closure-library/closure/goog/ui/toolbar.js +0 -45
- data/closure-library/closure/goog/ui/toolbarbutton.js +0 -54
- data/closure-library/closure/goog/ui/toolbarbuttonrenderer.js +0 -55
- data/closure-library/closure/goog/ui/toolbarcolormenubutton.js +0 -57
- data/closure-library/closure/goog/ui/toolbarcolormenubuttonrenderer.js +0 -95
- data/closure-library/closure/goog/ui/toolbarcolormenubuttonrenderer_test.html +0 -66
- data/closure-library/closure/goog/ui/toolbarmenubutton.js +0 -56
- data/closure-library/closure/goog/ui/toolbarmenubuttonrenderer.js +0 -55
- data/closure-library/closure/goog/ui/toolbarrenderer.js +0 -95
- data/closure-library/closure/goog/ui/toolbarselect.js +0 -55
- data/closure-library/closure/goog/ui/toolbarseparator.js +0 -51
- data/closure-library/closure/goog/ui/toolbarseparatorrenderer.js +0 -87
- data/closure-library/closure/goog/ui/toolbartogglebutton.js +0 -53
- data/closure-library/closure/goog/ui/tooltip.js +0 -975
- data/closure-library/closure/goog/ui/tooltip_test.html +0 -351
- data/closure-library/closure/goog/ui/tree/basenode.js +0 -1457
- data/closure-library/closure/goog/ui/tree/basenode_test.html +0 -218
- data/closure-library/closure/goog/ui/tree/treecontrol.js +0 -656
- data/closure-library/closure/goog/ui/tree/treecontrol_test.html +0 -113
- data/closure-library/closure/goog/ui/tree/treenode.js +0 -102
- data/closure-library/closure/goog/ui/tree/typeahead.js +0 -332
- data/closure-library/closure/goog/ui/tree/typeahead_test.html +0 -133
- data/closure-library/closure/goog/ui/tristatemenuitem.js +0 -185
- data/closure-library/closure/goog/ui/tristatemenuitemrenderer.js +0 -86
- data/closure-library/closure/goog/ui/twothumbslider.js +0 -134
- data/closure-library/closure/goog/ui/zippy.js +0 -277
- data/closure-library/closure/goog/ui/zippy_test.html +0 -223
- data/closure-library/closure/goog/uri/uri.js +0 -1595
- data/closure-library/closure/goog/uri/uri_test.html +0 -837
- data/closure-library/closure/goog/uri/utils.js +0 -972
- data/closure-library/closure/goog/uri/utils_test.html +0 -521
- data/closure-library/closure/goog/useragent/adobereader.js +0 -90
- data/closure-library/closure/goog/useragent/adobereader_test.html +0 -34
- data/closure-library/closure/goog/useragent/flash.js +0 -113
- data/closure-library/closure/goog/useragent/flash_test.html +0 -34
- data/closure-library/closure/goog/useragent/iphoto.js +0 -86
- data/closure-library/closure/goog/useragent/jscript.js +0 -94
- data/closure-library/closure/goog/useragent/jscript_test.html +0 -65
- data/closure-library/closure/goog/useragent/picasa.js +0 -111
- data/closure-library/closure/goog/useragent/platform.js +0 -70
- data/closure-library/closure/goog/useragent/platform_test.html +0 -108
- data/closure-library/closure/goog/useragent/product.js +0 -253
- data/closure-library/closure/goog/useragent/product_isversion.js +0 -99
- data/closure-library/closure/goog/useragent/product_test.html +0 -322
- data/closure-library/closure/goog/useragent/useragent.js +0 -464
- data/closure-library/closure/goog/useragent/useragent_test.html +0 -290
- data/closure-library/closure/goog/window/window.js +0 -206
- data/closure-library/closure/goog/window/window_test.html +0 -185
- data/closure-library/third_party/closure/goog/base.js +0 -2
- data/closure-library/third_party/closure/goog/caja/string/html/htmlparser.js +0 -611
- data/closure-library/third_party/closure/goog/caja/string/html/htmlsanitizer.js +0 -605
- data/closure-library/third_party/closure/goog/deps.js +0 -26
- data/closure-library/third_party/closure/goog/dojo/dom/query.js +0 -1537
- data/closure-library/third_party/closure/goog/dojo/dom/query_test.html +0 -63
- data/closure-library/third_party/closure/goog/dojo/dom/query_test.js +0 -160
- data/closure-library/third_party/closure/goog/jpeg_encoder/jpeg_encoder_basic.js +0 -751
- data/closure-library/third_party/closure/goog/loremipsum/text/loremipsum.js +0 -712
- data/closure-library/third_party/closure/goog/loremipsum/text/loremipsum_test.html +0 -61
- data/closure-library/third_party/closure/goog/mochikit/async/deferred.js +0 -530
- data/closure-library/third_party/closure/goog/mochikit/async/deferred_test.html +0 -627
- data/closure-library/third_party/closure/goog/mochikit/async/deferredlist.js +0 -199
- data/closure-library/third_party/closure/goog/mochikit/async/deferredlist_test.html +0 -426
- data/closure-library/third_party/closure/goog/osapi/osapi.js +0 -91
- data/closure-library/third_party/closure/goog/silverlight/AppManifest.xml +0 -6
- data/closure-library/third_party/closure/goog/silverlight/AssemblyInfo.cs +0 -35
- data/closure-library/third_party/closure/goog/silverlight/ClipboardButton.xaml +0 -9
- data/closure-library/third_party/closure/goog/silverlight/ClipboardButton.xaml.cs +0 -74
- data/closure-library/third_party/closure/goog/silverlight/ClipboardButtonApp.xaml +0 -8
- data/closure-library/third_party/closure/goog/silverlight/ClipboardButtonApp.xaml.cs +0 -75
- data/closure-library/third_party/closure/goog/silverlight/ClosureClipboardButton.csproj +0 -108
- data/closure-library/third_party/closure/goog/silverlight/ClosureClipboardButton.csproj.user +0 -29
- data/closure-library/third_party/closure/goog/silverlight/clipboardbutton.js +0 -279
- data/closure-library/third_party/closure/goog/silverlight/silverlight.js +0 -758
- data/closure-library/third_party/closure/goog/silverlight/supporteduseragent.js +0 -138
- data/closure-library/third_party/closure/goog/silverlight/xap_files +0 -0
- data/closure.gemspec +0 -19
- data/config.ru +0 -40
- data/java_src/ClosureScript.java +0 -89
- data/java_src/make.rb +0 -19
- data/lib/closure/sass.rb +0 -56
- data/lib/closure.jar +0 -0
- data/scripts/demos/compiler.build +0 -1
- data/scripts/demos/compiler.debug +0 -24
- data/scripts/demos/compiler.js.erb +0 -22
- data/scripts/demos/compiler.map +0 -114
- data/scripts/demos/deps.js.erb +0 -1
- data/scripts/demos/googly.erb +0 -19
- data/scripts/demos/googly.js +0 -24
- data/scripts/demos/helloworld.erb +0 -24
- data/scripts/demos/helloworld.js +0 -58
- data/scripts/demos/helloworld.soy +0 -45
- data/scripts/demos/index.erb +0 -29
- data/scripts/externs/jquery.externs +0 -4
- data/scripts/fixtures/_partial.haml +0 -2
- data/scripts/fixtures/erb.html.erb +0 -8
- data/scripts/fixtures/haml.haml +0 -6
- data/scripts/fixtures/html.html +0 -9
- data/scripts/fixtures/route_js.js.erb +0 -1
- data/test/beanshell_test.rb +0 -22
- data/test/server_test.rb +0 -67
- data/test/sources_test.rb +0 -41
- data/test/test_helper.rb +0 -12
- /data/{scripts/externs → externs}/jquery-ui.externs +0 -0
- /data/scripts/{demos/jquery.js → jquery/jquery_1.4.4.js} +0 -0
@@ -1,1209 +0,0 @@
|
|
1
|
-
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS-IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
/**
|
16
|
-
* @fileoverview Class for managing the interactions between an
|
17
|
-
* auto-complete object and a text-input or textarea.
|
18
|
-
*
|
19
|
-
* IME note:
|
20
|
-
*
|
21
|
-
* We used to suspend autocomplete while there are IME preedit characters, but
|
22
|
-
* now for parity with Search we do not. We still detect the beginning and end
|
23
|
-
* of IME entry because we need to listen to more events while an IME commit is
|
24
|
-
* happening, but we update continuously as the user types.
|
25
|
-
*
|
26
|
-
* IMEs vary across operating systems, browsers, and even input languages. This
|
27
|
-
* class tries to handle IME for:
|
28
|
-
* - Windows x {FF3, IE7, Chrome} x MS IME 2002 (Japanese)
|
29
|
-
* - Mac x {FF3, Safari3} x Kotoeri (Japanese)
|
30
|
-
* - Linux x {FF3} x UIM + Anthy (Japanese)
|
31
|
-
*
|
32
|
-
* TODO(user): We cannot handle {Mac, Linux} x FF3 correctly.
|
33
|
-
* TODO(user): We need to support Windows x Google IME.
|
34
|
-
*
|
35
|
-
* This class was tested with hiragana input. The event sequence when inputting
|
36
|
-
* 'ai<enter>' with IME on (which commits two characters) is as follows:
|
37
|
-
*
|
38
|
-
* Notation: [key down code, key press, key up code]
|
39
|
-
* key code or +: event fired
|
40
|
-
* -: event not fired
|
41
|
-
*
|
42
|
-
* - Win/FF3: [WIN_IME, +, A], [-, -, ENTER]
|
43
|
-
* Note: No events are fired for 'i'.
|
44
|
-
*
|
45
|
-
* - Win/IE7: [WIN_IME, -, A], [WIN_IME, -, I], [WIN_IME, -, ENTER]
|
46
|
-
*
|
47
|
-
* - Win/Chrome: Same as Win/IE7
|
48
|
-
*
|
49
|
-
* - Mac/FF3: [A, -, A], [I, -, I], [ENTER, -, ENTER]
|
50
|
-
*
|
51
|
-
* - Mac/Safari3: Same as Win/IE7
|
52
|
-
*
|
53
|
-
* - Linux/FF3: No events are generated.
|
54
|
-
*
|
55
|
-
* With IME off,
|
56
|
-
*
|
57
|
-
* - ALL: [A, +, A], [I, +, I], [ENTER, +, ENTER]
|
58
|
-
* Note: Key code of key press event varies across configuration.
|
59
|
-
*
|
60
|
-
* With Microsoft Pinyin IME 3.0 (Simplified Chinese),
|
61
|
-
*
|
62
|
-
* - Win/IE7: Same as Win/IE7 with MS IME 2002 (Japanese)
|
63
|
-
*
|
64
|
-
* The issue with this IME is that the key sequence that ends preedit is not
|
65
|
-
* a single ENTER key up.
|
66
|
-
* - ENTER key up following either ENTER or SPACE ends preedit.
|
67
|
-
* - SPACE key up following even number of LEFT, RIGHT, or SPACE (any
|
68
|
-
* combination) ends preedit.
|
69
|
-
* TODO(user): We only support SPACE-then-ENTER sequence.
|
70
|
-
* TODO(mpd): With the change to autocomplete during IME, this might not be an
|
71
|
-
* issue. Remove this comment once tested.
|
72
|
-
*
|
73
|
-
* With Microsoft Korean IME 2002,
|
74
|
-
*
|
75
|
-
* - Win/IE7: Same as Win/IE7 with MS IME 2002 (Japanese), but there is no
|
76
|
-
* sequence that ends the preedit.
|
77
|
-
*
|
78
|
-
* The following is the algorithm we use to detect IME preedit:
|
79
|
-
*
|
80
|
-
* - WIN_IME key down starts predit.
|
81
|
-
* - (1) ENTER key up or (2) CTRL-M key up ends preedit.
|
82
|
-
* - Any key press not immediately following WIN_IME key down signifies that
|
83
|
-
* preedit has ended.
|
84
|
-
*
|
85
|
-
* If you need to change this algorithm, please note the OS, browser, language,
|
86
|
-
* and behavior above so that we can avoid regressions. Contact mpd or yuzo
|
87
|
-
* if you have questions or concerns.
|
88
|
-
*
|
89
|
-
*/
|
90
|
-
|
91
|
-
|
92
|
-
goog.provide('goog.ui.AutoComplete.InputHandler');
|
93
|
-
|
94
|
-
goog.require('goog.Disposable');
|
95
|
-
goog.require('goog.Timer');
|
96
|
-
goog.require('goog.dom.a11y');
|
97
|
-
goog.require('goog.dom.selection');
|
98
|
-
goog.require('goog.events');
|
99
|
-
goog.require('goog.events.EventHandler');
|
100
|
-
goog.require('goog.events.KeyCodes');
|
101
|
-
goog.require('goog.events.KeyHandler');
|
102
|
-
goog.require('goog.string');
|
103
|
-
goog.require('goog.ui.AutoComplete');
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
/**
|
108
|
-
* Class for managing the interaction between an auto-complete object and a
|
109
|
-
* text-input or textarea.
|
110
|
-
*
|
111
|
-
* @param {?string=} opt_separators Separators to split multiple entries.
|
112
|
-
* @param {?string=} opt_literals Characters used to delimit text literals.
|
113
|
-
* @param {?boolean=} opt_multi Whether to allow multiple entries
|
114
|
-
* (Default: true).
|
115
|
-
* @param {?number=} opt_throttleTime Number of milliseconds to throttle
|
116
|
-
* keyevents with (Default: 150). Use -1 to disable updates on typing. Note
|
117
|
-
* that typing the separator will update autocomplete suggestions.
|
118
|
-
* @constructor
|
119
|
-
* @extends {goog.Disposable}
|
120
|
-
*/
|
121
|
-
goog.ui.AutoComplete.InputHandler = function(opt_separators, opt_literals,
|
122
|
-
opt_multi, opt_throttleTime) {
|
123
|
-
goog.Disposable.call(this);
|
124
|
-
var throttleTime = opt_throttleTime || 150;
|
125
|
-
|
126
|
-
this.setSeparators(goog.isDefAndNotNull(opt_separators) ? opt_separators :
|
127
|
-
goog.ui.AutoComplete.InputHandler.STANDARD_LIST_SEPARATORS);
|
128
|
-
|
129
|
-
/**
|
130
|
-
* Characters that are used to delimit literal text. Separarator characters
|
131
|
-
* found within literal text are not processed as separators
|
132
|
-
* @type {string}
|
133
|
-
* @private
|
134
|
-
*/
|
135
|
-
this.literals_ = opt_literals || '';
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Whether this input accepts multiple values
|
139
|
-
* @type {boolean}
|
140
|
-
* @private
|
141
|
-
*/
|
142
|
-
this.multi_ = opt_multi != null ? opt_multi : true;
|
143
|
-
|
144
|
-
/**
|
145
|
-
* Whether to prevent the default behavior (moving focus to another element)
|
146
|
-
* when tab is pressed. This occurs by default only for multi-value mode.
|
147
|
-
* @type {boolean}
|
148
|
-
* @private
|
149
|
-
*/
|
150
|
-
this.preventDefaultOnTab_ = this.multi_;
|
151
|
-
|
152
|
-
/**
|
153
|
-
* A timer object used to monitor for changes when an element is active.
|
154
|
-
*
|
155
|
-
* TODO(user): Consider tuning the throttle time, so that it takes into
|
156
|
-
* account the length of the token. When the token is short it is likely to
|
157
|
-
* match lots of rows, therefore we want to check less frequently. Even
|
158
|
-
* something as simple as <3-chars = 150ms, then 100ms otherwise.
|
159
|
-
*
|
160
|
-
* @type {goog.Timer}
|
161
|
-
* @private
|
162
|
-
*/
|
163
|
-
this.timer_ = throttleTime > 0 ? new goog.Timer(throttleTime) : null;
|
164
|
-
|
165
|
-
/**
|
166
|
-
* Event handler used by the input handler to manage events.
|
167
|
-
* @type {goog.events.EventHandler}
|
168
|
-
* @private
|
169
|
-
*/
|
170
|
-
this.eh_ = new goog.events.EventHandler(this);
|
171
|
-
|
172
|
-
/**
|
173
|
-
* Event handler to help us find an input element that already has the focus.
|
174
|
-
* @type {goog.events.EventHandler}
|
175
|
-
* @private
|
176
|
-
*/
|
177
|
-
this.activateHandler_ = new goog.events.EventHandler(this);
|
178
|
-
|
179
|
-
/**
|
180
|
-
* The keyhandler used for listening on most key events. This takes care of
|
181
|
-
* abstracting away some of the browser differences.
|
182
|
-
* @type {goog.events.KeyHandler}
|
183
|
-
* @private
|
184
|
-
*/
|
185
|
-
this.keyHandler_ = new goog.events.KeyHandler();
|
186
|
-
|
187
|
-
/**
|
188
|
-
* The last key down key code.
|
189
|
-
* @type {number}
|
190
|
-
* @private
|
191
|
-
*/
|
192
|
-
this.lastKeyCode_ = -1; // Initialize to a non-existent value.
|
193
|
-
};
|
194
|
-
goog.inherits(goog.ui.AutoComplete.InputHandler, goog.Disposable);
|
195
|
-
|
196
|
-
|
197
|
-
/**
|
198
|
-
* Standard list separators.
|
199
|
-
* @type {string}
|
200
|
-
*/
|
201
|
-
goog.ui.AutoComplete.InputHandler.STANDARD_LIST_SEPARATORS = ',;';
|
202
|
-
|
203
|
-
|
204
|
-
/**
|
205
|
-
* Literals for quotes.
|
206
|
-
* @type {string}
|
207
|
-
*/
|
208
|
-
goog.ui.AutoComplete.InputHandler.QUOTE_LITERALS = '"';
|
209
|
-
|
210
|
-
|
211
|
-
/**
|
212
|
-
* The AutoComplete instance this inputhandler is associated with.
|
213
|
-
* @type {goog.ui.AutoComplete}
|
214
|
-
*/
|
215
|
-
goog.ui.AutoComplete.InputHandler.prototype.ac_;
|
216
|
-
|
217
|
-
|
218
|
-
/**
|
219
|
-
* Characters that can be used to split multiple entries in an input string
|
220
|
-
* @type {string}
|
221
|
-
* @private
|
222
|
-
*/
|
223
|
-
goog.ui.AutoComplete.InputHandler.prototype.separators_;
|
224
|
-
|
225
|
-
|
226
|
-
/**
|
227
|
-
* The separator we use to reconstruct the string
|
228
|
-
* @type {string}
|
229
|
-
* @private
|
230
|
-
*/
|
231
|
-
goog.ui.AutoComplete.InputHandler.prototype.defaultSeparator_;
|
232
|
-
|
233
|
-
|
234
|
-
/**
|
235
|
-
* Regular expression used from trimming tokens or null for no trimming.
|
236
|
-
* @type {RegExp}
|
237
|
-
* @private
|
238
|
-
*/
|
239
|
-
goog.ui.AutoComplete.InputHandler.prototype.trimmer_;
|
240
|
-
|
241
|
-
|
242
|
-
/**
|
243
|
-
* Regular expression to test whether a separator exists
|
244
|
-
* @type {RegExp}
|
245
|
-
* @private
|
246
|
-
*/
|
247
|
-
goog.ui.AutoComplete.InputHandler.prototype.separatorCheck_;
|
248
|
-
|
249
|
-
|
250
|
-
/**
|
251
|
-
* Should auto-completed tokens be wrapped in whitespace? Used in selectRow.
|
252
|
-
* @type {boolean}
|
253
|
-
* @private
|
254
|
-
*/
|
255
|
-
goog.ui.AutoComplete.InputHandler.prototype.whitespaceWrapEntries_ = true;
|
256
|
-
|
257
|
-
|
258
|
-
/**
|
259
|
-
* Should the occurrence of a literal indicate a token boundary?
|
260
|
-
* @type {boolean}
|
261
|
-
* @private
|
262
|
-
*/
|
263
|
-
goog.ui.AutoComplete.InputHandler.prototype.generateNewTokenOnLiteral_ = true;
|
264
|
-
|
265
|
-
|
266
|
-
/**
|
267
|
-
* Whether to flip the orientation of up & down for hiliting next
|
268
|
-
* and previous autocomplete entries.
|
269
|
-
* @type {boolean}
|
270
|
-
* @private
|
271
|
-
*/
|
272
|
-
goog.ui.AutoComplete.InputHandler.prototype.upsideDown_ = false;
|
273
|
-
|
274
|
-
|
275
|
-
/**
|
276
|
-
* If we're in 'multi' mode, does typing a separator force the updating of
|
277
|
-
* suggestions?
|
278
|
-
* For example, if somebody finishes typing "obama, hillary,", should the last
|
279
|
-
* comma trigger updating suggestions in a guaranteed manner? Especially useful
|
280
|
-
* when the suggestions depend on complete keywords. Note that "obama, hill"
|
281
|
-
* (a leading sub-string of "obama, hillary" will lead to different and possibly
|
282
|
-
* irrelevant suggestions.
|
283
|
-
* @type {boolean}
|
284
|
-
* @private
|
285
|
-
*/
|
286
|
-
goog.ui.AutoComplete.InputHandler.prototype.separatorUpdates_ = true;
|
287
|
-
|
288
|
-
|
289
|
-
/**
|
290
|
-
* If we're in 'multi' mode, does typing a separator force the current term to
|
291
|
-
* autocomplete?
|
292
|
-
* For example, if 'tomato' is a suggested completion and the user has typed
|
293
|
-
* 'to,', do we autocomplete to turn that into 'tomato,'?
|
294
|
-
* @type {boolean}
|
295
|
-
* @private
|
296
|
-
*/
|
297
|
-
goog.ui.AutoComplete.InputHandler.prototype.separatorSelects_ = true;
|
298
|
-
|
299
|
-
|
300
|
-
/**
|
301
|
-
* The element that is currently active.
|
302
|
-
* @type {Element}
|
303
|
-
* @private
|
304
|
-
*/
|
305
|
-
goog.ui.AutoComplete.InputHandler.prototype.activeElement_ = null;
|
306
|
-
|
307
|
-
|
308
|
-
/**
|
309
|
-
* The previous value of the active element.
|
310
|
-
* @type {string}
|
311
|
-
* @private
|
312
|
-
*/
|
313
|
-
goog.ui.AutoComplete.InputHandler.prototype.lastValue_ = '';
|
314
|
-
|
315
|
-
|
316
|
-
/**
|
317
|
-
* Flag used to indicate that the IME key has been seen and we need to wait for
|
318
|
-
* the up event.
|
319
|
-
* @type {boolean}
|
320
|
-
* @private
|
321
|
-
*/
|
322
|
-
goog.ui.AutoComplete.InputHandler.prototype.waitingForIme_ = false;
|
323
|
-
|
324
|
-
|
325
|
-
/**
|
326
|
-
* Flag used to indicate that the user just selected a row and we should
|
327
|
-
* therefore ignore the change of the input value.
|
328
|
-
* @type {boolean}
|
329
|
-
* @private
|
330
|
-
*/
|
331
|
-
goog.ui.AutoComplete.InputHandler.prototype.rowJustSelected_ = false;
|
332
|
-
|
333
|
-
|
334
|
-
/**
|
335
|
-
* Flag indicating whether the result list should be updated continuously
|
336
|
-
* during typing or only after a short pause.
|
337
|
-
* @type {boolean}
|
338
|
-
* @private
|
339
|
-
*/
|
340
|
-
goog.ui.AutoComplete.InputHandler.prototype.updateDuringTyping_ = true;
|
341
|
-
|
342
|
-
|
343
|
-
/**
|
344
|
-
* Attach an instance of an AutoComplete
|
345
|
-
* @param {goog.ui.AutoComplete} ac Autocomplete object.
|
346
|
-
*/
|
347
|
-
goog.ui.AutoComplete.InputHandler.prototype.attachAutoComplete = function(ac) {
|
348
|
-
this.ac_ = ac;
|
349
|
-
};
|
350
|
-
|
351
|
-
|
352
|
-
/**
|
353
|
-
* Returns the associated autocomplete instance.
|
354
|
-
* @return {goog.ui.AutoComplete} The associated autocomplete instance.
|
355
|
-
*/
|
356
|
-
goog.ui.AutoComplete.InputHandler.prototype.getAutoComplete = function() {
|
357
|
-
return this.ac_;
|
358
|
-
};
|
359
|
-
|
360
|
-
|
361
|
-
/**
|
362
|
-
* Returns the current active element.
|
363
|
-
* @return {Element} The currently active element.
|
364
|
-
*/
|
365
|
-
goog.ui.AutoComplete.InputHandler.prototype.getActiveElement = function() {
|
366
|
-
return this.activeElement_;
|
367
|
-
};
|
368
|
-
|
369
|
-
|
370
|
-
/**
|
371
|
-
* Returns the value of the current active element.
|
372
|
-
* @return {string} The value of the current active element.
|
373
|
-
*/
|
374
|
-
goog.ui.AutoComplete.InputHandler.prototype.getValue = function() {
|
375
|
-
return this.activeElement_.value;
|
376
|
-
};
|
377
|
-
|
378
|
-
|
379
|
-
/**
|
380
|
-
* Sets the value of the current active element.
|
381
|
-
* @param {string} value The new value.
|
382
|
-
*/
|
383
|
-
goog.ui.AutoComplete.InputHandler.prototype.setValue = function(value) {
|
384
|
-
this.activeElement_.value = value;
|
385
|
-
};
|
386
|
-
|
387
|
-
|
388
|
-
/**
|
389
|
-
* Returns the current cursor position.
|
390
|
-
* @return {number} The index of the cursor position.
|
391
|
-
*/
|
392
|
-
goog.ui.AutoComplete.InputHandler.prototype.getCursorPosition = function() {
|
393
|
-
return goog.dom.selection.getStart(this.activeElement_);
|
394
|
-
};
|
395
|
-
|
396
|
-
|
397
|
-
/**
|
398
|
-
* Sets the cursor at the given position.
|
399
|
-
* @param {number} pos The index of the cursor position.
|
400
|
-
*/
|
401
|
-
goog.ui.AutoComplete.InputHandler.prototype.setCursorPosition = function(pos) {
|
402
|
-
goog.dom.selection.setStart(this.activeElement_, pos);
|
403
|
-
goog.dom.selection.setEnd(this.activeElement_, pos);
|
404
|
-
};
|
405
|
-
|
406
|
-
|
407
|
-
/**
|
408
|
-
* Attaches the input handler to an element such as a textarea or input box.
|
409
|
-
* The element could basically be anything as long as it exposes the correct
|
410
|
-
* interface and events.
|
411
|
-
* @param {Element} el An element to attach the input handler too.
|
412
|
-
*/
|
413
|
-
goog.ui.AutoComplete.InputHandler.prototype.attachInput = function(el) {
|
414
|
-
goog.dom.a11y.setState(el, 'haspopup', true);
|
415
|
-
|
416
|
-
this.eh_.listen(el, goog.events.EventType.FOCUS, this.handleFocus);
|
417
|
-
this.eh_.listen(el, goog.events.EventType.BLUR, this.handleBlur);
|
418
|
-
|
419
|
-
if (!this.activeElement_) {
|
420
|
-
this.activateHandler_.listen(
|
421
|
-
el, goog.events.EventType.KEYDOWN, this.onKeyDownOnInactiveElement_);
|
422
|
-
}
|
423
|
-
};
|
424
|
-
|
425
|
-
|
426
|
-
/**
|
427
|
-
* Detaches the input handler from the provided element.
|
428
|
-
* @param {Element} el An element to detach the input handler from.
|
429
|
-
*/
|
430
|
-
goog.ui.AutoComplete.InputHandler.prototype.detachInput = function(el) {
|
431
|
-
if (el == this.activeElement_) {
|
432
|
-
this.handleBlur();
|
433
|
-
}
|
434
|
-
this.eh_.unlisten(el, goog.events.EventType.FOCUS, this.handleFocus);
|
435
|
-
this.eh_.unlisten(el, goog.events.EventType.BLUR, this.handleBlur);
|
436
|
-
|
437
|
-
if (!this.activeElement_) {
|
438
|
-
this.activateHandler_.unlisten(
|
439
|
-
el, goog.events.EventType.KEYDOWN, this.onKeyDownOnInactiveElement_);
|
440
|
-
}
|
441
|
-
};
|
442
|
-
|
443
|
-
|
444
|
-
/**
|
445
|
-
* Attaches the input handler to multiple elements.
|
446
|
-
* @param {...Element} var_args Elements to attach the input handler too.
|
447
|
-
*/
|
448
|
-
goog.ui.AutoComplete.InputHandler.prototype.attachInputs = function(var_args) {
|
449
|
-
for (var i = 0; i < arguments.length; i++) {
|
450
|
-
this.attachInput(arguments[i]);
|
451
|
-
}
|
452
|
-
};
|
453
|
-
|
454
|
-
|
455
|
-
/**
|
456
|
-
* Detaches the input handler from multuple elements.
|
457
|
-
* @param {...Element} var_args Variable arguments for elements to unbind from.
|
458
|
-
*/
|
459
|
-
goog.ui.AutoComplete.InputHandler.prototype.detachInputs = function(var_args) {
|
460
|
-
for (var i = 0; i < arguments.length; i++) {
|
461
|
-
this.detachInput(arguments[i]);
|
462
|
-
}
|
463
|
-
};
|
464
|
-
|
465
|
-
|
466
|
-
/**
|
467
|
-
* Selects the given row. Implements the SelectionHandler interface.
|
468
|
-
* @param {Object} row The row to select.
|
469
|
-
* @param {boolean=} opt_multi Should this be treated as a single or multi-token
|
470
|
-
* auto-complete? Overrides previous setting of opt_multi on constructor.
|
471
|
-
* @return {boolean} Whether to suppress the update event.
|
472
|
-
*/
|
473
|
-
goog.ui.AutoComplete.InputHandler.prototype.selectRow = function(row,
|
474
|
-
opt_multi) {
|
475
|
-
this.setTokenText(row.toString(), opt_multi);
|
476
|
-
return false;
|
477
|
-
};
|
478
|
-
|
479
|
-
|
480
|
-
/**
|
481
|
-
* Sets the text of the current token without updating the autocomplete
|
482
|
-
* choices.
|
483
|
-
* @param {string} tokenText The text for the current token.
|
484
|
-
* @param {boolean=} opt_multi Should this be treated as a single or multi-token
|
485
|
-
* auto-complete? Overrides previous setting of opt_multi on constructor.
|
486
|
-
* @protected
|
487
|
-
*/
|
488
|
-
goog.ui.AutoComplete.InputHandler.prototype.setTokenText = function(tokenText,
|
489
|
-
opt_multi) {
|
490
|
-
if (goog.isDef(opt_multi) ? opt_multi : this.multi_) {
|
491
|
-
var index = this.getTokenIndex_(this.getValue(), this.getCursorPosition());
|
492
|
-
|
493
|
-
// Break up the current input string.
|
494
|
-
var entries = this.splitInput_(this.getValue());
|
495
|
-
|
496
|
-
// Get the new value, ignoring whitespace associated with the entry.
|
497
|
-
var replaceValue = tokenText;
|
498
|
-
|
499
|
-
// Only add punctuation if there isn't already a separator available.
|
500
|
-
if (!this.separatorCheck_.test(replaceValue)) {
|
501
|
-
replaceValue = goog.string.trimRight(replaceValue) +
|
502
|
-
this.defaultSeparator_;
|
503
|
-
}
|
504
|
-
|
505
|
-
// Ensure there's whitespace wrapping the entries, if whitespaceWrapEntries_
|
506
|
-
// has been set to true.
|
507
|
-
if (this.whitespaceWrapEntries_) {
|
508
|
-
if (index != 0 && !goog.string.isEmpty(entries[index - 1])) {
|
509
|
-
replaceValue = ' ' + replaceValue;
|
510
|
-
}
|
511
|
-
// Add a space only if it's the last token; otherwise, we assume the
|
512
|
-
// next token already has the proper spacing.
|
513
|
-
if (index == entries.length - 1) {
|
514
|
-
replaceValue = replaceValue + ' ';
|
515
|
-
}
|
516
|
-
}
|
517
|
-
|
518
|
-
// If the token needs changing, then update the input box and move the
|
519
|
-
// cursor to the correct position.
|
520
|
-
if (replaceValue != entries[index]) {
|
521
|
-
|
522
|
-
// Replace the value in the array.
|
523
|
-
entries[index] = replaceValue;
|
524
|
-
|
525
|
-
var el = this.activeElement_;
|
526
|
-
// If there is an uncommitted IME in Firefox, setting the value fails and
|
527
|
-
// results in actually clearing the value that's already in the input.
|
528
|
-
// The FF bug is http://bugzilla.mozilla.org/show_bug.cgi?id=549674
|
529
|
-
// Blurring before setting the value works around this problem. We'd like
|
530
|
-
// to do this only if there is an uncommitted IME, but this isn't possible
|
531
|
-
// to detect for FF/Mac. Since text editing is finicky we restrict this
|
532
|
-
// workaround to Firefox.
|
533
|
-
if (goog.userAgent.GECKO) {
|
534
|
-
el.blur();
|
535
|
-
}
|
536
|
-
// Join the array and replace the contents of the input.
|
537
|
-
el.value = entries.join('');
|
538
|
-
|
539
|
-
// Calculate which position to put the cursor at.
|
540
|
-
var pos = 0;
|
541
|
-
for (var i = 0; i <= index; i++) {
|
542
|
-
pos += entries[i].length;
|
543
|
-
}
|
544
|
-
|
545
|
-
// Set the cursor.
|
546
|
-
el.focus();
|
547
|
-
this.setCursorPosition(pos);
|
548
|
-
}
|
549
|
-
} else {
|
550
|
-
this.setValue(tokenText);
|
551
|
-
}
|
552
|
-
|
553
|
-
// Avoid triggering an autocomplete just because the value changed.
|
554
|
-
this.rowJustSelected_ = true;
|
555
|
-
};
|
556
|
-
|
557
|
-
|
558
|
-
/**
|
559
|
-
* Disposes of the input handler.
|
560
|
-
*/
|
561
|
-
goog.ui.AutoComplete.InputHandler.prototype.disposeInternal = function() {
|
562
|
-
goog.ui.AutoComplete.InputHandler.superClass_.disposeInternal.call(this);
|
563
|
-
this.eh_.dispose();
|
564
|
-
delete this.eh_;
|
565
|
-
this.activateHandler_.dispose();
|
566
|
-
this.keyHandler_.dispose();
|
567
|
-
};
|
568
|
-
|
569
|
-
|
570
|
-
/**
|
571
|
-
* Sets the entry separator characters.
|
572
|
-
*
|
573
|
-
* @param {string} separators The separator characters to set.
|
574
|
-
*/
|
575
|
-
goog.ui.AutoComplete.InputHandler.prototype.setSeparators =
|
576
|
-
function(separators) {
|
577
|
-
this.separators_ = separators;
|
578
|
-
this.defaultSeparator_ = this.separators_.substring(0, 1);
|
579
|
-
|
580
|
-
var wspaceExp = this.multi_ ? '[\\s' + this.separators_ + ']+' : '[\\s]+';
|
581
|
-
|
582
|
-
this.trimmer_ = new RegExp('^' + wspaceExp + '|' + wspaceExp + '$', 'g');
|
583
|
-
this.separatorCheck_ = new RegExp('\\s*[' + this.separators_ + ']$');
|
584
|
-
};
|
585
|
-
|
586
|
-
|
587
|
-
/**
|
588
|
-
* Sets whether to flip the orientation of up & down for hiliting next
|
589
|
-
* and previous autocomplete entries.
|
590
|
-
* @param {boolean} upsideDown Whether the orientation is upside down.
|
591
|
-
*/
|
592
|
-
goog.ui.AutoComplete.InputHandler.prototype.setUpsideDown =
|
593
|
-
function(upsideDown) {
|
594
|
-
this.upsideDown_ = upsideDown;
|
595
|
-
};
|
596
|
-
|
597
|
-
|
598
|
-
/**
|
599
|
-
* Sets whether auto-completed tokens should be wrapped with whitespace.
|
600
|
-
* @param {boolean} newValue boolean value indicating whether or not
|
601
|
-
* auto-completed tokens should be wrapped with whitespace.
|
602
|
-
*/
|
603
|
-
goog.ui.AutoComplete.InputHandler.prototype.setWhitespaceWrapEntries =
|
604
|
-
function(newValue) {
|
605
|
-
this.whitespaceWrapEntries_ = newValue;
|
606
|
-
};
|
607
|
-
|
608
|
-
|
609
|
-
/**
|
610
|
-
* Sets whether new tokens should be generated from literals. That is, should
|
611
|
-
* hello'world be two tokens, assuming ' is a literal?
|
612
|
-
* @param {boolean} newValue boolean value indicating whether or not
|
613
|
-
* new tokens should be generated from literals.
|
614
|
-
*/
|
615
|
-
goog.ui.AutoComplete.InputHandler.prototype.setGenerateNewTokenOnLiteral =
|
616
|
-
function(newValue) {
|
617
|
-
this.generateNewTokenOnLiteral_ = newValue;
|
618
|
-
};
|
619
|
-
|
620
|
-
|
621
|
-
/**
|
622
|
-
* Sets the regular expression used to trim the tokens before passing them to
|
623
|
-
* the matcher: every substring that matches the given regular expression will
|
624
|
-
* be removed. This can also be set to null to disable trimming.
|
625
|
-
* @param {RegExp} trimmer Regexp to use for trimming or null to disable it.
|
626
|
-
*/
|
627
|
-
goog.ui.AutoComplete.InputHandler.prototype.setTrimmingRegExp =
|
628
|
-
function(trimmer) {
|
629
|
-
this.trimmer_ = trimmer;
|
630
|
-
};
|
631
|
-
|
632
|
-
|
633
|
-
/**
|
634
|
-
* Sets whether we will prevent the default input behavior (moving focus to the
|
635
|
-
* next focusable element) on TAB.
|
636
|
-
* @param {boolean} newValue Whether to preventDefault on TAB.
|
637
|
-
*/
|
638
|
-
goog.ui.AutoComplete.InputHandler.prototype.setPreventDefaultOnTab =
|
639
|
-
function(newValue) {
|
640
|
-
this.preventDefaultOnTab_ = newValue;
|
641
|
-
};
|
642
|
-
|
643
|
-
|
644
|
-
/**
|
645
|
-
* Sets whether separators perform autocomplete.
|
646
|
-
* @param {boolean} newValue Whether to autocomplete on separators.
|
647
|
-
*/
|
648
|
-
goog.ui.AutoComplete.InputHandler.prototype.setSeparatorCompletes =
|
649
|
-
function(newValue) {
|
650
|
-
this.separatorUpdates_ = newValue;
|
651
|
-
this.separatorSelects_ = newValue;
|
652
|
-
};
|
653
|
-
|
654
|
-
|
655
|
-
/**
|
656
|
-
* Sets whether separators perform autocomplete.
|
657
|
-
* @param {boolean} newValue Whether to autocomplete on separators.
|
658
|
-
*/
|
659
|
-
goog.ui.AutoComplete.InputHandler.prototype.setSeparatorSelects =
|
660
|
-
function(newValue) {
|
661
|
-
this.separatorSelects_ = newValue;
|
662
|
-
};
|
663
|
-
|
664
|
-
|
665
|
-
/**
|
666
|
-
* Gets the time to wait before updating the results. If the update during
|
667
|
-
* typing flag is switched on, this delay counts from the last update,
|
668
|
-
* otherwise from the last keypress.
|
669
|
-
* @return {number} Throttle time in milliseconds.
|
670
|
-
*/
|
671
|
-
goog.ui.AutoComplete.InputHandler.prototype.getThrottleTime = function() {
|
672
|
-
return this.timer_ ? this.timer_.getInterval() : -1;
|
673
|
-
};
|
674
|
-
|
675
|
-
|
676
|
-
/**
|
677
|
-
* Sets whether a row has just been selected.
|
678
|
-
* @param {boolean} justSelected Whether or not the row has just been selected.
|
679
|
-
*/
|
680
|
-
goog.ui.AutoComplete.InputHandler.prototype.setRowJustSelected =
|
681
|
-
function(justSelected) {
|
682
|
-
this.rowJustSelected_ = justSelected;
|
683
|
-
};
|
684
|
-
|
685
|
-
|
686
|
-
/**
|
687
|
-
* Sets the time to wait before updating the results.
|
688
|
-
* @param {number} time New throttle time in milliseconds.
|
689
|
-
*/
|
690
|
-
goog.ui.AutoComplete.InputHandler.prototype.setThrottleTime = function(time) {
|
691
|
-
if (time < 0) {
|
692
|
-
this.timer_.dispose();
|
693
|
-
this.timer_ = null;
|
694
|
-
return;
|
695
|
-
}
|
696
|
-
if (this.timer_) {
|
697
|
-
this.timer_.setInterval(time);
|
698
|
-
} else {
|
699
|
-
this.timer_ = new goog.Timer(time);
|
700
|
-
}
|
701
|
-
};
|
702
|
-
|
703
|
-
|
704
|
-
/**
|
705
|
-
* Gets whether the result list is updated during typing.
|
706
|
-
* @return {boolean} Value of the flag.
|
707
|
-
*/
|
708
|
-
goog.ui.AutoComplete.InputHandler.prototype.getUpdateDuringTyping = function() {
|
709
|
-
return this.updateDuringTyping_;
|
710
|
-
};
|
711
|
-
|
712
|
-
|
713
|
-
/**
|
714
|
-
* Sets whether the result list should be updated during typing.
|
715
|
-
* @param {boolean} value New value of the flag.
|
716
|
-
*/
|
717
|
-
goog.ui.AutoComplete.InputHandler.prototype.setUpdateDuringTyping =
|
718
|
-
function(value) {
|
719
|
-
this.updateDuringTyping_ = value;
|
720
|
-
};
|
721
|
-
|
722
|
-
|
723
|
-
/**
|
724
|
-
* Handles a key event.
|
725
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
726
|
-
* @return {boolean} True if the key event was handled.
|
727
|
-
* @protected
|
728
|
-
*/
|
729
|
-
goog.ui.AutoComplete.InputHandler.prototype.handleKeyEvent = function(e) {
|
730
|
-
switch (e.keyCode) {
|
731
|
-
|
732
|
-
// If the menu is open and 'down' caused a change then prevent the default
|
733
|
-
// action and prevent scrolling. If the box isn't a multi autocomplete
|
734
|
-
// and the menu isn't open, we force it open now.
|
735
|
-
case goog.events.KeyCodes.DOWN:
|
736
|
-
if (this.ac_.isOpen()) {
|
737
|
-
this.moveDown_();
|
738
|
-
e.preventDefault();
|
739
|
-
return true;
|
740
|
-
|
741
|
-
} else if (!this.multi_) {
|
742
|
-
this.update(true);
|
743
|
-
e.preventDefault();
|
744
|
-
return true;
|
745
|
-
}
|
746
|
-
break;
|
747
|
-
|
748
|
-
// If the menu is open and 'up' caused a change then prevent the default
|
749
|
-
// action and prevent scrolling.
|
750
|
-
case goog.events.KeyCodes.UP:
|
751
|
-
if (this.ac_.isOpen()) {
|
752
|
-
this.moveUp_();
|
753
|
-
e.preventDefault();
|
754
|
-
return true;
|
755
|
-
}
|
756
|
-
break;
|
757
|
-
|
758
|
-
// If tab key is pressed, select the current highlighted item. The default
|
759
|
-
// action is also prevented if the input is a multi input, to prevent the
|
760
|
-
// user tabbing out of the field.
|
761
|
-
case goog.events.KeyCodes.TAB:
|
762
|
-
if (this.ac_.isOpen() && !e.shiftKey) {
|
763
|
-
// Ensure the menu is up to date before completing.
|
764
|
-
this.update();
|
765
|
-
if (this.ac_.selectHilited() && this.preventDefaultOnTab_) {
|
766
|
-
e.preventDefault();
|
767
|
-
return true;
|
768
|
-
}
|
769
|
-
} else {
|
770
|
-
this.ac_.dismiss();
|
771
|
-
}
|
772
|
-
break;
|
773
|
-
|
774
|
-
// On enter, just select the highlighted row.
|
775
|
-
case goog.events.KeyCodes.ENTER:
|
776
|
-
if (this.ac_.isOpen()) {
|
777
|
-
// Ensure the menu is up to date before completing.
|
778
|
-
this.update();
|
779
|
-
if (this.ac_.selectHilited()) {
|
780
|
-
e.preventDefault();
|
781
|
-
e.stopPropagation();
|
782
|
-
return true;
|
783
|
-
}
|
784
|
-
} else {
|
785
|
-
this.ac_.dismiss();
|
786
|
-
}
|
787
|
-
break;
|
788
|
-
|
789
|
-
// On escape tell the autocomplete to dismiss.
|
790
|
-
case goog.events.KeyCodes.ESC:
|
791
|
-
if (this.ac_.isOpen()) {
|
792
|
-
this.ac_.dismiss();
|
793
|
-
e.preventDefault();
|
794
|
-
e.stopPropagation();
|
795
|
-
return true;
|
796
|
-
}
|
797
|
-
break;
|
798
|
-
|
799
|
-
// The IME keycode indicates an IME sequence has started, we ignore all
|
800
|
-
// changes until we get an enter key-up.
|
801
|
-
case goog.events.KeyCodes.WIN_IME:
|
802
|
-
if (!this.waitingForIme_) {
|
803
|
-
this.startWaitingForIme_();
|
804
|
-
return true;
|
805
|
-
}
|
806
|
-
break;
|
807
|
-
|
808
|
-
default:
|
809
|
-
if (this.timer_ && !this.updateDuringTyping_) {
|
810
|
-
// Waits throttle time before sending the request again.
|
811
|
-
this.timer_.stop();
|
812
|
-
this.timer_.start();
|
813
|
-
}
|
814
|
-
}
|
815
|
-
|
816
|
-
return this.handleSeparator_(e);
|
817
|
-
};
|
818
|
-
|
819
|
-
|
820
|
-
/**
|
821
|
-
* Handles a key event for a separator key.
|
822
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
823
|
-
* @return {boolean} True if the key event was handled.
|
824
|
-
* @private
|
825
|
-
*/
|
826
|
-
goog.ui.AutoComplete.InputHandler.prototype.handleSeparator_ = function(e) {
|
827
|
-
var isSeparatorKey = this.multi_ && e.charCode &&
|
828
|
-
this.separators_.indexOf(String.fromCharCode(e.charCode)) != -1;
|
829
|
-
if (this.separatorUpdates_ && isSeparatorKey) {
|
830
|
-
this.update();
|
831
|
-
}
|
832
|
-
if (this.separatorSelects_ && isSeparatorKey) {
|
833
|
-
if (this.ac_.selectHilited()) {
|
834
|
-
e.preventDefault();
|
835
|
-
return true;
|
836
|
-
}
|
837
|
-
}
|
838
|
-
return false;
|
839
|
-
};
|
840
|
-
|
841
|
-
|
842
|
-
/**
|
843
|
-
* @return {boolean} Whether this inputhandler need to listen on key-up.
|
844
|
-
* @protected
|
845
|
-
*/
|
846
|
-
goog.ui.AutoComplete.InputHandler.prototype.needKeyUpListener = function() {
|
847
|
-
return false;
|
848
|
-
};
|
849
|
-
|
850
|
-
|
851
|
-
/**
|
852
|
-
* Handles the key up event. Registered only if needKeyUpListener returns true.
|
853
|
-
* @param {goog.events.Event} e The keyup event.
|
854
|
-
* @return {boolean} Whether an action was taken or not.
|
855
|
-
* @protected
|
856
|
-
*/
|
857
|
-
goog.ui.AutoComplete.InputHandler.prototype.handleKeyUp = function(e) {
|
858
|
-
return false;
|
859
|
-
};
|
860
|
-
|
861
|
-
|
862
|
-
/**
|
863
|
-
* Adds the necessary key event handlers.
|
864
|
-
* @private
|
865
|
-
*/
|
866
|
-
goog.ui.AutoComplete.InputHandler.prototype.addKeyEvents_ = function() {
|
867
|
-
this.keyHandler_.attach(this.activeElement_);
|
868
|
-
this.eh_.listen(
|
869
|
-
this.keyHandler_, goog.events.KeyHandler.EventType.KEY, this.onKey_);
|
870
|
-
if (this.needKeyUpListener()) {
|
871
|
-
this.eh_.listen(this.activeElement_,
|
872
|
-
goog.events.EventType.KEYUP, this.handleKeyUp);
|
873
|
-
}
|
874
|
-
|
875
|
-
// IE also needs a keypress to check if the user typed a separator
|
876
|
-
if (goog.userAgent.IE) {
|
877
|
-
this.eh_.listen(this.activeElement_,
|
878
|
-
goog.events.EventType.KEYPRESS, this.onIeKeyPress_);
|
879
|
-
}
|
880
|
-
};
|
881
|
-
|
882
|
-
|
883
|
-
/**
|
884
|
-
* Removes the necessary key event handlers.
|
885
|
-
* @private
|
886
|
-
*/
|
887
|
-
goog.ui.AutoComplete.InputHandler.prototype.removeKeyEvents_ = function() {
|
888
|
-
this.eh_.unlisten(
|
889
|
-
this.keyHandler_, goog.events.KeyHandler.EventType.KEY, this.onKey_);
|
890
|
-
this.keyHandler_.detach();
|
891
|
-
this.eh_.unlisten(this.activeElement_,
|
892
|
-
goog.events.EventType.KEYUP, this.handleKeyUp);
|
893
|
-
|
894
|
-
if (goog.userAgent.IE) {
|
895
|
-
this.eh_.unlisten(this.activeElement_,
|
896
|
-
goog.events.EventType.KEYPRESS, this.onIeKeyPress_);
|
897
|
-
}
|
898
|
-
|
899
|
-
if (this.waitingForIme_) {
|
900
|
-
this.stopWaitingForIme_();
|
901
|
-
}
|
902
|
-
};
|
903
|
-
|
904
|
-
|
905
|
-
/**
|
906
|
-
* Handles an element getting focus.
|
907
|
-
* @param {goog.events.Event} e Browser event object.
|
908
|
-
* @protected
|
909
|
-
*/
|
910
|
-
goog.ui.AutoComplete.InputHandler.prototype.handleFocus = function(e) {
|
911
|
-
this.activateHandler_.removeAll();
|
912
|
-
|
913
|
-
if (this.ac_) {
|
914
|
-
this.ac_.cancelDelayedDismiss();
|
915
|
-
}
|
916
|
-
|
917
|
-
// Double-check whether the active element has actually changed.
|
918
|
-
// This is a fix for Safari 3, which fires spurious focus events.
|
919
|
-
if (e.target != this.activeElement_) {
|
920
|
-
this.activeElement_ = /** @type {Element} */ (e.target) || null;
|
921
|
-
if (this.timer_) {
|
922
|
-
this.timer_.start();
|
923
|
-
this.eh_.listen(this.timer_, goog.Timer.TICK, this.onTick_);
|
924
|
-
}
|
925
|
-
this.lastValue_ = this.getValue();
|
926
|
-
this.addKeyEvents_();
|
927
|
-
}
|
928
|
-
};
|
929
|
-
|
930
|
-
|
931
|
-
/**
|
932
|
-
* Handles an element blurring.
|
933
|
-
* @param {goog.events.Event=} opt_e Browser event object.
|
934
|
-
* @protected
|
935
|
-
*/
|
936
|
-
goog.ui.AutoComplete.InputHandler.prototype.handleBlur = function(opt_e) {
|
937
|
-
// it's possible that a blur event could fire when there's no active element,
|
938
|
-
// in the case where attachInput was called on an input that already had
|
939
|
-
// the focus
|
940
|
-
if (this.activeElement_) {
|
941
|
-
this.removeKeyEvents_();
|
942
|
-
this.activeElement_ = null;
|
943
|
-
|
944
|
-
if (this.timer_) {
|
945
|
-
this.timer_.stop();
|
946
|
-
this.eh_.unlisten(this.timer_, goog.Timer.TICK, this.onTick_);
|
947
|
-
}
|
948
|
-
|
949
|
-
if (this.ac_) {
|
950
|
-
// Pause dismissal slightly to take into account any other events that
|
951
|
-
// might fire on the renderer (e.g. a click will lose the focus).
|
952
|
-
this.ac_.dismissOnDelay();
|
953
|
-
}
|
954
|
-
}
|
955
|
-
};
|
956
|
-
|
957
|
-
|
958
|
-
/**
|
959
|
-
* Handles the timer's tick event. Calculates the current token, and reports
|
960
|
-
* any update to the autocomplete.
|
961
|
-
* @param {goog.events.Event} e Browser event object.
|
962
|
-
* @private
|
963
|
-
*/
|
964
|
-
goog.ui.AutoComplete.InputHandler.prototype.onTick_ = function(e) {
|
965
|
-
this.update();
|
966
|
-
};
|
967
|
-
|
968
|
-
|
969
|
-
/**
|
970
|
-
* Handles typing in an inactive input element. Activate it.
|
971
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
972
|
-
* @private
|
973
|
-
*/
|
974
|
-
goog.ui.AutoComplete.InputHandler.prototype.onKeyDownOnInactiveElement_ =
|
975
|
-
function(e) {
|
976
|
-
this.handleFocus(e);
|
977
|
-
};
|
978
|
-
|
979
|
-
|
980
|
-
/**
|
981
|
-
* Handles typing in the active input element. Checks if the key is a special
|
982
|
-
* key and does the relevent action as appropriate.
|
983
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
984
|
-
* @private
|
985
|
-
*/
|
986
|
-
goog.ui.AutoComplete.InputHandler.prototype.onKey_ = function(e) {
|
987
|
-
this.lastKeyCode_ = e.keyCode;
|
988
|
-
if (this.ac_) {
|
989
|
-
this.handleKeyEvent(e);
|
990
|
-
}
|
991
|
-
};
|
992
|
-
|
993
|
-
|
994
|
-
/**
|
995
|
-
* Handles a KEYPRESS event generated by typing in the active input element.
|
996
|
-
* Checks if IME input is ended.
|
997
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
998
|
-
* @private
|
999
|
-
*/
|
1000
|
-
goog.ui.AutoComplete.InputHandler.prototype.onKeyPress_ = function(e) {
|
1001
|
-
if (this.waitingForIme_ &&
|
1002
|
-
this.lastKeyCode_ != goog.events.KeyCodes.WIN_IME) {
|
1003
|
-
this.stopWaitingForIme_();
|
1004
|
-
}
|
1005
|
-
};
|
1006
|
-
|
1007
|
-
|
1008
|
-
/**
|
1009
|
-
* Handles the key-up event. This is only ever used by Mac FF or when we are in
|
1010
|
-
* an IME entry scenario.
|
1011
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
1012
|
-
* @private
|
1013
|
-
*/
|
1014
|
-
goog.ui.AutoComplete.InputHandler.prototype.onKeyUp_ = function(e) {
|
1015
|
-
if (this.waitingForIme_ &&
|
1016
|
-
(e.keyCode == goog.events.KeyCodes.ENTER ||
|
1017
|
-
(e.keyCode == goog.events.KeyCodes.M && e.ctrlKey))) {
|
1018
|
-
this.stopWaitingForIme_();
|
1019
|
-
}
|
1020
|
-
};
|
1021
|
-
|
1022
|
-
|
1023
|
-
/**
|
1024
|
-
* Starts waiting for IME.
|
1025
|
-
* @private
|
1026
|
-
*/
|
1027
|
-
goog.ui.AutoComplete.InputHandler.prototype.startWaitingForIme_ = function() {
|
1028
|
-
if (this.waitingForIme_) {
|
1029
|
-
return;
|
1030
|
-
}
|
1031
|
-
this.eh_.listen(
|
1032
|
-
this.activeElement_, goog.events.EventType.KEYUP, this.onKeyUp_);
|
1033
|
-
this.eh_.listen(
|
1034
|
-
this.activeElement_, goog.events.EventType.KEYPRESS, this.onKeyPress_);
|
1035
|
-
this.waitingForIme_ = true;
|
1036
|
-
};
|
1037
|
-
|
1038
|
-
|
1039
|
-
/**
|
1040
|
-
* Stops waiting for IME.
|
1041
|
-
* @private
|
1042
|
-
*/
|
1043
|
-
goog.ui.AutoComplete.InputHandler.prototype.stopWaitingForIme_ = function() {
|
1044
|
-
if (!this.waitingForIme_) {
|
1045
|
-
return;
|
1046
|
-
}
|
1047
|
-
this.waitingForIme_ = false;
|
1048
|
-
this.eh_.unlisten(
|
1049
|
-
this.activeElement_, goog.events.EventType.KEYPRESS, this.onKeyPress_);
|
1050
|
-
this.eh_.unlisten(
|
1051
|
-
this.activeElement_, goog.events.EventType.KEYUP, this.onKeyUp_);
|
1052
|
-
};
|
1053
|
-
|
1054
|
-
|
1055
|
-
/**
|
1056
|
-
* Handles the key-press event for IE, checking to see if the user typed a
|
1057
|
-
* separator character.
|
1058
|
-
* @param {goog.events.BrowserEvent} e Browser event object.
|
1059
|
-
* @private
|
1060
|
-
*/
|
1061
|
-
goog.ui.AutoComplete.InputHandler.prototype.onIeKeyPress_ = function(e) {
|
1062
|
-
this.handleSeparator_(e);
|
1063
|
-
};
|
1064
|
-
|
1065
|
-
|
1066
|
-
/**
|
1067
|
-
* Checks if an update has occurred and notified the autocomplete of the new
|
1068
|
-
* token.
|
1069
|
-
* @param {boolean=} opt_force If true the menu will be forced to update.
|
1070
|
-
*/
|
1071
|
-
goog.ui.AutoComplete.InputHandler.prototype.update = function(opt_force) {
|
1072
|
-
if (opt_force || this.activeElement_ && this.getValue() != this.lastValue_) {
|
1073
|
-
if (opt_force || !this.rowJustSelected_) {
|
1074
|
-
var token = this.parseToken();
|
1075
|
-
|
1076
|
-
if (this.ac_) {
|
1077
|
-
this.ac_.setTarget(this.activeElement_);
|
1078
|
-
this.ac_.setToken(token, this.getValue());
|
1079
|
-
}
|
1080
|
-
}
|
1081
|
-
this.lastValue_ = this.getValue();
|
1082
|
-
}
|
1083
|
-
this.rowJustSelected_ = false;
|
1084
|
-
};
|
1085
|
-
|
1086
|
-
|
1087
|
-
/**
|
1088
|
-
* Parses a text area or input box for the currently highlighted token.
|
1089
|
-
* @return {string} Token to complete.
|
1090
|
-
* @protected
|
1091
|
-
*/
|
1092
|
-
goog.ui.AutoComplete.InputHandler.prototype.parseToken = function() {
|
1093
|
-
return this.parseToken_();
|
1094
|
-
};
|
1095
|
-
|
1096
|
-
|
1097
|
-
/**
|
1098
|
-
* Moves hilite up. May hilite next or previous depending on orientation.
|
1099
|
-
* @return {boolean} True if successful.
|
1100
|
-
* @private
|
1101
|
-
*/
|
1102
|
-
goog.ui.AutoComplete.InputHandler.prototype.moveUp_ = function() {
|
1103
|
-
return this.upsideDown_ ? this.ac_.hiliteNext() : this.ac_.hilitePrev();
|
1104
|
-
};
|
1105
|
-
|
1106
|
-
|
1107
|
-
/**
|
1108
|
-
* Moves hilite down. May hilite next or previous depending on orientation.
|
1109
|
-
* @return {boolean} True if successful.
|
1110
|
-
* @private
|
1111
|
-
*/
|
1112
|
-
goog.ui.AutoComplete.InputHandler.prototype.moveDown_ = function() {
|
1113
|
-
return this.upsideDown_ ? this.ac_.hilitePrev() : this.ac_.hiliteNext();
|
1114
|
-
};
|
1115
|
-
|
1116
|
-
|
1117
|
-
/**
|
1118
|
-
* Parses a text area or input box for the currently highlighted token.
|
1119
|
-
* @return {string} Token to complete.
|
1120
|
-
* @private
|
1121
|
-
*/
|
1122
|
-
goog.ui.AutoComplete.InputHandler.prototype.parseToken_ = function() {
|
1123
|
-
var caret = this.getCursorPosition();
|
1124
|
-
var text = this.getValue();
|
1125
|
-
return this.trim_(this.splitInput_(text)[this.getTokenIndex_(text, caret)]);
|
1126
|
-
};
|
1127
|
-
|
1128
|
-
|
1129
|
-
/**
|
1130
|
-
* Trims a token of characters that we want to ignore
|
1131
|
-
* @param {string} text string to trim.
|
1132
|
-
* @return {string} Trimmed string.
|
1133
|
-
* @private
|
1134
|
-
*/
|
1135
|
-
goog.ui.AutoComplete.InputHandler.prototype.trim_ = function(text) {
|
1136
|
-
return this.trimmer_ ? String(text).replace(this.trimmer_, '') : text;
|
1137
|
-
};
|
1138
|
-
|
1139
|
-
|
1140
|
-
/**
|
1141
|
-
* Gets the index of the currently highlighted token
|
1142
|
-
* @param {string} text string to parse.
|
1143
|
-
* @param {number} caret Position of cursor in string.
|
1144
|
-
* @return {number} Index of token.
|
1145
|
-
* @private
|
1146
|
-
*/
|
1147
|
-
goog.ui.AutoComplete.InputHandler.prototype.getTokenIndex_ = function(text,
|
1148
|
-
caret) {
|
1149
|
-
// Split up the input string into multiple entries
|
1150
|
-
var entries = this.splitInput_(text);
|
1151
|
-
|
1152
|
-
// Short-circuit to select the last entry
|
1153
|
-
if (caret == text.length) return entries.length - 1;
|
1154
|
-
|
1155
|
-
// Calculate which of the entries the cursor is currently in
|
1156
|
-
var current = 0;
|
1157
|
-
for (var i = 0, pos = 0; i < entries.length && pos < caret; i++) {
|
1158
|
-
pos += entries[i].length;
|
1159
|
-
current = i;
|
1160
|
-
}
|
1161
|
-
|
1162
|
-
// Get the token for the current item
|
1163
|
-
return current;
|
1164
|
-
};
|
1165
|
-
|
1166
|
-
|
1167
|
-
/**
|
1168
|
-
* Splits an input string of text at the occurance of a character in
|
1169
|
-
* {@link goog.ui.AutoComplete.InputHandler.prototype.separators_} and creates
|
1170
|
-
* an array of tokens. Each token may contain additional whitespace and
|
1171
|
-
* formatting marks. If necessary use
|
1172
|
-
* {@link goog.ui.AutoComplete.InputHandler.prototype.trim_} to clean up the
|
1173
|
-
* entries.
|
1174
|
-
*
|
1175
|
-
* @param {string} text Input text.
|
1176
|
-
* @return {Array} Parsed array.
|
1177
|
-
* @private
|
1178
|
-
*/
|
1179
|
-
goog.ui.AutoComplete.InputHandler.prototype.splitInput_ = function(text) {
|
1180
|
-
if (!this.multi_) {
|
1181
|
-
return [text];
|
1182
|
-
}
|
1183
|
-
|
1184
|
-
var arr = String(text).split('');
|
1185
|
-
var parts = [];
|
1186
|
-
var cache = [];
|
1187
|
-
|
1188
|
-
for (var i = 0, inLiteral = false; i < arr.length; i++) {
|
1189
|
-
if (this.literals_ && this.literals_.indexOf(arr[i]) != -1) {
|
1190
|
-
if (this.generateNewTokenOnLiteral_ && !inLiteral) {
|
1191
|
-
parts.push(cache.join(''));
|
1192
|
-
cache.length = 0;
|
1193
|
-
}
|
1194
|
-
cache.push(arr[i]);
|
1195
|
-
inLiteral = !inLiteral;
|
1196
|
-
|
1197
|
-
} else if (!inLiteral && this.separators_.indexOf(arr[i]) != -1) {
|
1198
|
-
cache.push(arr[i]);
|
1199
|
-
parts.push(cache.join(''));
|
1200
|
-
cache.length = 0;
|
1201
|
-
|
1202
|
-
} else {
|
1203
|
-
cache.push(arr[i]);
|
1204
|
-
}
|
1205
|
-
}
|
1206
|
-
parts.push(cache.join(''));
|
1207
|
-
|
1208
|
-
return parts;
|
1209
|
-
};
|