h3 / jquery-utils

Automatically exported from code.google.com/p/jquery-utils
MIT License
0 stars 0 forks source link

jquery-utils - string: error in IE 8 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have an error on IE8 at this line:

__pad: function(str, l, s, t){

Message: Expected '}'

It's ok with your online sample so I think the bug come from your latest
package.

Any idea ? Thx! Your plugin is really great.

Pv

Original issue reported on code.google.com by pvledoux on 22 May 2009 at 10:01

GoogleCodeExporter commented 9 years ago
Remove the line above it...

//@ http://jsfromhell.com/string/pad [v1.0]

...and it works perfectly! :)

Original comment by richardp...@gmail.com on 29 Sep 2009 at 3:41

GoogleCodeExporter commented 9 years ago
It's fixed and committed ... can somebody explain me how a JavaScript comment 
can
break actual code .. WTF.

Original comment by hainea...@gmail.com on 29 Sep 2009 at 3:47

GoogleCodeExporter commented 9 years ago
It appears that this fix didn't make it into the dist files, and I couldn't get 
the 
build system to work (output below).  You might want to build and recommit.

C:\Documents and Settings\Administrator\Desktop\jquery-utils-read-only>build.py
-o timepickr -o uitimepickr
Error: YAML - cannot read file: .\build.yml
Exception RuntimeError: 'generator ignored GeneratorExit' in <generator object g
et_builds at 0x00CE2E68> ignored
Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Desktop\jquery-utils-read-only\b
uild.py", line 250, in <module>
    make(build, options)
  File "C:\Documents and Settings\Administrator\Desktop\jquery-utils-read-only\b
uild.py", line 165, in make
    version = 'v%s (r%s)' % (build['version'], get_svn_rev())
  File "C:\Documents and Settings\Administrator\Desktop\jquery-utils-read-only\b
uild.py", line 50, in get_svn_rev
    return o[4][10:-1]
IndexError: list index out of range

Original comment by aggie...@gmail.com on 28 Oct 2009 at 7:38