File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,13 +97,13 @@ Or, 🌐 via CDN: `<script src="https://cdn.jsdelivr.net/gh/gnat/surreal@main/su
9797
9898* ♻️ All functions work on single elements or arrays of elements.
9999* 🔗 Start a chain using ` me() ` and ` any() `
100- * 🟢 Style A ` me().classAdd('red') ` ⭐ Chain style. Recommended!
101- * 🟠 Style B: ` classAdd(me(), 'red') `
100+ * 🟢 Style A: ` me().classAdd('red') ` ⭐ Recommended! Chain style.
101+ * 🔵 Style B: ` classAdd(me(), 'red') `
102102* 🌐 Global conveniences help you write less code.
103- * ` globalsAdd() ` will automatically warn you of any clobbering issues!
104- * 💀🩸 If you want no conveniences, or are a masochist , delete ` globalsAdd() `
105- * 🟢 ` me().classAdd('red') ` becomes ` surreal.me().classAdd('red') `
106- * 🟠 ` classAdd(me(), 'red') ` becomes ` surreal.classAdd(surreal.me(), 'red') `
103+ * ` globalsAdd() ` will automatically warn you of any clobbering issues.
104+ * If you do not want global conveniences , delete ` globalsAdd() `
105+ * 🟠 Style C: ` surreal.me().classAdd('red') `
106+ * 🟡 Style D: ` surreal.classAdd(surreal.me(), 'red') `
107107
108108See: [ Quick Start] ( #quick-start ) and [ Reference] ( #reference ) and [ No Surreal Needed] ( #no-surreal )
109109
You can’t perform that action at this time.
0 commit comments