Comments (4)
두가지 부분을 확인해 보시기 바랍니다.
- ajaxForm은 jQuery Plugin이므로 jQuery가 로드되고 나서 로드되어야 합니다. 따라서 app-container.js를 수정하실 때, path 추가 뿐 아니라 shim 에서 deps 에 jquery를 추가해야 합니다. bootstrap 부분을 따라하시면 되겠습니다.
- add.js 에서 define 할 때 'jquery' 가 빠져있지 않은지 확인해 보시기 바랍니다.
from cornerstone-framework.
매번 감사드립니다.
1번의 "path 추가 뿐 아니라 shim 에서 deps 에 jquery를 추가"가 무슨 뜻인지요.
2번은 define 전체 내용입니다.
define([ 'model/user', 'backbone', 'jquery', 'form-view', 'view/alert-validation', 'template!tmpl/add', 'ajaxForm', 'widget-plugins', ], function( User, Backbone, $, FormView, AlertValidationView, template ) {
from cornerstone-framework.
app-container.js 를 수정하실 때 paths 속성에 ajaxForm을 추가하신것 아닌가요? paths 속성 다음에 보면 shim 속성이 있는데 여기서 모듈간 의존성을 설정합니다. 'ajaxForm': { deps: [ 'jquery' ] } 을 추가해 주시면 됩니다.
from cornerstone-framework.
감사합니다.
from cornerstone-framework.
Related Issues (17)
- 오오, 짜릿한데요. 1빠 HOT 1
- 모바일 브라우저 지원 문의 HOT 1
- 실제 개발에 적용 해 보려 합니다. HOT 2
- 안정성 검증 결과 공유 부탁드립니다. HOT 1
- 권한 요청 HOT 2
- 공모전을 위해 살펴보니 ... HOT 3
- Android Runtime을 이용한 이클립스 설정 및 폴더구조를 알고자 합니다. HOT 1
- eclipse에서 코너스톤 프레임워크사용할때 질문드립니다. HOT 1
- 서버 데이타 가져오는 collection 예제를 부탁합니다. HOT 1
- backbone, jquery, underscore 등 전역적으로 사용하는 것들은 backbone 에서 그냥 사용할 수 있게 할 수 없나요? HOT 1
- ajaxForm 으로 파일업로드를 하려고 하는데요. HOT 5
- var model = this.formView.toModel(); 이 부분에서 checkout 값이 사라집니다. HOT 1
- test-mvc 샘플 detail.js 에 삭제확인을 넣었는데, 삭제확인이 중복됩니다. HOT 2
- 카메라 플래쉬도 제어 할 수 있나요? HOT 2
- example/cornerstone-pinterest 에서 handlebars-1.0.0.beta.6.js 을 찾는데요 HOT 2
- npm install cornerstone-cli 설치가 올바르게 되지 않는 이슈 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cornerstone-framework.