Changeset 19024 for lang/ruby

Show
Ignore:
Timestamp:
09/09/08 02:03:24 (2 months ago)
Author:
drry
Message:
  • fixed a regexp.
  • et cetera.
Location:
lang/ruby/yakaruki/trunk/public
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/yakaruki/trunk/public/index.cgi

    r13796 r19024  
    1010  require "yakaruki/main" 
    1111  base_path = open(".htaccess") do |fp| 
    12     fp.read =~ /^RewriteBase\s+(.+)$/ 
     12    fp.read =~ /^\s*RewriteBase\s+(.+)$/ 
    1313    $1 
    1414  end 
  • lang/ruby/yakaruki/trunk/public/javascripts/page.js

    r13818 r19024  
    1717 
    1818function resetForm() { 
    19     $("#pageForm textarea").data("isDirty", false) 
     19    $("#pageForm textarea").data("isDirty", false); 
    2020    $("#preview").html($("#content").html()); 
    2121    $.get(basePath + query + ".hiki", null, function(data) {