@junnyontop-pixel/neo-app 2.6.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/main.js +1 -0
- package/index.html +1 -2
- package/package.json +1 -1
- package/src/{state.js → store.js} +5 -3
- package/src/actions.js +0 -3
package/compiler/main.js
CHANGED
package/index.html
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const Store = {
|
|
2
2
|
// 1. 유저 정보 ($Store.user.name)
|
|
3
3
|
user: {
|
|
4
|
-
name: "
|
|
4
|
+
name: "Neo"
|
|
5
5
|
},
|
|
6
6
|
|
|
7
7
|
// 2. 할 일 목록 (::for(todo in Store.todoList) 에서 쓰임)
|
|
8
8
|
todoList: [
|
|
9
9
|
{ text: "Neo 프레임워크 v2.6.0 파서 완성", completed: true },
|
|
10
10
|
{ text: "::for 루프 데이터 바인딩 로직 구현", completed: false },
|
|
11
|
-
{ text: "
|
|
11
|
+
{ text: "할 일 추가 기능 구현", completed: false }
|
|
12
12
|
],
|
|
13
13
|
|
|
14
14
|
// 3. 할 일을 추가하는 기능 (나중에 버튼 만들면 쓸 수 있게!)
|
|
@@ -26,4 +26,6 @@ export const Store = {
|
|
|
26
26
|
window.__neoRender();
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
};
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
window.Store = Store; // 전역에서 Store 접근 가능하도록
|
package/src/actions.js
DELETED