Check Your JavaScript with JSHint, a Fork of Douglas Crockford’s JSLint

first_imgTags:#hack#Tools Irish elaborates on the differences in a comment on Hacker News:JSLint has gotten increasingly more opinionated in the past few months.. For example, the standard for loop: `for (var i = 0, len = arr.length; i < len; i++) { ... ` will now error out in JSLint.A lot of these sorts of changes don’t have flags to customize, so that’s something that JSHint aims to fix. Start with some great defaults, and allow them to be customized. Heck, we even save your checkbox preferences for you (via localStorage).Crock’s responses to people asking for changes on the mailing list have also been a little disappointing:“Your sadly pathetic bleatings are harshing my mellow.” http://tech.groups.yahoo.com/group/jslint_com/message/1688On the github project, he’s refused CommonJS convention, NodeJS export support, and Rhino compat — all quite easy to do. So until Crock’s primary JSLint is a bit more friendly to customizability and different environments, JSHint will fulfill those needs.Update:Kovalyov has written a blog post explaining his motivations for the fork. Paul Irish and Anton Kovalyov have launched an online tool for checking your JavaScript code for errors and problems. JSHint aims to be more flexible and support more environments than JSLint, a similar tool created by Douglas Crockford. Regarding the difference between JSHint and JSLint the JSHint website says “The most important difference is that JSHint is developed and supported by the JavaScript developer community and not by one very opinionated person.” Growing Phone Scams: 5 Tips To Avoid How to Write a Welcome Email to New Employees? Why You Love Online Quizzes Related Posts klint finley 7 Types of Video that will Make a Massive Impac...last_img

Shivraj Singh faces protestsin Odisha

first_imgMassive protests by farmers and political activists groups greeted Madhya Pradesh Chief Minister Shivraj Singh Chouhan as he reached the western Odisha town of Bargarh to address a ‘Sabka Sath Sabka Vikas’ meeting on Saturday.Members of the Biju Janata Dal, Aam Aadmi Party and Paschim Odisha Krushak Sangathan Samanaya Samiti staged protests at different places and chanted ‘Shivraj Singh, go back’ and ‘Shivraj Singh, killer of farmers’. They were livid over the death of six farmers in M.P.’s Mandsaur.The Bargarh district police carried out preventive arrests by taking 183 persons into custody.Mr. Singh, however, dismissed the allegations.last_img

BJP youth leader to take on Cong. veteran

first_imgThe Bharatiya Janata Party has placed its bet on political greenhorn Bhanu Bhuria to throw a challenge for veteran Kantilal Bhuria in the Jhabua by-election, in a bid to halt the Congress waltz barely two steps away from a majority in the Madhya Pradesh Vidhan Sabha.The 10-month tenure of the Congress government has laid bare the party’s competing power centres, which were cobbled up for convenience to shore up the government the party secured after 15 years. And now, an implosion within the State unit seems impending. Farmer distress BJP’s Bhanu Bhuria, 36, plans to take on five-time MP and former Union Minister Kantilal Bhuria, 69, by raking up festering fault lines within the State Congress, farmer distress, shoddy flood relief and loan waiver in the State, ahead of the contest on October 21. “Despite being a tall leader, he couldn’t get any scheme for the region’s poor tribals when he was a Minister at the Centre and the State,” Mr. Bhanu, district president of the Bharatiya Janata Yuva Morcha, told The Hindu. The by-election became imminent after BJP MLA G.S. Damor wrested the Congress bastion of Ratlam in the Lok Sabha election. In both the Vidhan Sabha and the Lok Sabha elections, he embarrassed the Congress Bhurias — first Vikrant, and then father Kantilal. A win in the by-election could take the Congress just a step away from the majority mark of 116 in the 230-member House. Furthermore, it will help it ward off the persisting BJP offensive calling out its supposed minority in the Assembly. Mr. Damor’s resignation brought down the BJP’s tally to 108.“The youth have understood the Congress ploy of making false promises,” said Mr. Bhanu, whose sway in the Ranapur and Kalyanpur rural areas may help the BJP tide over the Congress stranglehold on villages. Recently, the BJP turned the campaign pitch shriller with Leader of the Opposition Gopal Bhargava terming by be-election a contest between India and Pakistan. Playing it safe, the BJP has dropped Bhopal MP Pragya Thakur from the list of star campaigners. And the Congress has stabled State Minister Umang Singhar and Jyotiraditya Scindia loyalists, although 40 leaders, including party interim president Sonia Gandhi and leader Rahul Gandhi and 10 State Ministers, are slated to lead the campaign trail. Mr. Singhar had earlier made the Congress nervous by accusing former Chief Minister Digvijaya Singh of trying to destabilise the State government. Despite his popularity among the Bhil tribe, Mr. Singhar has been given a short shrift. His aunt, Jamuna Devi, a former Deputy CM, galvanised tribals for the Congress. Meanwhile, Jai Adivasi Yuva Shakti, on organisation of tribal youth, has announced its support for the Congress. And even ticket expectant and former MLA Javier Medha has pledged support for Mr. Kantilal.last_img read more

Lava Iris Pro 30+ sports a 13MP camera, Rs 11,990 price tag

first_imgLava has added a new phone in its Iris series of devices. Thephone, Iris Pro 30+, is the successor of Iris Pro 30, which was launched in Januarythis year. It will go on sale from August 26 at a price of Rs 11,990. While itwill be available in all major offline and online stores, consumers buying itfrom Aamzon.in will get a 16GB microSD card free.The key feature of the Pro 30+ is 13-megapixel camera withdual-LED flash. The phone is also very compact. It features a 4.7-inch 720P screen,has a thickness of just 7.9mm and weighs 116 grams, making it one of the lightestand slimmest budget phones in the market.The device is powered by a 1.5Ghz quad-core processor and 1GBRAM. It will come with 16GB internal storage, 2000 mAh battery, support for upto 32GB microSD card and 3-megapixel front camera.The Pro 30+ runs two-year-old Android 4.2.2 Jelly Bean,which is rather unfortunate given the fact that the hardware looks good.We are pleased to take forward our proposition of We putthe Art in Smart for our Iris Pro series with the launch of Iris Pro 30+.Based on customer preferences backed by our research, we have introducedenhancements in camera, processor and internal memory to deliver an excellentexperience to the customers,” said Navin Chawla, vice president (product) at LavaInternational Limited.In the Indian market the Pro30+ will compete against deviceslike Motorola Moto G, Xiaomi Mi 3 and Asus Zenfone 5. While in terms ofhardware it matches the competition well, the older version of the Androidinside the Pro 30+ may put it in tough spot against the competitors that runAndroid 4.4 KitKat.advertisementlast_img read more