get rid of extra document line

This commit is contained in:
Bernhard Posselt 2013-05-26 18:07:08 +02:00
Родитель d443d4cf18
Коммит 3d5761ff93
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -96,10 +96,8 @@ Inside your script you have to make sure that the News app is active. You can do
(function ($, window, undefined) {
'use strict';
var document = window.document;
$(document).ready(function () {
$(window.document).ready(function () {
if ($('[ng-app="News"]').length > 0) {
// your code here