Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Niet gebruikte code verwijderen #1

Closed
soraya2 opened this issue Feb 10, 2017 · 0 comments
Closed

Niet gebruikte code verwijderen #1

soraya2 opened this issue Feb 10, 2017 · 0 comments

Comments

@soraya2
Copy link

soraya2 commented Feb 10, 2017

Dit is voor de js lint plugin in je editor dus deze regel kan je verwijderen als je het online zet.
jslint browser: true, devel: true, eqeq: true, plusplus: true, sloppy: true, vars: true, white: true

Deze code wordt helemaal niet gebruikt dus je kan deze het beste verwijderen uit je code.
//(function(){
//
//var app = {
// init: function(){
// routes.init();
// console.log("routes init starten");
// }
//};
//
//var routes = {
// init: function(){
// window.addEventListener("hashchange", function()
// {
// console.log("dit is m");
// });
// console.log("test13");
// }
//};
//
//var sections = {
// toggle: function(route){
// route = console.log("test2");
// }
//};
//
//app.init();
//
//}());
// var sections = {
// toggle: function(route/* this is location.hash */) {
// var sections = document.querySelectorAll('main section');
// for (i=0; i<sections.length; i++){
// console.log(route);
// }

@GiuliaM GiuliaM closed this as completed Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants