11cb0ef41Sopenharmony_ciwcwidth.js: JavaScript Portng of Markus Kuhn's wcwidth() Implementation 21cb0ef41Sopenharmony_ci======================================================================= 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ciCopyright (C) 2012 by Jun Woong. 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_ciThis package is a JavaScript porting of `wcwidth()` implementation 71cb0ef41Sopenharmony_ci[by Markus Kuhn](http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c). 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a copy of 101cb0ef41Sopenharmony_cithis software and associated documentation files (the "Software"), to deal in 111cb0ef41Sopenharmony_cithe Software without restriction, including without limitation the rights to 121cb0ef41Sopenharmony_ciuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 131cb0ef41Sopenharmony_ciof the Software, and to permit persons to whom the Software is furnished to do 141cb0ef41Sopenharmony_ciso, subject to the following conditions: 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ciThe above copyright notice and this permission notice shall be included in all 171cb0ef41Sopenharmony_cicopies or substantial portions of the Software. 181cb0ef41Sopenharmony_ci 191cb0ef41Sopenharmony_ci 201cb0ef41Sopenharmony_ciTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 211cb0ef41Sopenharmony_ciINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 221cb0ef41Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 231cb0ef41Sopenharmony_ciOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 241cb0ef41Sopenharmony_ciEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 251cb0ef41Sopenharmony_ciPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 261cb0ef41Sopenharmony_ciBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 271cb0ef41Sopenharmony_ciIN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281cb0ef41Sopenharmony_ciARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291cb0ef41Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGE. 301cb0ef41Sopenharmony_ci 31