Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Patterns / Modal Dialog documentation page has errors

Đang mở Phù hợp với người mới
#676 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
68/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Mở trang tài liệu Patterns / Modal Dialog và kiểm tra đoạn hyperscript 

 được hiển thị, bắt đầu với lỗi tokenizer được báo cáo trong https://hyperscript.org/js/_hyperscript.js tại dòng 13, cột 0. Sửa ví dụ để lỗi unterminated-string biến mất, sau đó tải lại trang và xác nhận rằng lỗi trong console không còn xuất hiện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The modal dialog pattern page has an error

hyperscript errors were found on the following element:
<dialog _="
    on input from &lt;input,textarea/&gt; in me set :dirty to true
&lt;p&gt;on closeRequested
if :dirty
if confirm('Discard unsaved changes?')
set :dirty to false then close me
end
else
close me
end&lt;/p&gt;
&lt;p&gt;on click[target is me] send closeRequested to me
on cancel halt the event then send closeRequested to me
&quot;&gt;
&lt;div class=" modal-header"="" open="">
<h3>Edit Contact</h3>
<button _="on click send closeRequested to closest &lt;dialog/&gt;" data-hyperscript-powered="true">×</button>
</dialog> 
"

"
"Unterminated string at [Line: 13, Column: 0]"
"#consumeString@https://hyperscript.org/js/_hyperscript.js:551:24
#tokenize@https://hyperscript.org/js/_hyperscript.js:602:48
#initElement@https://hyperscript.org/js/_hyperscript.js:2799:46
@https://hyperscript.org/js/_hyperscript.js:2888:28
forEach@https://hyperscript.org/js/_hyperscript.js:2558:15
processNode@https://hyperscript.org/js/_hyperscript.js:2887:21
@https://hyperscript.org/js/_hyperscript.js:10392:29"
Image
Ngôn ngữ chính
JavaScript
Star
3.8k
Fork
171
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bigskysoftware/_hyperscript

Tất cả issue của bigskysoftware/_hyperscript

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.