'remove'에 해당되는 글 3건

  1. 2020.05.25 [Javascript] JQuery @(at) 처리 문제.
  2. 2018.07.24 [GIT] git submodule 삭제 하기
  3. 2011.12.13 [해커스매일실정VOCA] 12월 13일

[Javascript] JQuery @(at) 처리 문제.

ITWeb/개발일반 2020. 5. 25. 12:19

$('#@id').removeClass('new').addClass('old');

 

여기서 @ 때문에 jquery 내부에서 오류가 발생을 합니다.

이럴 경우 DOM 을 직접 컨트롤 해주셔서 해결 하시면 됩니다.

 

var policyId = 'result' + policyName;

var el = document.getElementById(policyId);

 

el.classList.remove('new');

el.classList.add('old');

:

[GIT] git submodule 삭제 하기

ITWeb/개발일반 2018. 7. 24. 07:44

이것도 복습 차원에서 정리해 봅니다.


Step 1)

  helloworld project root 로 이동 합니다.

  $ cd helloworld

 

Step 2)

  .gitmodules 를 열어서 삭제할 모듈을 지워 줍니다.

  helloworld$ vi .gitmodules

 

Step 3)

  삭제 하고자 하는 submodule 의 cache 를 삭제 합니다.

  helloworld$ git rm --cached hi-module

   

  아래와 같은 에러는 무시 하시거나 아래 명령 실행 후 위 명령어를 실행 합니다.

  $ git submodule deinit <path_to_submodule>

   

  fatal: Please stage your changes to .gitmodules or stash them to proceed

 

Step 4)

  .git 내 남아 있는 submodule 을 삭제 합니다.

  helloworld$ rm -rf .git/modules/hi-module

   

Step 5)

  해당 프로젝트에서 submodule 을 추가 한 것을 삭제 합니다.

  remove module (into intellij project)

   

Step 6)

  최종 submodule 을 삭제 합니다.

  helloworld$ rm -rf hi-module

   

Step 7)

  commit & push 합니다.

  helloworld$ git commit -m 'remove submodules'

  helloworld$ git push


:

[해커스매일실정VOCA] 12월 13일

Legacy 2011. 12. 13. 16:35
오늘의 학습

1. David will visit L.A. in the near future.

가까운 미래


2. Technicians removed some papers from the safe.

치우다


3. We have to find a safe port some where between here and there.

항구

 
: