Skip to content

Commit

Permalink
Corrected Opera Popups
Browse files Browse the repository at this point in the history
  • Loading branch information
Parashuram committed Jul 6, 2013
1 parent e49cbe6 commit 5e24865
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions Gruntfile.js
Expand Up @@ -50,6 +50,25 @@ module.exports = function(grunt) {
expand: true
}
]
},
opera: {
files: [{
cwd: 'extensions/opera',
src: '**',
dest: 'bin/opera/',
expand: true
}, {
cwd: 'core',
src: '**/*',
dest: 'bin/opera/core',
expand: true
}, {
cwd: 'lib',
src: '**',
dest: 'bin/opera/lib',
expand: true
}
]
}
},
watch: {
Expand All @@ -60,6 +79,10 @@ module.exports = function(grunt) {
firefox: {
files: ['extensions/firefox/**', 'core/**'],
tasks: ['copy:firefox']
},
opera: {
files: ['extensions/opera/**', 'core/**'],
tasks: ['copy:opera']
}
}
});
Expand All @@ -72,4 +95,6 @@ module.exports = function(grunt) {
grunt.registerTask('dev', ['clean', 'copy', 'connect', 'watch']);
grunt.registerTask('chrome', ['copy:chrome', 'connect', 'watch:chrome']);
grunt.registerTask('firefox', ['copy:firefox', 'connect', 'watch:firefox']);
grunt.registerTask('opera', ['copy:opera', 'connect', 'watch:opera']);

};
2 changes: 1 addition & 1 deletion extensions/opera/includes/injected.js
Expand Up @@ -42,7 +42,7 @@
"image": getImage,
"dependencies": loadDependencies,
"newWindow": function(config){
var n = window.open(config.url || undefined, config.name, config.specs);
var n = window.open("about:blank", config.name, config.specs);
if (!config.content) {
return;
}
Expand Down

0 comments on commit 5e24865

Please sign in to comment.