Skip to content

Commit 524bfa8

Browse files
committed
fix: fix conflicts
1 parent b790c97 commit 524bfa8

4 files changed

Lines changed: 0 additions & 32 deletions

File tree

1-js/01-getting-started/1-intro/article.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@
6464

6565

6666

67-
<<<<<<< HEAD
6867
## جاوا اِسکریپت در مرورگر چه توانایی‌هایی دارد ؟
69-
=======
70-
JavaScript's abilities in the browser are limited for the sake of a user's safety. The aim is to prevent an evil webpage from accessing private information or harming the user's data.
71-
>>>>>>> 6989312841d843f2350803ab552d9082437be569
7268

7369

7470

@@ -90,7 +86,6 @@ JavaScript's abilities in the browser are limited for the sake of a user's safet
9086

9187
- اِلِمان‌های HTML به صفحه اضافه نماید، محتوای فعلی را تغییر دهد و استایل‌ها را اصلاح کند.
9288

93-
<<<<<<< HEAD
9489
- با کابر در تعامل باشد، و نسبت به کلیک‌ها، فشردن دکمه‌ها و حرکت موس عکس‌العمل نشان دهد.
9590

9691
- درخواست‌ها مورد نظر را در سطح شبکه ارسال و دریافت کند، فایل آپلود و دانلود کند (که به این نوع تکنولوژی‌ها اصطلاحا [AJAX](https://en.wikipedia.org/wiki/Ajax_(programming)) و [COMET](https://en.wikipedia.org/wiki/Comet_(programming)) گفته می‌شود)
@@ -156,14 +151,6 @@ JavaScript's abilities in the browser are limited for the sake of a user's safet
156151
به همین دلیل جاوا اِسکریپت شایع‌ترین ابزار برای ساخت رابط‌های کاربری در مرورگر‌ها می‌باشد.
157152

158153

159-
=======
160-
```compare
161-
+ Full integration with HTML/CSS.
162-
+ Simple things are done simply.
163-
+ Supported by all major browsers and enabled by default.
164-
```
165-
JavaScript is the only browser technology that combines these three things.
166-
>>>>>>> 6989312841d843f2350803ab552d9082437be569
167154

168155
## زبان‌هایی فراتر از جاوا اِسکریپت
169156

@@ -204,9 +191,3 @@ JavaScript is the only browser technology that combines these three things.
204191
- زبان‌های مختلفی وجود دارند که به جاوا اِسکریپت تبدیل می‌شوند تا بتوانند ویژگی‌های مشخصی را فراهم کنند. که پیشنهاد می‌کنیم حداقل یکی از آنها را بعد از تسلط به جاوا اِسکریپت مطالعه نمائید.
205192

206193

207-
<<<<<<< HEAD
208-
=======
209-
- JavaScript was initially created as a browser-only language, but it is now used in many other environments as well.
210-
- Today, JavaScript has a unique position as the most widely-adopted browser language, fully integrated with HTML/CSS.
211-
- There are many languages that get "transpiled" to JavaScript and provide certain features. It is recommended to take a look at them, at least briefly, after mastering JavaScript.
212-
>>>>>>> 6989312841d843f2350803ab552d9082437be569

1-js/06-advanced-functions/10-bind/article.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,8 @@ let user = {
187187

188188
let say = user.say.bind(user);
189189

190-
<<<<<<< HEAD
191190
say("سلام"); // (پاس داده شد say آرگومان «سلام» به) !John ،سلام
192191
say("خداحافظ"); // (پاس داده شد say آرگومان «خداحافظ» به) !John ،خداحافظ
193-
=======
194-
say("Hello"); // Hello, John! ("Hello" argument is passed to say)
195-
say("Bye"); // Bye, John! ("Bye" is passed to say)
196-
>>>>>>> 6989312841d843f2350803ab552d9082437be569
197192
```
198193

199194
````smart header="روش راحت: `bindAll`"

1-js/13-modules/01-modules-intro/article.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,7 @@ sayHi(); // Ready to serve, *!*Pete*/!*!
261261
262262
اسکریپت ها از نوع ماژول نسبت به انواع معمولی آن تفاوت هایی مخصوص محیط مرورگر هم دارند.
263263
264-
<<<<<<< HEAD
265264
اگر این اولین بار است که این آموزش را می خوانید، یا از جاوااسکریپت در مرورگر استفاده نمی کنید، می توانید این بخش را رد کنید.
266-
=======
267-
You may want to skip this section for now if you're reading for the first time, or if you don't use JavaScript in a browser.
268-
>>>>>>> 6989312841d843f2350803ab552d9082437be569
269265
270266
### اسکریپت های ماژولی به تعویق افتاده اند. (deferred)
271267

2-ui/2-events/01-introduction-browser-events/article.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,7 @@ button.onclick = sayThanks;
160160
button.onclick = sayThanks();
161161
```
162162

163-
<<<<<<< HEAD
164163
اگر که ما پرانتزها را اضافه کنیم تابع `sayThanks()` صدا زده می‌شود. پس مورد دوم درواقع *خروجی* حاصل از اجرای تابع را، که `undefined` است (چون تابع چیزی را باز نمی‌گرداند)، به عنوان کنترل‌کننده به `onclick` اختصاص می‌دهد، که قاعدتا کار نمی‌کند.
165-
=======
166-
If we add parentheses, then `sayThanks()` becomes a function call. So the last line actually takes the *result* of the function execution, that is `undefined` (as the function returns nothing), and assigns it to `onclick`. That doesn't work.
167-
>>>>>>> 6989312841d843f2350803ab552d9082437be569
168164

169165
...از سوی دیگر، ما در کد HTML به پرانتز ها نیاز داریم:
170166

0 commit comments

Comments
 (0)